港湾FlexHammer5010交换机镜像端口配置

by:授客 QQ1033553122

1.登陆港湾交换机FlexHammer5010交换机

方法:

telent 交换机ip

输入用户名

输入用户密码

列子:

telnet 10.5.0.248

HammerOS Version 1.3(Build 0036) on FlexHammer5010.

Login: admin

Password:

Harbour>

2.查看帮助

方法:输入 ? 号,回车

说明:问号的输入是不回显的

例子:

Harbour>

clear     Clear screen

enable    Turn on privileged mode command(开启特权命令模式)

exit      Exit current mode and down to previous mode

help      Description of the interactive help system

list      Print command list

logout    Disconnect from switch and quit

ping      Ping command to test if the net is correct

quit      Disconnect from switch and quit

show      Show running system information(显示运行系统信息)

telnet    Telnet to other host or switch(Telnet到其它主机或交换机)

terminal  Set terminal line parameters

who       Display who is connected to the switch

3.显示端口镜像情况

方法:show mirroring

例子:

Harbour> show mirroring

Mirroring information:

The port which mirror to    : 26.

The ports which egress traffic mirror from : 7.

The ports which ingress traffic mirror from : 7.

4.开启特权命令模式

方法:

Harbour>enable

输入管理员密码

例子:

Harbour> enable

Password:

Harbour(config)#

5.显示交换机活动的配置文件,包括交换机名称、密码、接口配置情况及辅助端口的配置等

Harbour(config)# show running-config

!HammerOS system config file

!Syslog config

!

!Port config

config mirroring 1 to 26

config mirroring 1 add port 7 egress

config mirroring 1 add port 7 ingress

!

!vlan config

config vlan default ipaddress 10.5.0.248 255.255.0.0

!

!fdb entry config

!

!Acl config

!

!Qos config

!

!Dscp config

!

!Tos config

!

!Bandwidth config

!

!Traceroute config

!

!Stpd config

config stpd default disable

config stpd default hellotime 1

!

!Rstp config

!

!Loop detect config

!

!Rate control config

!Route-policy rules config

!

!Rip config

!

!Ospf config

!

!Interface config

!

!Static routes config

ip route 0.0.0.0/0 10.4.0.1

ip route 0.0.0.0/0 10.5.0.1

!

!Igmp snooping

!

!Arp config

!

!DHCP relay config

!

!Sntp config

!

!Timezone config

!

!Dot1x config

!

!Port bind config

!

!RADIUS client config

!

!User manage config

user add admin login-password 1838f7d41567d4c7c6539b4172a809f5

user role admin ADMIN enable-password 1838f7d41567d4c7c6539b4172a809f5

!

!SNMP config

config snmp community readonly sinetpublic

config snmp community readwrite sinetdev

service snmp enable

!

!

!H.Link config

!

!Network access-control service config

!

!vstack cluster config

!

!End of config

Harbour(config)#

!Acl config

!

!Qos config

!

!Dscp config

!

!Tos config

!

!Bandwidth config

!

!Traceroute config

!

!Stpd config

config stpd default disable

config stpd default hellotime 1

!

!Rstp config

!

!Loop detect config

!

!Rate control config

!Route-policy rules config

!

!Rip config

!

!Ospf config

!

!Interface config

!

!Static routes config

ip route 0.0.0.0/0 10.4.0.1

ip route 0.0.0.0/0 10.5.0.1

!

!Igmp snooping

!

!Arp config

!

!DHCP relay config

!

!Sntp config

!

!Timezone config

!

!Dot1x config

!

!Port bind config

!

!RADIUS client config

!

!User manage config

user add admin login-password 1838f7d41567d4c7c6539b4172a809f5

user role admin ADMIN enable-password 1838f7d41567d4c7c6539b4172a809f5

!

!SNMP config

config snmp community readonly sinetpublic

config snmp community readwrite sinetdev

service snmp enable

!

!

!H.Link config

!

!Network access-control service config

!

!vstack cluster config

!

!End of config

Harbour(config)#

说明:

!Port config

config mirroring 1 to 26 #启用镜像组1,选择端口26作为镜像目的端口

config mirroring 1 add port 7 egress #把端口7作为镜像源端口发送数据,把流量复制给目的端口[监控端口]

config mirroring 1 add port 7 ingress #把端口7作为镜像源端口接收进来的数据,把流量复制给目的端口[监控端口]

6.设置端口镜像

说明:交换机把某一端口接收或发送的数据帧完全相同的复制给另一端口,其中被复制的端口称为镜像源端口,复制到端口称为镜像目的端口,也称监控端口

6.1添加镜像源端口

例子:

Harbour(config)# config mirroring 1 add port 7 egress

Harbour(config)# config mirroring 1 add port 7 ingress

6.2删除镜像源端口2345

例子:

Harbour(config)# config mirroring 1 delete port 2,3,4,5 egress

Harbour(config)# config mirroring 1 delete port 2,3,4,5 ingress

说明:

第一:输入数据流(Ingress SPAN):指源端口接收进来,其数据副本发送至目的端口的数据流

第二:输出数据流(Egress SPAN):指源端口发送出去,其数据副本发送至目的端口的数据流

第三:双向数据流(Both SPAN):即为以上两种的综合

网络基础 港湾FlexHammer5010交换机镜像端口配置的更多相关文章

  1. 交换机Trunk端口配置

    本文为转发,简单明了,我喜欢. Trunk端口的配置步骤如下: 一 组网需求: 1.SwitchA与SwitchB用trunk互连,相同VLAN的PC之间可以互访,不同VLAN的PC之间禁止互访: 2 ...

  2. 网络基础 Windows下安装和配置net-snmp 代理

    Windows 下安装和配置net-snmp 代理[摘录] by:授客 QQ:1033553122   A.   安装  1.   安装前准备 ActivePerl-5.10.0.1004-MSWin ...

  3. Linux系统学习 六、网络基础—Linux的IP地址的配置

    1.ifconfig命令临时配置IP地址 2.setup工具永久配置IP地址 3.修改网络配置文件 4.图形界面配置IP地址 ifconfig命令临时配置IP地址 主要的作用是查看网络信息,也可以临时 ...

  4. H3C交换机配置镜像端口

    配置步骤 进入配置模式:system-view: 创建本地镜像组:mirroring-group 1 local 为镜像组配置源端口:mirroring-group 1 mirroring-port ...

  5. 华为交换机S5700系列配置镜像端口(M:N)

    配置本地端口镜像组网图(M:N) 组网需求 如图所示,某公司研发一部.研发二部和市场部通过Switch与外部Internet通信,监控设备Server1.Server2与Switch直连. 现在希望将 ...

  6. 华为交换机S5700系列配置镜像端口(1:1)

    配置本地镜像口(1:1) 组网需求 如图一所示,某公司行政部通过Switch与外部Internet通信,监控设备Server与Switch直连. 现在希望通过Server对行政部访问Internet的 ...

  7. 网络基础二 tcp/ip协议簇 端口 三次握手 四次挥手 11种状态集

    第1章 概念介绍 1.1 VLAN 1.1.1 什么是VLAN VLAN(Virtual LAN),翻译成中文是“虚拟局域网”.LAN可以是由少数几台家用计算机构成的网络,也可以是数以百计的计算机构成 ...

  8. 网络基础一 交换机 路由器 OSI7层模型

    第1章 网络基础 1.1 网络的出现 解决计算机通讯的需求 实现计算机信息可以传递 1.2 主机之间实现通讯基本要求(三要素) ①. 需要在两台主机之间建立物理连接,物理连接的方式有网线 光纤线 wi ...

  9. 网络基础-交换机、路由器、OSI7层模型

    第1章 网络基础 1.1 网络的诞生 网络的诞生使命:通过各种互联网服务提升全球人类生活品质. 让人类的生活更便捷和丰富,从而促进全球人类社会的进步.并且丰富人类的精神世界和物质世界,让人类最便捷地获 ...

随机推荐

  1. C# 获取所有对象的字符串表示一ToString方法

    应用程序开发过程中经常需要获取对象的字符串表示.Object类中定义了一个ToString的虚方法.所以在任何类型的实例上都能调用该方法. C#中几乎所有的类型都派生自Object,所以如果当前类型没 ...

  2. 帝国CMS-后台管理工具

    后台管理工具 apache+mysql 搭建的后台管理工具 参考手册*************http://www.phome.net/doc/ecmsedu/ 1.安装----- 使用的一键安装包. ...

  3. 使用java调用fastDFS客户端进行静态资源文件上传

    一.背景 上篇博客我介绍了FastDFS的概念.原理以及安装步骤,这篇文章我们来聊一聊如何在java中使用FastDFSClient进行静态资源的上传. 二.使用步骤 1.开发环境 spring+sp ...

  4. Python -- 多媒体编程 -- 音乐播放

    使用win32库的WMPlayer.OCX开发一个简易的音乐播放器 import sys from PyQt4 import QtGui, QtCore from win32com.client im ...

  5. 27-hadoop-hbase安装

    hbase的安装分为单机模式和完全分布式 单机模式 单机模式的安装很简单, 需要注意hbase自己内置一个zookeeper, 如果使用单机模式, 那么该机器的zookeepr不可以启动 1, 添加j ...

  6. filebeat-1-连通logstash

    类似flume, 但功能更为强大 Filebeat是一个日志文件托运工具,在你的服务器上安装客户端后,filebeat会监控日志目录或者指定的日志文件,追踪读取这些文件(追踪文件的变化,不停的读),并 ...

  7. mac 安装 python mysqlclient 遇到的问题及解决方法

    在 mac 上安装 mysqlclient 遇到了一些问题,查找资料很多人都遇到了同样的问题.通过资料和试验,成功了.这里记录一下,希望帮到遇到同样问题的人. 本人使用python3, 安装步骤如下: ...

  8. MQ5.3在redhat9上的安装

    一.准备工作 1.安装linux软件包 确保系统中有libgcc_s.so和libstdc++.so.3. 如无意外,libgcc_s.so在redhat中已经存在,存放路径为:/usr/lib/gc ...

  9. 【Leetcode】292. Nim游戏

    题目链接:https://leetcode-cn.com/problems/nim-game/description/ 您和您的朋友,两个人一起玩 Nim游戏:桌子上有一堆石头,每次你们轮流拿掉 1  ...

  10. 【angular5项目积累总结】结合adal4实现http拦截器(token)

    import { Injectable } from '@angular/core'; import { HttpEvent, HttpInterceptor, HttpHandler, HttpRe ...