网络基础 港湾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 网络的诞生 网络的诞生使命:通过各种互联网服务提升全球人类生活品质. 让人类的生活更便捷和丰富,从而促进全球人类社会的进步.并且丰富人类的精神世界和物质世界,让人类最便捷地获 ...
随机推荐
- Flask 微博三方登录
1.进入微博开发平台(https://open.weibo.com/),注册账号,填写开发者信息 2.创建应用.创建应用完成后,可以在"我的应用 - 应用信息"中查看您所创建应用的 ...
- Yii2+Swagger搭建RESTful风格的API项目
在现有的Advanced Template上搭建RESTful API项目的步骤: 本案例前提说明: 本例中不使用\yii\rest\ActiveController自动创建的API,而是自定义一个A ...
- C# 多线程学习系列四之ThreadPool取消、超时子线程操作以及ManualResetEvent和AutoResetEvent信号量的使用
1.简介 虽然ThreadPool.Thread能开启子线程将一些任务交给子线程去承担,但是很多时候,因为某种原因,比如子线程发生异常.或者子线程的业务逻辑不符合我们的预期,那么这个时候我们必须关闭它 ...
- Selenium自动化测试Python六:持续集成
持续集成 欢迎阅读WebDriver持续集成讲义.本篇讲义将会重点介绍Selenium WebDriver API的在持续集成中的使用方法,以及使用Jenkins持续集成工具进行自动化测试的设计. 持 ...
- ASP.NET Core 与 .NET Core 演变与基础概述
https://github.com/dotnet/corehttps://github.com/aspnet/home 今天看到 .NET Core 的改名计划,感觉跨平台的时代快要来了,从之前的 ...
- Intent的那些事儿
请原谅我用这么文艺的标题来阐释一颗无时无刻奔腾着的2B青年的心.可是今天要介绍的Intent绝不2B,甚至在我看来,或许还有些许飘逸的味道,至于飘逸在哪里呢?那我们就好好来剖析剖析Intent和它的好 ...
- 全网最详细的CentOS7里安装MySQL时出现No package mysql-server available错误的解决办法(图文详解)
不多说,直接上干货! 直接yum install mysql的话会报错,原因在于yum安装库里没有直接可以用的安装包,此时需要用到MariaDB了,MariaDB是MySQL社区开发的分支,也是一个增 ...
- 拥抱了IDEA却发现再也回不去Eclipse...
一.背景 还记得去年入职的时候,发现很多同事都在用Intellij IDEA,其实在那之前都已经接触过,只不过没有在开发中实际应用而已. 这时候我下定决心要拥抱IDEA了,尤其被它酷酷的黑色主题所吸引 ...
- editplus tag
#T=HTML<!DOCTYPE html><html lang="zh-CN"><head><meta content="te ...
- Linux 数据重定向
名称 描述 代码 表示 stdin 标准输入 0 < 或 << stdout 标准输出 1 > 或 >> stderr 标准错误输出 2 2> 或 2> ...