- Table of Contents
-
- H3C S3600 Command Manual-Release 1602(V1.02)
- 00-1Cover
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-IP Address and Performance Command
- 06-Voice VLAN Command
- 07-GVRP Command
- 08-Port Basic 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-Auto Detect Command
- 15-MSTP Command
- 16-Routing Protocol Command
- 17-Multicast Command
- 18-802.1x and System Guard Command
- 19-AAA Command
- 20-Web Authentication Command
- 21-MAC Address Authentication Command
- 22-VRRP Command
- 23-ARP Command
- 24-DHCP Command
- 25-ACL Command
- 26-QoS-QoS Profile Command
- 27-Web Cache Redirection Command
- 28-Mirroring Command
- 29-IRF Fabric Command
- 30-Cluster Command
- 31-PoE-PoE Profile Command
- 32-UDP Helper Command
- 33-SNMP-RMON Command
- 34-NTP Command
- 35-SSH Command
- 36-File System Management Command
- 37-FTP-SFTP-TFTP Command
- 38-Information Center Command
- 39-System Maintenance and Debugging Command
- 40-VLAN-VPN Command
- 41-HWPing Command
- 42-IPv6 Management Command
- 43-DNS Command
- 44-Smart Link-Monitor Link Command
- 45-Access Management Command
- 46-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
44-Smart Link-Monitor Link Command | 88.71 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.
<Sysname> display smart-link flush
Flush interface :Ethernet1/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 Description on the fields of the display smart-link flush command
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.
<Sysname> 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
--------------------------------------------------------------------------
Ethernet1/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 Description on the fields of the display smart-link group command
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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] smart-link group 1
[Sysname-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 416. Note that the specified link aggregation group can only be a static or manual one.
master: Specifies the specified link aggregation group as the master port of the smart link group.
slave: Specifies the specified link aggregation group as the slave port of the smart link group.
Description
Use the link-aggregation group command to assign a link aggregation group to the smart link group.
Use the undo link-aggregation group command to remove the specified link aggregation group from the smart link group.
Because Smart Link and STP cannot be enabled on an Ethernet port at the same time, you must make sure that STP is disabled on the port before assigning the port to a smart link group.
Examples
# Configure link aggregation group 8 as the slave port of smart link group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] smart-link group 1
[Sysname-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: Specifies the specified port as the master port of the smart link group.
slave: Specifies the specified port as the slave port of the smart link group.
Description
Use the port command to assign the specified port to the smart link group.
Use the undo port command to remove the specified port from the smart link group.
The port you specified in this command cannot be a link aggregation group member port.
Besides assigning single ports to a smart link group, you can assign a link aggregation group (static or manual, but not dynamic) to a smart link group with the link-aggregation group command in smart link group view.
Because Smart Link and STP cannot be enabled on an Ethernet port at the same time, you must make sure that STP is disabled on the port before assigning the port to a smart link group.
Examples
# Configure Ethernet 1/0/6 as the slave port of smart link group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] smart-link group 1
[Sysname-smlk-group1] port Ethernet 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: Specifies the port as the master port of the smart link group.
slave: Specifies the port as the slave port of the smart link group.
Description
Use the port smart-link group command to assign the current port to a smart link group.
Use the undo port smart-link group command to remove the current port from the specified smart link group.
The port where you configure the command cannot be a link aggregation group member port.
Besides assigning single ports to a smart link group, you can assign a link aggregation group (static or manual, but not dynamic) to a smart link group with the link-aggregation group command in smart link group view.
Because Smart Link and STP cannot be enabled on an Ethernet port at the same time, you must make sure that STP is disabled on the port before assigning the port to a smart link group.
Examples
# Configure Ethernet 1/0/3 as the master port of smart link group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/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.
<Sysname> 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 Ethernet 1/0/4 to process flush messages received from control VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/4
[Sysname-Ethernet1/0/4] smart-link flush enable control-vlan 1
# Enable Ethernet 1/0/5 through Ethernet 1/0/10 to process flush messages received from control VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] smart-link flush enable control-vlan 1 port Ethernet 1/0/5 to Ethernet 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, 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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] smart-link group 1
New Smart Link Group has been created.
[Sysname-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.
<Sysname> 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 Description on the fields of the display monitor-link group command
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 416 (A link aggregation group can be a manual or static link aggregation group only).
uplink: Specifies the specified link aggregation group as the uplink port of the monitor link group
downlink: Specifies 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 8 as the downlink port of the monitor link group.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] monitor-link group 1
[Sysname-mtlk-group1] link-aggregation group 8 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. 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.
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 Ethernet 1/0/7 as a downlink port of the monitor link group
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] monitor-link group 1
[Sysname-mtlk-group1] port Ethernet 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: Specifies the port as the uplink port of the specified monitor link group
downlink: Specifies 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 Ethernet 1/0/8 as a downlink port of monitor link group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/8
[Sysname-Ethernet1/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: Specifies 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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] monitor-link group 1
[Sysname-mtlk-group1] smart-link group 1 uplink