[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] monitor-port
[Sysname-Ethernet1/0/4] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mirrored-to inbound ip-group 2000 monitor-interface
[Sysname-Ethernet1/0/1] quit
# Configure traffic mirroring on Ethernet 1/0/2, duplicating the inbound packets matching
ACL 2000 to the CPU.
[Sysname] interface Ethernet 1/0/2
[Sysname-Ethernet1/0/2] mirrored-to inbound ip-group 2000 cpu
[Sysname-Ethernet1/0/2] return
# Display the traffic mirroring configuration of Ethernet 1/0/1 and Ethernet 1/0/2.
<Sysname> display qos-interface Ethernet 1/0/1 mirrored-to
Ethernet1/0/1: mirrored-to
Inbound:
Matches: Acl 2000 rule 0
Mirrored to: monitor interface
<Sysname> display qos-interface Ethernet 1/0/2 mirrored-to
Ethernet1/0/2: mirrored-to
Inbound:
Matches: Acl 2000 rule 0
Mirrored to: cpu
priority
Syntax
priority priority-level
undo priority
View
Ethernet port view
Parameters
priority-level: Port priority, ranging from 0 to 7.
Description
Use the priority command to configure trusting port priority and set the priority of the port.
Use the undo priority command to restore the default.
By default, port priority is trusted and the priority of an Ethernet port is 0.
running
running
1-15