Configuring monitor link group member interfaces
You can configure member interfaces for a monitor link group in monitor link group view or interface view. Configurations made in these views have the same effect. The configuration is supported by Layer 3 Ethernet interfaces/subinterfaces.
Follow these guidelines when you configure monitor link group member interfaces:
If you have configured an interface as the downlink interface of a monitor link group, do not configure its subinterfaces as the uplink interfaces of any monitor link group. Otherwise, the Monitor Link operation might be interrupted.
The state of subinterfaces is associated with the state of the interface. Do not add the interface and its subinterfaces to the same monitor link group. Otherwise, the monitor link group performance might be affected.
An interface can be assigned to only one monitor link group.
To avoid undesired down/up state changes on the downlink interfaces, configure uplink interfaces before you configure downlink interfaces.
In monitor link group view
To configure member interfaces for a monitor link group in monitor link group view:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter monitor link group view. | monitor-link group group-id | N/A |
3. Configure member interfaces for the monitor link group. | port interface-type { interface-number | interface-number.subnumber } { downlink | uplink } | By default, no member interfaces exist in a monitor link group. |
In interface view
To configure member interfaces for a monitor link group in interface view:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view or subinterface view. | interface interface-type interface-number | N/A |
3. Configure the current interface as a member of a monitor link group. | port monitor-link group group-id { downlink | uplink } | By default, the interface is not a monitor link group member. |