- Table of Contents
-
- 10-High Availability Command Reference
- 00-Preface
- 01-Ethernet OAM commands
- 02-DLDP commands
- 03-RRPP commands
- 04-ERPS commands
- 05-Smart Link commands
- 06-Monitor Link commands
- 07-Error code detection commands
- 08-VRRP commands
- 09-BFD commands
- 10-Track commands
- 11-Process placement commands
- 12-Interface collaboration commands
- Related Documents
-
Title | Size | Download |
---|---|---|
12-Interface collaboration commands | 96.67 KB |
Interface collaboration commands
collaboration-group
Use collaboration-group to create a collaboration group and enter its view, or enter the view of an existing collaboration group.
Use undo collaboration-group to delete a collaboration group.
Syntax
collaboration-group group-id
undo collaboration-group group-id
Default
No collaboration groups exist.
Views
System view
Predefined user roles
network-admin
Parameters
group-id: Specifies a collaboration group ID in the range of 1 to 16.
Usage guidelines
Interface collaboration assigns different interfaces on a device to a collaboration group and associates the states of these interfaces. All member interfaces in a collaboration group can or cannot transmit packets.
Collaboration groups take effect only when Monitor Link is enabled globally.
You must remove all member interfaces from a collaboration group before deleting the collaboration group.
Examples
# Create collaboration group 1 and enter its view.
<Sysname> system-view
[Sysname] collaboration-group 1
[Sysname-collaboration-group1]
collaboration-group clean
Use collaboration-group clean to remove ineffective member interfaces from all collaboration groups.
Syntax
collaboration-group clean
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command prevents an ineffective interface from causing all other member interfaces in the same collaboration group to go down.
Examples
# Remove ineffective member interfaces from all collaboration groups.
<Sysname> system-view
[Sysname] collaboration-group clean
display collaboration-group
Use display collaboration-group to display information about collaboration groups.
Syntax
display collaboration-group { group-id | all } [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-id: Specifies a collaboration group by its ID in the range of 1 to 16.
all: Specifies all collaboration groups.
verbose: Displays detailed information. If you do not specify this keyword, the command displays brief information.
Examples
# Display brief information about all collaboration groups.
<Sysname> display collaboration-group all
Group ID Group status
1 DOWN
2 DOWN
# Display detailed information about all collaboration groups.
<Sysname> display collaboration-group all verbose
Collaboration group protocol status: Enabled
Collaboration group 1 information:
Group status : DOWN
Member up delay : 0 seconds
Last up time : 16:55:34 2017/04/05
Last down time : 16:57:22 2017/04/05
Member Status
XGE1/0/1 DOWN
XGE1/0/2 Collaboration-down
Table 1 Command output
Field |
Description |
Group status |
Collaboration group status: · DOWN. · UP. · N/A—Monitor Link is disabled globally. The collaboration group does not take effect. · UP-Pending—The collaboration group is transitioning from DOWN to UP. It takes 10 seconds for the system to determine the collaboration group state (DOWN or UP). |
Collaboration group protocol status |
Whether interface collaboration is enabled globally: · Enabled. · Disabled. |
Member up delay |
Delay time for the member interfaces in the collaboration group to come up after a device restart, in seconds. |
Last up time |
Last time when the collaboration group came up. |
Last down time |
Last time when the collaboration group went down. |
Member |
Member interfaces of the collaboration group. |
Status |
Member interface status: · UP—The interface is up. · DOWN—The interface is down. To identify cause, use the display interface command. · Collaboration-down—The interface is shut down by interface collaboration. |
port
Use port to assign an interface to a collaboration group.
Use undo port to remove an interface from a collaboration group.
port interface-type interface-number
undo port interface-type interface-number
Default
No member interfaces exist in a collaboration group.
Views
Collaboration group view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
You can assign an interface to only one collaboration group.
For a collaboration group to work correctly, do not assign its member interfaces to a redundancy group.
Do not add both Selected ports and Unselected ports in a dynamic aggregation group to the same collaboration group.
If you have configured a member interface as the uplink/downlink interface of a monitor link group, do not configure any other member interface in the same collaboration group as the downlink/uplink interface of any monitor link group.
You can also assign an interface to a collaboration group by using the port collaboration-group command in interface view.
Examples
# Assign Ten-GigabitEthernet 1/0/1 to collaboration group 1.
[Sysname] collaboration-group 1
[Sysname-collaboration-group1] port ten-gigabitethernet 1/0/1
port collaboration-group
port collaboration-group
Use port collaboration-group to assign the current interface to a collaboration group.
Use undo port collaboration-group to remove the current interface from a collaboration group.
Syntax
port collaboration-group group-id
undo collaboration-group group-id
Default
The interface is not a collaboration group member.
Views
Layer 2 Ethernet interface view
Layer 3 Ethernet interface view
Layer 2 aggregate interface view
Layer 3 aggregate interface view
Predefined user roles
network-admin
Parameters
group-id: Specifies a collaboration group by its ID in the range of 1 to 16.
Usage guidelines
You can assign an interface to only one collaboration group.
To assign an interface to a collaboration group by using this command, make sure the collaboration group have been created.
For a collaboration group to work correctly, do not assign its member interfaces to a redundancy group.
Do not add both Selected ports and Unselected ports in a dynamic aggregation group to the same collaboration group.
If you have configured a member interface as the uplink/downlink interface of a monitor link group, do not configure any other member interface in the same collaboration group as the downlink/uplink interface of any monitor link group.
You can also assign an interface to a collaboration group by using the port command in collaboration group view.
Examples
# Assign Ten-GigabitEthernet 1/0/1 to collaboration group 1.
[Sysname] collaboration-group 1
[Sysname-collaboration-group1] quit
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port collaboration-group 1
Related commands
port
up-delay
Use up-delay to set the delay time for the member interfaces in a collaboration group to come up after a device restart.
Use undo up-delay to restore the default.
Syntax
up-delay delay
undo up-delay
Default
The delay time is 0 seconds. The member interfaces come up as soon as the device restarts.
Views
Collaboration group view
Predefined user roles
network-admin
Parameters
delay: Specifies the delay time in the range of 1 to 3600 seconds.
Usage guidelines
This command enables the member interfaces to come up after a configurable delay time upon a device restart.
Examples
# Set the delay time to 10 seconds for the member interfaces in collaboration group 1.
<Sysname> system-view
[Sysname] collaboration-group 1
[Sysname-collaboration-group1] up-delay 10