网络基础 港湾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 网络的诞生 网络的诞生使命:通过各种互联网服务提升全球人类生活品质. 让人类的生活更便捷和丰富,从而促进全球人类社会的进步.并且丰富人类的精神世界和物质世界,让人类最便捷地获 ...
随机推荐
- odoo开发笔记 -- 用户配置界面如何增加模块访问权限
在odoo设置界面,点击用户,进入用户配置界面,会看到: 访问权 | 个人资料菜单 在访问权 page菜单界面,可以看到系统预制的一些模块都会显示在这里, 那么,我们自己开发的模块如何显示在这块呢,从 ...
- Docker 镜像安装 GitLab 中文社区版
docker run \ --detach \ --publish : \ --publish : \ --name gitlab \ --restart unless-stopped \ --vol ...
- 关于配置 TeamCity 清理历史 artifacts 问题
使用 CI 一段时间后,artifacts 占用的磁盘会很大,可以配置保留多少天的 artifacts,具体如下: Administration Click the Edit link for any ...
- Mybatis 事务管理和缓存机制
一级缓存--SqlSession级别 数据库表tb_user User package com.example.demo.domain; public class User { private Int ...
- mysql 主键和唯一索引的区别
主键是一种约束,唯一索引是一种索引,两者在本质上是不同的. 主键创建后一定包含一个唯一性索引,唯一性索引并不一定就是主键. 唯一性索引列允许空值,而主键列不允许为空值. 主键列在创建时,已经默认为非空 ...
- Java队列——线程池创建的例子
线程池为线程生命周期开销问题和资源不足问题提供了解决方案.通过对多个任务重用线程,线程创建的开销被分摊到了多个任务上.其好处是,因为在请求到达时线程已经存在,所以无意中也消除了线程创建所带来的延迟.这 ...
- JavaScript核心基础语法
1 什么是JavaScript? 是一种嵌入在网页中的程序段. 是一种解释型语言,被浏览器解释执行. 由Netscape发明,ECMA(欧洲计算机制造商协会)将其标准化. JavaScript借用了J ...
- windows环境下搭建Java开发环境(二):Tomcat安装和配置
一.资源下载 官网:http://tomcat.apache.org/ 本人安装的是Tomcat8.5,安装包百度云资源:链接:https://pan.baidu.com/s/17SDFsoS0yAP ...
- select函数用法详解
1. select函数 select的作用: 轮询的方式,从多个文件描述符中获取状态变化后的情况. 头文件 #include <sys/time.h> //for struct timev ...
- 原本在滴滴只负责批100万元以上开支的Leslie决定,ofo所有30万元以上的开支都要由她亲自过目。那段时间,他“天天晚上12点才下班,眼睛都熬红了”
戴威即将28岁了,熟悉他的人更愿意用“孩子”来形容他. 这样的特质,在追随者眼中,是天真.纯粹.理想主义:在合作伙伴眼中,是倔强高傲.不可一世:在投资人眼中,则是任性狂妄,一味蒙眼狂奔.他像个无意间闯 ...