网络基础 港湾FlexHammer5010交换机镜像端口配置
港湾FlexHammer5010交换机镜像端口配置
by:授客 QQ:1033553122
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删除镜像源端口2,3,4,5
例子:
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交换机镜像端口配置的更多相关文章
- 交换机Trunk端口配置
本文为转发,简单明了,我喜欢. Trunk端口的配置步骤如下: 一 组网需求: 1.SwitchA与SwitchB用trunk互连,相同VLAN的PC之间可以互访,不同VLAN的PC之间禁止互访: 2 ...
- 网络基础 Windows下安装和配置net-snmp 代理
Windows 下安装和配置net-snmp 代理[摘录] by:授客 QQ:1033553122 A. 安装 1. 安装前准备 ActivePerl-5.10.0.1004-MSWin ...
- Linux系统学习 六、网络基础—Linux的IP地址的配置
1.ifconfig命令临时配置IP地址 2.setup工具永久配置IP地址 3.修改网络配置文件 4.图形界面配置IP地址 ifconfig命令临时配置IP地址 主要的作用是查看网络信息,也可以临时 ...
- H3C交换机配置镜像端口
配置步骤 进入配置模式:system-view: 创建本地镜像组:mirroring-group 1 local 为镜像组配置源端口:mirroring-group 1 mirroring-port ...
- 华为交换机S5700系列配置镜像端口(M:N)
配置本地端口镜像组网图(M:N) 组网需求 如图所示,某公司研发一部.研发二部和市场部通过Switch与外部Internet通信,监控设备Server1.Server2与Switch直连. 现在希望将 ...
- 华为交换机S5700系列配置镜像端口(1:1)
配置本地镜像口(1:1) 组网需求 如图一所示,某公司行政部通过Switch与外部Internet通信,监控设备Server与Switch直连. 现在希望通过Server对行政部访问Internet的 ...
- 网络基础二 tcp/ip协议簇 端口 三次握手 四次挥手 11种状态集
第1章 概念介绍 1.1 VLAN 1.1.1 什么是VLAN VLAN(Virtual LAN),翻译成中文是“虚拟局域网”.LAN可以是由少数几台家用计算机构成的网络,也可以是数以百计的计算机构成 ...
- 网络基础一 交换机 路由器 OSI7层模型
第1章 网络基础 1.1 网络的出现 解决计算机通讯的需求 实现计算机信息可以传递 1.2 主机之间实现通讯基本要求(三要素) ①. 需要在两台主机之间建立物理连接,物理连接的方式有网线 光纤线 wi ...
- 网络基础-交换机、路由器、OSI7层模型
第1章 网络基础 1.1 网络的诞生 网络的诞生使命:通过各种互联网服务提升全球人类生活品质. 让人类的生活更便捷和丰富,从而促进全球人类社会的进步.并且丰富人类的精神世界和物质世界,让人类最便捷地获 ...
随机推荐
- log4j UdpAppender
package cappender;import org.apache.log4j.AppenderSkeleton;import org.apache.log4j.Layout;import org ...
- vue教程1-04 事件 v-on:click="函数"
vue教程1-04 事件 v-on:click="函数" v-on:click/mouseout/mouseover/dblclick/mousedown..... 实例:为d ...
- python中文画图显示乱码解决办法
最近使用notebook Python中的matplotlib作图,发现中文设置的坐标标签和title都显示为乱码,用了网上的许多教程都不管用,嘴后解决的方式是设置下述的两行即可搞定: plt.rcP ...
- Java运行时,指定程序文件的编码
在命令行cmd里面运行 java -jar test.jar的时候,发现里面执行的汉字发生乱码.原来指定的是UTF-8. 解决如下: java -Dfile.encoding=UTF-8 -jar - ...
- 扩容swap空间
添加swap空间 适用场景: 安装系统时未分区swap,完成安装后又需使用swap的 swap空间不足,需要扩容 解决方法: 一.添加磁盘作为swap使用 添加磁盘 [root@test ~]# fd ...
- 复刻smartbits的国产网络测试工具minismb-网络连接数测试方法
复刻smartbits的网路性能测试工具MiniSMB,是一款专门用于测试智能路由器,网络交换机的性能和稳定性的软硬件相结合的工具.可以通过此工具测试任何ip网络设备的端口吞吐率,带宽,并发连接数和最 ...
- 数据结构与算法(周鹏-未出版)-第六章 树-6.5 Huffman 树
6.5 Huffman 树 Huffman 树又称最优树,可以用来构造最优编码,用于信息传输.数据压缩等方面,是一类有着广泛应用的二叉树. 6.5.1 二叉编码树 在计算机系统中,符号数据在处理之前首 ...
- git命令小记
1.git之tag git标签分为轻量级(lightweight)标签和含标注(annotated)标签.轻量级标签一般用于不会改变的分支,含标注的标签包含详细的信息. 轻量级标签: git tag ...
- tcp/ip通信中ip头部结构iph->check校验计算
通过raw socket修改通信数据后,可通过该函数重新校验计算iph->check值 在http://www.cnblogs.com/dpf-10/p/7899237.html查看实际调用 s ...
- C#图片文字识别
图片识别的技术到几天已经很成熟了,只是相关的资料很少,为了方便在此汇总一下(C#实现),方便需要的朋友查阅,也给自己做个记号. 图片识别的用途:很多人用它去破解网站的验证码,用于达到自动刷票或者是批量 ...