网络基础 港湾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 网络的诞生 网络的诞生使命:通过各种互联网服务提升全球人类生活品质. 让人类的生活更便捷和丰富,从而促进全球人类社会的进步.并且丰富人类的精神世界和物质世界,让人类最便捷地获 ...
随机推荐
- [Umbraco] 自定义DataType中Data Editor Setting Type
上一篇介绍了在定义Document Type中的属性时用到的Data Type,当使用dropdown list如何调用外部数据源,可以根据提供的数据连接字符串,sql语句就能实现你想要显示的数据. ...
- Android 开发服务类 05_ ApkPatchDemo
APP 增量更新服务端[https://github.com/cundong/SmartAppUpdates] import com.cundong.common.Constants; import ...
- 全网最详细的Windows系统里Oracle 11g R2 Database(64bit)安装后的初步使用(图文详解)
不多说,直接上干货! 前期博客 全网最详细的Windows系统里Oracle 11g R2 Database(64bit)的下载与安装(图文详解) 命令行方式测试安装是否成功 1) 打开服务(cm ...
- mpvue使用scroll-view实现图片横向滑动
html代码 <div class="swiper-home"> <scroll-view scroll-x="true" style=&qu ...
- spec 文件详解
转自http://blog.sina.com.cn/s/blog_43b39e250100nnu4.html rpm软件包系统的标准分组:/usr/share/doc/rpm-4.3.3/GROUPS ...
- Undo日志文件的产生和使用
Undo 日志 比如A有200块钱, B有50 块钱,现在A要给B转100块” . (1) 开始事务 T1 (假设T1是个事务的内部编号) (2) A余额 = A余额 -100 (3) B余额 ...
- Golang 接口interface
接口interface 接口是一个或多个方法签名的集合 只要某个类型拥有该接口的所有方法签名,即算实现该接口,无需显示声明实现了哪个接口,这成为Structural Typing 接口只有方法声明,没 ...
- Tomcat专题
1. 修改端口 tomcat-7.0.70/conf/server.xml <Connector port=" protocol="HTTP/1.1"
- Iframe 父页面自动获取子页面的高度
<iframe id="mainweb" name="mainweb" src="http://www.baidu.com/" bor ...
- C# fileUpload视频上传
要实现大文件上传必须配置webConfig例如: <system.web> <compilation debug="true" targetFramework=& ...