10 High Availability Command Reference

HomeSupportSwitchesH3C S7500E-XS Switch SeriesReference GuidesCommand ReferencesH3C S7500E-XS Command References-R2418P05-6W10010 High Availability Command Reference
06-Monitor Link commands
Title Size Download
06-Monitor Link commands 67.8 KB

Monitor Link commands

display monitor-link group

Use display monitor-link group to display monitor link group information.

Syntax

display monitor-link group { group-id | all }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

group-id: Specifies a monitor link group by its ID. The value range for the group-id argument is 1 to 16.

all: Specifies all monitor link groups.

Usage guidelines

This command does not display information about ports that belong to a link aggregation group.

Examples

# Display information about monitor link group 1.

<Sysname> display monitor-link group 1

Monitor link group 1 information:

  Group status     : UP

  Downlink up-delay: 0(s)

  Last-up-time     : 16:38:26 2014/4/21

  Last-down-time   : 16:37:20 2014/4/21

 

  Member                    Role       Status

  ------------------------------------------

  FGE1/1/1                  UPLINK     UP

  FGE1/1/2                  DOWNLINK   UP

Table 1 Command output

Field

Description

Monitor link group 1 information

Information about monitor link group 1.

Group status

Monitor link group state, which can be up or down.

Downlink up-delay

Switchover delay of the downlink interfaces in the monitor link group, in seconds.

Last-up-time

Last time when the monitor link group was up.

Last-down-time

Last time when the monitor link group was down.

Member

Member interfaces of the monitor link group.

Role

Interface role, which can be uplink interface or downlink interface.

Status

Member link state, which can be up or down.

 

downlink up-delay

Use downlink up-delay to configure the switchover delay for the downlink interfaces in a monitor link group.

Use undo downlink up-delay to restore the default.

Syntax

downlink up-delay delay

undo downlink up-delay

Default

The switchover delay for the downlink interfaces is 0 seconds. The downlink interfaces come up as soon as an uplink interface in the monitor link group comes up.

Views

Monitor link group view

Predefined user roles

network-admin

Parameters

delay: Specifies the switchover delay in the range of 1 to 300 seconds.

Usage guidelines

To avoid frequent state changes of downlink interfaces in the event that the uplink interfaces in the monitor link group flap, you can configure a switchover delay. After the switchover delay is configured, the downlink interfaces remain down until an uplink interface remains up for a period of time.

Examples

# Configure the switchover delay for the downlink interfaces in monitor link group 1 as 50 seconds.

<Sysname> system-view

[Sysname] monitor-link group 1

[Sysname-mtlk-group1] downlink up-delay 50

monitor-link disable

Use monitor-link disable to disable Monitor Link globally.

Use undo monitor-link disable to enable Monitor Link globally.

Syntax

monitor-link disable

undo monitor-link disable

Default

Monitor Link is enabled globally.

Views

System view

Predefined user roles

network-admin

Usage guidelines

All monitor link groups can operate only after you enable Monitor Link globally. When you disable Monitor Link globally, all monitor link groups cannot operate and the downlink interfaces brought down by the monitor link groups resume their original states.

Examples

# Disable Monitor Link globally.

<Sysname> system-view

[Sysname] monitor-link disable

monitor-link group

Use monitor-link group to create a monitor link group and enter monitor link group view.

Use undo monitor-link group to remove a monitor link group.

Syntax

monitor-link group group-id

undo monitor-link group group-id

Default

No monitor link group is created.

Views

System view

Predefined user roles

network-admin

Parameters

group-id: Specifies a monitor link group by its ID. The value range for the group-id argument is 1 to 16.

Examples

# Create monitor link group 1 and enter the view of monitor link group 1.

<Sysname> system-view

[Sysname] monitor-link group 1

[Sysname-mtlk-group1]

port

Use port to assign an interface to the monitor link group.

Use undo port to remove an interface from the monitor link group.

Syntax

port interface-type { interface-number | interface-number.subnumber } { downlink | uplink }

undo port interface-type interface-number

Default

A monitor link group has no member interfaces.

Views

Monitor link group view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type, which can be Layer 2 Ethernet interface, Layer 3 Ethernet interface, Layer 3 Ethernet subinterface, Layer 2 aggregate interface, Layer 3 aggregate interface, Layer 3 aggregate subinterface, member port of a Layer 2 aggregation group or Layer 3 aggregation group, and S-channel interface.

interface-number: Specifies an interface by its number.

interface-number.subnumber: Specifies a subinterface by its number. The argument subnumber is in the range of 1 to 4094.

downlink: Specifies a downlink interface.

uplink: Specifies an uplink interface.

Usage guidelines

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.

To avoid interrupting Monitor Link operation, do not assign the aggregate interface and member ports of an aggregate group to the same monitor link group.

The state of subinterfaces adapts to the state of the interface. Do not assign the interface and its subinterfaces to the same monitor link group. Otherwise, the monitor link group performance might be affected.

You can assign an interface to only one monitor link group.

You can also assign an interface to a monitor link group by using the port monitor-link group command in interface view.

Examples

# Configure FortyGigE 1/1/1 as an uplink interface and FortyGigE 1/1/2 as a downlink interface for monitor link group 1.

<Sysname> system-view

[Sysname] monitor-link group 1

[Sysname-mtlk-group1] port fortygige 1/1/1 uplink

[Sysname-mtlk-group1] port fortygige 1/1/2 downlink

Related commands

port monitor-link group

port monitor-link group

Use port monitor-link group to assign the current interface to a monitor link group as a member interface.

Use undo port monitor-link group to remove the current interface from a monitor link group.

Syntax

port monitor-link group group-id { downlink | uplink }

undo port monitor-link group group-id

Default

The interface/subinterface is not a monitor link group member.

Views

Layer 2 Ethernet interface view

Layer 3 Ethernet interface/subinterface view

Layer 2 aggregate interface view

Layer 3 aggregate interface/subinterface view

Layer 2 aggregation group member port view

Layer 3 aggregation group member port view

S-channel interface view

Predefined user roles

network-admin

Parameters

group-id: Specifies a monitor link group by it ID. The value range for the group-id argument is 1 to 16.

downlink: Specifies a downlink interface.

uplink: Specifies an uplink interface.

Usage guidelines

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.

To avoid interrupting Monitor Link operation, do not assign the aggregate interface and member ports of an aggregate group to the same monitor link group.

The state of subinterfaces adapts to the state of the interface. Do not assign the interface and its subinterfaces to the same monitor link group. Otherwise, the monitor link group performance might be affected.

You can assign an interface to only one monitor link group.

You can also assign an interface to a monitor link group with the port command in monitor link group view.

Examples

# Configure FortyGigE 1/1/1 as an uplink interface and FortyGigE 1/1/2 as a downlink interface for monitor link group 1.

<Sysname> system-view

[Sysname] monitor-link group 1

[Sysname-mtlk-group1] quit

[Sysname] interface fortygige 1/1/1

[Sysname-FortyGigE1/1/1] port monitor-link group 1 uplink

[Sysname-FortyGigE1/1/1] quit

[Sysname] interface fortygige 1/1/2

[Sysname-FortyGigE1/1/2] port monitor-link group 1 downlink

Related commands

port

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网