cm3d2 男主实体化:华为交换机S3526E是否可以设置端口镜像?

来源:百度文库 编辑:高考问答 时间:2024/05/08 03:09:49
华为交换机S3526E是否是3层交换机?是否可以设置端口镜像?如果可以,请写一下设置命令和过程.
万分感谢.

nod 3526e只支持流的镜像,注意和3526的区别。

[Quidway]acl num 200

[Quidway]rule 0 permit ingress interface Ethernet0/1 egress interface Ethernet0/2

[Quidway]rule 1 permit ingress interface Ethernet0/2 egress interface Ethernet0/1

[Quidway]mirrored-to link-group 200 interface e0/82

〖基于三层流的镜像〗
1. 定义一条扩展访问控制列表
[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

看看行不行。