多平台统一管理软件接口,如何实现多平台统一管理软件接口
404
2022-09-11
网络基础 港湾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):即为以上两种的综合
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~