
2-3
Parameters
group-id
: Monitor link group ID, ranging from 1 to 24.
Description
Use the
monitor-link group
command to create a monitor link group and enter monitor link group view.
If the monitor link group has been created, you enter the monitor link group view directly.
Use the
undo monitor-link group
command to remove a monitor link group.
After the monitor link group is configured, member ports of the monitor link group need to be configured.
Related commands:
port monitor-link group
,
link-aggregation group
,
smart-link group
,
port
.
Make sure that the monitor link group has no members before executing the
undo monitor-link group
command.
Examples
# Create a monitor link group.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] monitor-link group 1
New Monitor Link Group has been created.
[Sysname-mtlk-group1]
port
Syntax
port interface-type interface-number
{
uplink
|
downlink
}
undo port interface-type interface-number
View
Monitor link group view
Parameters
interface-type
: Port type.
interface-number
: Port number.
uplink
:
Specifies the specified port as the uplink port of the monitor link group
downlink
:
Specifies the specified port as the downlink port of the monitor link group
Description
Use the
port
command to configure the specified port as a member of the monitor link group.
Use the
undo port
command to remove the specified port from the current monitor link group.