3Com 4500 26-PORT Switch User Manual


 
196 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 Ethernet1/0/1 as a monitored port, and monitor packets in both
directions, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]interface Ethernet 1/0/1
[4500-Ethernet1/0/1] mirroring-port both
[4500-Ethernet1/0/1]
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 Ethernet1/0/4 as a monitor port, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]interface Ethernet 1/0/4
[4500-Ethernet1/0/4] monitor-port
[4500-Ethernet1/0/4]
priority Syntax
priority priority-level
undo priority
View
Ethernet Port View