298 CHAPTER 8: USING QOS/ACL COMMANDS
the Fabric. You need to configure the monitor port before configuring the
monitored port.
Related command: display mirror.
Example
To configure GigabitEthernet1/0/1 as a monitored port, and monitor packets in
both directions, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]interface gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]mirroring-port both
monitor-port Syntax
monitor-port
undo monitor-port
View
Ethernet Port View
Parameter
None
Description
Use the monitor-port command to configure a monitor port.
Use the undo monitor-port command to remove the setting of monitor port.
The Switch supports one monitor port and one mirroring port. If several Switches
form a Fabric, only one monitor port and one mirroring port can be configured in
the Fabric. You need to configure monitor port before configuring monitored port.
Related command: display mirror.
Example
To configure the port GigabitEthernet1/0/4 as a monitor port, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]interface gigabitethernet 1/0/4
[SW5500-GigabitEthernet1/0/4]monitor-port
priority Syntax
priority
priority-level
undo priority
View
Ethernet Port View