Description
Use the port monitor-link group command to assign the current port to a monitor link group as a member
port. Use the undo port monitor-link group command to remove the current port from a monitor link
group.
NOTE:
• You can assign Layer 2 Ethernet ports and Layer 2 aggregate interfaces to a monitor link group as
member ports.
• A port can be assigned to only one monitor link group.
• Alternatively, you can assign a port to a monitor link group with the port command in monitor link
group view.
Related commands: port.
Examples
# Create monitor link group 1, and configure Ethernet 1/0/1 as an uplink port and Ethernet 1/0/2 as
a downlink port for monitor link group 1.
<Sysname> system-view
[Sysname] monitor-link group 1
[Sysname-mtlk-group1] quit
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port monitor-link group 1 uplink
[Sysname-Ethernet1/0/1] quit
[Sysname] interface ethernet 1/0/2
[Sysname-Ethernet1/0/2] port monitor-link group 1 downlink
41