15-High Availability Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R51xx)-6W10115-High Availability Command Reference
10-Interface collaboration commands
Title Size Download
10-Interface collaboration commands 87.04 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. The value range for this argument is 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

A member interface in a collaboration group becomes ineffective when the card that hosts the interface is removed or changed to another slot. This command prevents an ineffective interface from causing all other member interfaces in the same collaboration group to go down.

An ineffective interface cannot be automatically assigned to the original collaboration group when its hosting card is reinstalled or changed back to the original slot. You must assign it to the original collaboration group manually.

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. The value range for this argument is 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

  HGE1/0/1                  DOWN

  HGE1/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.

·     Not available—The interface is ineffective because the hosting card is not in position.

 

port

Use port to assign an interface to a collaboration group.

Use undo port to remove an interface from a collaboration group.

Syntax

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 HundredGigE 1/0/1 to collaboration group 1.

<Sysname> system-view

[Sysname] collaboration-group 1

[Sysname-collaboration-group1] port hundredgige 1/0/1

Related commands

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

Loopback interface view

Predefined user roles

network-admin

Parameters

group-id: Specifies a collaboration group by its ID. The value range for this argument is 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 HundredGigE 1/0/1 to collaboration group 1.

<Sysname> system-view

[Sysname] collaboration-group 1

[Sysname-collaboration-group1] quit

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/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

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网