网络基础 港湾FlexHammer5010交换机镜像端口配置

简介: 网络基础 港湾FlexHammer5010交换机镜像端口配置

港湾FlexHammer5010交换机镜像端口配置


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 switchTelnet到其它主机或交换机)

 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删除镜像源端口2345

例子:

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):即为以上两种的综合

目录
相关文章
|
13天前
|
人工智能 运维 安全
配置驱动的动态 Agent 架构网络:实现高效编排、动态更新与智能治理
本文所阐述的配置驱动智能 Agent 架构,其核心价值在于为 Agent 开发领域提供了一套通用的、可落地的标准化范式。
|
11天前
|
人工智能 安全 数据可视化
配置驱动的动态Agent架构网络:实现高效编排、动态更新与智能治理
本文系统性地提出并阐述了一种配置驱动的独立运行时Agent架构,旨在解决当前低代码/平台化Agent方案在企业级落地时面临困难,为Agent开发领域提供了一套通用的、可落地的标准化范式。
配置驱动的动态Agent架构网络:实现高效编排、动态更新与智能治理
|
4月前
|
存储 人工智能 边缘计算
Gartner 魔力象限:数据中心网络交换机 2025
Gartner 魔力象限:数据中心网络交换机 2025
258 0
Gartner 魔力象限:数据中心网络交换机 2025
|
19天前
|
安全 网络性能优化 网络虚拟化
网络交换机分类与功能解析
接入交换机(ASW)连接终端设备,提供高密度端口与基础安全策略;二层交换机(LSW)基于MAC地址转发数据,构成局域网基础;汇聚交换机(DSW)聚合流量并实施VLAN路由、QoS等高级策略;核心交换机(CSW)作为网络骨干,具备高性能、高可靠性的高速转发能力;中间交换机(ISW)可指汇聚层设备或刀片服务器内交换模块。典型流量路径为:终端→ASW→DSW/ISW→CSW,分层架构提升网络扩展性与管理效率。(238字)
364 0
|
2月前
|
网络虚拟化
管理型交换机通过VLAN划分实现不同IP跨网段通信配置方法
管理型交换机应用场景丰富,如果要实现不同IP跨网段通信(比如172.22.106.X和192.168.100.X实现通信),通过VLAN划分是可以满足,下面分享基于弱三层交换机RTL9301方案核心模块SW-24G4F-301EM配置方法!
|
4月前
|
安全 网络虚拟化 数据安全/隐私保护
配置小型网络WLAN基本业务示例
本文介绍了通过AC与AP直连组网实现企业分支机构移动办公的WLAN基本业务配置方案。需求包括提供名为“WiFi”的无线网络,分配192.168.1.0/24网段IP地址给工作人员,采用直连二层组网方式,AC作为DHCP服务器,并使用隧道转发业务数据。配置步骤涵盖AP与AC间CAPWAP报文传输、DHCP服务设置、AP上线及WLAN业务参数配置等,最终确保STA成功接入无线网络“WiFi”。
配置小型网络WLAN基本业务示例
|
7月前
|
域名解析 网络协议 Linux
网络基础知识与配置
本文介绍了网络基础知识,涵盖网络概念、协议、拓扑结构及IP地址等内容。网络是由计算机设备通过通信线路连接而成的系统,用于资源共享与信息传递。文中详细解析了TCP/IP协议族(如IP、TCP、UDP)、常见应用层协议(如HTTP、FTP、SMTP、DNS)的功能与应用场景。同时,阐述了多种网络拓扑结构(总线型、星型、环型、树型、网状)的特点与优缺点。此外,还讲解了IP地址分类、子网掩码的作用,以及如何在Windows和Linux系统中配置网络接口、测试连通性(Ping、Traceroute)和查看默认网关与路由表的方法。这些内容为理解和管理计算机网络提供了全面的基础知识。
573 6
|
7月前
|
安全 网络协议 网络安全
当虚拟机出现网络连接问题时,应该先检查Hyper-V的网卡连接配置
当虚拟机出现网络连接问题时,应首先检查Hyper-V的网卡配置。具体步骤包括:确认虚拟机运行状态、检查虚拟交换机类型和物理网卡连接、确保虚拟机网络适配器正确连接到虚拟交换机,并验证网络配置(IP地址等)。常见问题如虚拟交换机配置错误、网络适配器未连接或防火墙阻止连接,可通过重新配置或调整设置解决。必要时重启虚拟机和宿主机,查看事件日志或联系技术支持以进一步排查问题。
|
7月前
|
监控 安全 网络协议
Hyper V上网实战:多虚拟机网络环境配置
在Hyper-V环境中配置多虚拟机网络以实现上网功能,需完成以下步骤:1. 确认Hyper-V安装与物理网络连接正常;2. 配置虚拟交换机(外部、内部或专用)以支持不同网络需求;3. 设置虚拟机网络适配器并关联对应虚拟交换机;4. 验证虚拟机网络连接状态;5. 根据场景需求优化多虚拟机网络环境。此外,还需注意网络隔离、性能监控及数据备份等事项,确保网络安全稳定运行。
|
10月前
|
SQL 安全 网络安全
网络安全与信息安全:知识分享####
【10月更文挑战第21天】 随着数字化时代的快速发展,网络安全和信息安全已成为个人和企业不可忽视的关键问题。本文将探讨网络安全漏洞、加密技术以及安全意识的重要性,并提供一些实用的建议,帮助读者提高自身的网络安全防护能力。 ####
226 17

热门文章

最新文章