华为交换机镜像简要配置说明

 

 

查看交换机端口状态

     命令如下:

[HUAWEI]display current-configuration

 

      操作实例:

[HUAWEI]display current-configuration

!Software Version V200R011C10SPC600

#

sysname HUAWEI

#

authentication-profile name default_authen_profile

authentication-profile name dot1x_authen_profile

authentication-profile name mac_authen_profile

authentication-profile name portal_authen_profile

authentication-profile name dot1xmac_authen_profile

authentication-profile name multi_authen_profile

#

observe-port 1 interface GigabitEthernet0/0/24-------observe-port为本地观察端口,也是交换机的镜像采集口,流量均汇集到此口采集。

#

…………………………

interface Vlanif1

#

interface Eth-Trunk1

#

interface GigabitEthernet0/0/1-----------交换机端口状态及信息

 port-mirroring to observe-port 1 inbound--------交换机已做好镜像的端口状态

#

……以下略

 

 

配置端口镜像:

        本次镜像端口以GigabitEthernet0/0/24为例,提供镜像创建的全过程;

        

配置观察端口

         使用system-view进入配置模式,注意以下标记位置符号的变化。

<HUAWEI>system-view

Enter system view, return user view with Ctrl+Z.

[HUAWEI]

[HUAWEI]observe-port 1 interface GigabitEthernet 0/0/23

完成操作后,通过display observe-port查看观察口配置状态,框选部分状态表示添加成功。

设置端口镜像

[HUAWEI]interface GigabitEthernet 0/0/8---------------指定被镜像端口

[HUAWEI-GigabitEthernet0/0/8]port-mirroring to observe-port 2 inbound -----端口镜像到观察口,即镜像采集口

[HUAWEI-GigabitEthernet0/0/8]quit      

完成配置后,查看镜像状态

至此,镜像端口配置过程完成。

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值