- Table of Contents
-
- H3C WX3000 Series Unified Switches Switching Engine Command Reference-6W103
- 00-Preface
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-Auto Detect Command
- 06-Voice VLAN Command
- 07-GVRP Command
- 08-Basic Port Configuration Command
- 09-Link Aggregation Command
- 10-Port Isolation Command
- 11-Port Security-Port Binding Command
- 12-DLDP Command
- 13-MAC Address Table Management Command
- 14-MSTP Command
- 15-802.1x and System Guard Command
- 16-AAA Command
- 17-MAC Address Authentication Command
- 18-IP Address and Performance Command
- 19-DHCP Command
- 20-ACL Command
- 21-QoS-QoS Profile Command
- 22-Mirroring Command
- 23-ARP Command
- 24-SNMP-RMON Command
- 25-Multicast Command
- 26-NTP Command
- 27-SSH Command
- 28-File System Management Command
- 29-FTP-SFTP-TFTP Command
- 30-Information Center Command
- 31-System Maintenance and Debugging Command
- 32-VLAN-VPN Command
- 33-HWPing Command
- 34-DNS Command
- 35-Smart Link-Monitor Link Command
- 36-PoE-PoE Profile Command
- 37-Routing Protocol Command
- 38-UDP Helper Command
- 39-Index
- Related Documents
-
Title | Size | Download |
---|---|---|
35-Smart Link-Monitor Link Command | 87.78 KB |
Table of Contents
1 Smart Link Configuration Commands
Smart Link Configuration Commands
reset smart-link packets counter
2 Monitor Link Configuration Commands
Monitor Link Configuration Commands
Smart Link Configuration Commands
display smart-link flush
Syntax
display smart-link flush
View
Any view
Parameters
None
Description
Use the display smart-link flush command to view the information about how the Smart Link device processes flush messages.
Examples
# Display the information about how the Smart Link device processes flush messages.
<device> display smart-link flush
Flush interface :GigabitEthernet1/0/1
Count of flush packets received : 1
Time of last flush packet received : 22:52:23 2006/04/01
Source MAC of last flush packet received : 000f-e20f-5566
Device ID of last flush packet received : 000f-e20f-5566
Control VLAN ID of last flush packet received : 1
Table 1-1 display smart-link flush command output description
Field |
Description |
Flush interface |
Interface that receives the latest legal flush message |
Count of flush packets received |
Total number of flush messages received |
Time of last flush packet received |
Time when the last legal flush message is received |
Source MAC of last flush packet received |
Source MAC address in the last legal flush message received |
Device ID of last flush packet received |
Bridge MAC address of the device from which the last legal flush message was received |
Control VLAN ID of last flush packet received |
Control VLAN ID in the last legal flush message received |
A legal flush message refers to the message whose control VLAN ID is consistent with the receiving control VLAN ID configured on the receiving port.
display smart-link group
Syntax
display smart-link group { group-id | all }
Any view
Parameters
group-id: Smart link group ID, in the range of 1 to 24.
all: Displays the information about all Smart Link groups.
Description
Use the display smart-link group command to display the information about the specific Smart Link group or all the Smart Link groups.
Examples
# Display the information about Smart Link group 1.
<device> display smart-link group 1
Smart Link Group 1 information:
Device ID: 000f-e212-3456 Control-VLAN ID: 1
Member Role State Flush-count Last-flush-time
--------------------------------------------------------------------------
GigabitEthernet1/0/1 MASTER ACTVIE 1 16:37:20 2006/04/21
AGG-1 SLAVE STANDBY 2 17:45:20 2006/04/21
Table 1-2 display smart-link group command output description
Field |
Description |
Member |
Member of the Smart Link group |
Role |
Port role of a Smart Link group member: master or slave. |
Status |
Port status of a Smart Link group member when the link of this member port is up: active or standby. |
Flush-count |
Number of sent flush messages |
Last-flush-time |
Time when the last flush message is sent. If no flush message is sent, “NA” will be displayed. |
flush enable control-vlan
Syntax
flush enable control-vlan vlan-id
undo flush enable
View
Smart Link group view
Parameters
vlan-id: Control VLAN ID, in the range of 1 to 4,094.
Description
Use the flush enable control-vlan command to enable the function of sending flush messages in the specified control VLAN.
Use the undo flush enable control-vlan command to disable the function of sending flush messages to the specified control VLAN.
By default, no control VLAN is specified.
Examples
# Configure to send flush messages within control VLAN 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] smart-link group 1
[device-smlk-group1] flush enable control-vlan 1
link-aggregation group
Syntax
link-aggregation group group-id { master | slave }
undo link-aggregation group group-id
View
Smart Link group view
Parameters
group-id: Link aggregation group ID, in the range of 1 to 50 (only link aggregation groups configured manually or statically are available).
master: Configures the specified link aggregation group as the master port of the Smart Link group.
slave: Configures the specified link aggregation group as the slave port of the Smart Link group.
Description
Use the link-aggregation group command to configure a link aggregation group as a member of the Smart Link group.
Use the undo link-aggregation group command to remove the specified link aggregation group from the current Smart Link group.
Smart Link and STP cannot be enabled on an Ethernet port at the same time. Make sure that STP is not enabled on the port of the link aggregation group before configuring the link aggregation group as a member of the Smart Link group.
Examples
# Configure link aggregation group 8 as the slave port of Smart Link group 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] smart-link group 1
[device-smlk-group1] link-aggregation group 8 slave
port
Syntax
port interface-type interface-number { master | slave }
undo port interface-type interface-number
Smart Link group view
Parameters
interface-type: Port type.
interface-number: Port number.
master: Configures the specified port as the master port of the Smart Link group.
slave: Configures the specified port as the slave port of the Smart Link group.
Description
Use the port command to configure the specified port as a member of the Smart Link group.
Use the undo port command to remove the specified port from the Smart Link group.
Either a single port or a link aggregation group configured manually or statically can serve as a member for a Smart Link group. However, a link aggregation group configured dynamically cannot serve as a member for a Smart Link group. This command is not applicable to member ports in a link aggregation group.
Smart Link and STP cannot be enabled on an Ethernet port at the same time. Make sure that STP is not enabled on the port of the link aggregation group before configuring the link aggregation group as a member of the Smart Link group.
Examples
# Configure GigabitEthernet 1/0/6 as the slave port of Smart Link group 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] smart-link group 1
[device-smlk-group1] port GigabitEthernet 1/0/6 slave
port smart-link group
Syntax
port smart-link group group-id { master | slave }
undo port smart-link group group-id
View
Ethernet port view
Parameters
group-id: Smart link group ID, in the range of 1 to 24.
master: Configures the port as the master port of the Smart Link group.
slave: Configures the port as the slave port of the Smart Link group.
Description
Use the port smart-link group command to configure the current port as a member of the Smart Link group.
Use the undo port smart-link group command to remove the current port from the specified Smart Link group.
Either a single port or a link aggregation group configured manually or statically can serve as a member for a Smart Link group. However, a link aggregation group configured dynamically cannot serve as a member for a Smart Link group. This command is not applicable to member ports in a link aggregation group.
Smart Link and STP cannot be enabled on an Ethernet port at the same time. Make sure that STP is not enabled on the port of the link aggregation group before configuring the link aggregation group as a member of the Smart Link group.
Examples
# Configure GigabitEthernet 1/0/3 as the master port of Smart Link group 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] interface GigabitEthernet 1/0/3
[device-GigabitEthernet1/0/3] port smart-link group 1 master
reset smart-link packets counter
reset smart-link packets counter
View
User view
Parameters
None
Description
Use the reset smart-link packets counter command to clear the flush message statistics of Smart Link.
Examples
# Clear the flush message statistics of Smart Link.
<device> reset smart-link packets counter
smart-link flush enable
Syntax
l In Ethernet port view:
smart-link flush enable control-vlan vlan-id
undo smart-link flush enable
l In system view:
smart-link flush enable control-vlan vlan-id port interface-type interface-number [ to interface-type interface-number ]
undo smart-link flush enable port interface-type interface-number [ to interface-type interface-number ]
View
Ethernet port view/system view
Parameters
vlan-id: Control VLAN ID, in the range of 1 to 4,094.
Description
Use the smart-link flush enable control-vlan command to enable the current/specified port to process flush messages received on the specified control VLAN.
Use the undo smart-link flush enable command to disable the port from processing flush messages.
l The command executed in Ethernet port view has effect on the current port only.
l The command executed in system view has effect on the specified port only.
By default, no control VLAN is specified.
If you configure different control VLANs on the same port, only the last one takes effect.
The VLAN configured as a control VLAN for sending or receiving flush messages must exist. You cannot directly remove the control VLAN. When a dynamic VLAN is configured as a control VLAN for the Smart Link group, this VLAN will become a static VLAN, and related prompt information is displayed.
Examples
# Enable GigabitEthernet 1/0/4 to process flush messages received from control VLAN 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] interface GigabitEthernet 1/0/4
[device-GigabitEthernet1/0/4] smart-link flush enable control-vlan 1
# Enable GigabitEthernet 1/0/5 through GigabitEthernet 1/0/10 to process flush messages received from control VLAN 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] smart-link flush enable control-vlan 1 port GigabitEthernet 1/0/5 to GigabitEthernet 1/0/10
smart-link group
Syntax
smart-link group group-id
undo smart-link group group-id
View
System view
Parameters
group-id: Smart link group ID, in the range of 1 to 24.
Description
Use the smart-link group command to create a Smart Link group and enter Smart Link group view. If the specified Smart Link group exists, this command leads you into Smart Link group view directly.
Use the undo smart-link group command to remove the specified Smart Link group.
After creating a Smart Link group, you must configure member ports for this Smart Link group.
Related commands: port smart-link group, link-aggregation group, and port.
Make sure that the Smart Link group has no members before executing the undo smart-link group command.
Examples
# Create a Smart Link group.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] smart-link group 1
New Smart Link Group has been created.
[device-smlk-group1]
Monitor Link Configuration Commands
display monitor-link group
Syntax
display monitor-link group { group-id| all }
View
Any view
Parameters
group-id: Monitor Link group ID, ranging 1 to 24.
all: Specifies all the Monitor Link groups.
Description
Use the display monitor-link group command to display Monitor Link group information.
Examples
# Display the information about Monitor Link group 1.
<device> display monitor-link group 1
Monitor link group 1 information:
Member Role Status Last-up-time Last-down-time
----------------------------------------------------------------------
SMLK-2 UPLINK UP 16:37:20 2006/4/21 16:37:20 2006/4/20
AGG-1 DOWNLINK UP
Table 2-1 display monitor-link group command output description
Field |
Description |
Member |
Member of the Monitor Link group |
Role |
Role of Monitor Link group member port: UPLINK or DOWNLINK |
Status |
Status of Monitor Link group member port: UP or DOWN |
Last-up-time |
Last time the port is up |
Last-down-time |
Last time the port is down |
link-aggregation group
Syntax
link-aggregation group group-id{ uplink | downlink }
undo link-aggregation group group-id
View
Monitor Link group view
Parameters
group-id: Link aggregation group ID, ranging from 1 to 50 (A link aggregation group can be a manual or static link aggregation group only).
uplink: Configures the specified link aggregation group as the uplink port of the Monitor Link group
downlink: Configures the specified link aggregation group as the downlink port of the Monitor Link group
Description
Use the link-aggregation group command to configure the specified link aggregation group as a Monitor Link group member.
Use the undo link-aggregation group command to remove the specified link aggregation group from the current Monitor Link group.
In Monitor Link, a Monitor Link group member can be a single port, a manual or static link aggregation group, but not a dynamic link aggregation group. Uplink port can also be a Smart Link group.
Use this command only on the link aggregation groups that are not Smart Link group members.
A port or a link aggregation group cannot serve as a member port for two Smart Link groups. On the other hand, a port or a link aggregation group cannot serve as a member of a Smart Link group and a Monitor Link group at the same time. However, a Smart Link group can serve as the uplink member port of a Monitor Link group.
Examples
# Configure link aggregation group 28 as the downlink port of the Monitor Link group.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] monitor-link group 1
[device-mtlk-group1] link-aggregation group 28 downlink
monitor-link group
Syntax
monitor-link group group-id
undo monitor-link group group-id
View
System view
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.
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, and 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.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] monitor-link group 1
New Monitor Link Group has been created.
[device-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: Configures the specified port as the uplink port of the Monitor Link group
downlink: Configures 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.
In Monitor Link, a Monitor Link group member can be a single port, a static link aggregation group, but not a dynamic link aggregation group. The uplink port of a Monitor Link group can also be a Smart Link group.
Do not use this command on member ports of a link aggregation group or a Smart Link group.
A port or a link aggregation group cannot serve as a member port for two Smart Link groups. On the other hand, a port or a link aggregation group cannot serve as a member for a Smart Link group and a Monitor Link group at the same time. However, a Smart Link group can serve as the uplink member port of a Monitor Link group.
Examples
# Configure GigabitEthernet 1/0/7 as a downlink port of the Monitor Link group
<device> system-view
System View: return to User View with Ctrl+Z.
[device] monitor-link group 1
[device-mtlk-group1] port GigabitEthernet 1/0/7 downlink
port monitor-link group
Syntax
port monitor-link group group-id{ uplink | downlink }
undo port monitor-link group group-id
View
Ethernet port view
Parameters
group-id: Monitor Link group ID, ranging 1 to 24.
uplink: Configures the port as the uplink port of the specified Monitor Link group
downlink: Configures the port as the downlink port of the specified Monitor Link group
Description
Use the port monitor-link group command to configure the current port as a member of the specified Monitor Link group.
Use the undo port monitor-link group command to remove the current port from the specified Monitor Link group.
In Monitor Link, a Monitor Link group member can be a single port, a static link aggregation group, but not a dynamic link aggregation group. Uplink port can also be a Smart Link group.
Do not use this command on member ports of a link aggregation group or a Smart Link group.
A port or a link aggregation group cannot serve as a member port for two Smart Link groups. On the other hand, a port or a link aggregation group cannot serve as a member for a Smart Link group and a Monitor Link group at the same time. However, a Smart Link group can serve as the uplink member port of a Monitor Link group.
Examples
# Configure GigabitEthernet 1/0/8 as a downlink port of Monitor Link group 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] interface GigabitEthernet 1/0/8
[device-GigabitEthernet1/0/8] port monitor-link group 1 downlink
smart-link group
Syntax
smart-link group group-id uplink
undo smart-link group group-id
View
Monitor Link group view
Parameters
group-id: Smart Link group ID, ranging 1 to 24.
uplink: Configures the specified Smart Link group as the uplink port of the Monitor Link group
Description
Use the smart-link group command to configure the specified Smart Link group as the uplink port of the Monitor Link group.
Use the undo smart-link group command to remove the configuration.
A Smart Link group can belong to only one Monitor Link group and can be configured only as an uplink port of the Monitor Link group.
Examples
# Configure Smart Link group 1 as the uplink port of Monitor Link group 1.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] monitor-link group 1
[device-mtlk-group1] smart-link group 1 uplink