h3c路由器端口镜像怎么配置
发布网友
发布时间:2022-04-24 13:23
我来回答
共2个回答
热心网友
时间:2023-10-14 08:05
〖基于三层流的镜像〗
1.定义一条扩展访问控制列表ACL
[SwitchA]acl num 100
2.定义一条规则报文源地址为1.1.1.1/32去往所有目的地址
[SwitchA-acl-adv-101]rule 0 permit ip source 1.1.1.1 0 destination any
3.定义一条规则报文源地址为所有源地址目的地址为1.1.1.1/32
[SwitchA-acl-adv-101]rule 1 permit ip source any destination 1.1.1.1 0
4.将符合上述ACL规则的报文镜像到E0/8端口
[SwitchA]mirrored-to ip-group 100 interface e0/8
热心网友
时间:2023-10-14 08:06
1. 在R1上配置:
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]mirroring-group 1 local
[H3C]mirroring-group 1 mirroring-port G0/1/1 both
[H3C]mirroring-group 1 monitor-port G0/1/2
[H3C]dis mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
GigabitEthernet0/1/1 both
mirroring VLAN:
mirroring CPU:
monitor port: GigabitEthernet0/1/2
[H3C]