View
Monitor link group view
Default level
2: System level
Parameters
interface-type interface-number: Specifies a port by type and number.
uplink: Specifies an uplink port.
downlink: Specifies a downlink port.
Description
Use the port command to assign a port to the monitor link group.
Use the undo port command to remove a port from the 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 monitor-link group
command
in Layer 2 Ethernet port view or Layer 2 aggregate interface view.
Related commands: port monitor-link group.
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] port ethernet 1/0/1 uplink
[Sysname-mtlk-group1] port ethernet 1/0/2 downlink
port monitor-link group
Syntax
port monitor-link group group-id { uplink | downlink }
undo port monitor-link group group-id
View
Layer 2 Ethernet port view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
group-id: Monitor link group ID, in the range of 1 to 16.
uplink: Specifies an uplink port.
downlink: Specifies a downlink port.
40