No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

S7700 and S9700 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Reliability Compatible Commands

Reliability Compatible Commands

BFD Compatible Commands

snmp-agent trap enable bfd (upgrade-compatible command)

Function

The snmp-agent trap enable bfd command enables the trap function for the BFD module.

By default, the trap function is disabled for the BFD module.

Format

snmp-agent trap enable bfd

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the snmp-agent trap enable feature-name bfd command in the system view.

VRRP Compatible Commands

snmp-agent trap enable vrrp (upgrade-compatible command)

Function

The snmp-agent trap enable vrrp command enables the trap function for the VRRP module.

By default, the trap function is disabled for the VRRP module.

Format

snmp-agent trap enable vrrp

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the snmp-agent trap enable feature-name vrrp command.

vrrp authentication-mode (upgrade-compatible command)

Function

Using the vrrp authentication-mode command, you can configure the authentication key of the VRRP backup group.

By default, a VRRP backup group uses the non-authentication mode.

Format

vrrp authentication-mode [ simple | md5 ] key

Parameters

Parameter

Description

Value

simple

Indicates simple authentication.

-

md5

Indicates MD5 authentication.

-

key

Specifies an authentication key.

If simple authentication is specified, the value is 1 to 8 case-insensitive characters and spaces are excluded.

If MD5 authentication is specified, the value is 1 to 8 characters for a simple text authentication key or 24 or 32 characters for a ciphertext authentication key and spaces are excluded.

NOTE:

To ensure security, you are advised to use MD5 as the authentication algorithm of VRRP.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the vrrp vrid authentication-mode command.

This command is saved in simple text after it is configured, which brings security risks. Saving the command configuration in ciphertext is recommended.

vrrp vrid track admin-vrrp vrid (upgrade-compatible command)

Function

Using the vrrp vrid track admin-vrrp vrid command, you can bind the member VRRP backup group to the mVRRP backup group.

By default, the member VRRP backup group is not bound to the mVRRP backup group.

Format

vrrp vrid virtual-router-id1 track admin-vrrp interface interface-type interface-number vrid virtual-router-id2

Parameters

Parameter Description Value
vrid virtual-router-id1 Specifies the ID of a member VRRP backup group.. The value is an integer ranging from 1 to 255.
interface interface-type interface-number Specifies the type and number of the interface configured with the mVRRP backup group. -
vrid virtual-router-id2 Specifies the ID of the mVRRP backup group. The value is an integer ranging from 1 to 255.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the vrrp vrid track admin-vrrp vrid command.

vrrp6 vrid track admin-vrrp6 vrid (upgrade-compatible command)

Function

Using the vrrp6 vrid track admin-vrrp6 vrid command, you can bind a member VRRP6 backup group to an mVRRP6 backup group.

By default, no member VRRP6 backup group is bound to an mVRRP6 backup group.

Format

vrrp6 vrid virtual-router-id1 track admin-vrrp6 interface interface-type interface-number vrid virtual-router-id2

Parameters

Parameter Description Value
vrid virtual-router-id1 Specifies the ID of a member VRRP6 backup group. The value is an integer ranging from 1 to 255.
vrid virtual-router-id2 Specifies the ID of an mVRRP6 backup group. The value is an integer ranging from 1 to 255.
interface interface-type interface-number Specifies the interface that is configured with an mVRRP6 backup group. -

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the vrrp6 vrid track admin-vrrp6 vrid command.

DLDP Compatible Commands

snmp-agent trap enable dldp (upgrade-compatible command)

Function

The snmp-agent trap enable dldp command enables the trap function for the DLDP module.

By default, the trap function is disabled for the DLDP module.

Format

snmp-agent trap enable dldp

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the snmp-agent trap enable feature-name dldp command.

dldp authentication-mode md5-compatible(upgrade-compatible command)

Function

The dldp authentication-mode md5-compatible command configures MD5-compatible authentication.

By default, DLDP packets are not authenticated.

Format

dldp authentication-mode md5-compatible md5-password

Parameters

Parameter

Description

Value

md5-compatible md5-password

Uses MD5-compatible to authenticate DLDP packets exchanged between the interfaces on the local and neighbor devices.md5-password specifies the MD5-compatible authentication password.

NOTE:
To ensure security, the password is saved in cipher text in the configuration file.
The value is a string of 1 to 16 case-sensitive characters in plain text without any question mark (?) and space.
NOTE:
During the upgrade, the device is compatible with the cipher-text passwords with different lengths before the upgrade.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Scenario

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

When the device that uses MD5 authentication is upgraded from V200R001 or V200R002 to V200R008 or later, to ensure compatibility, upgrade the DLDP authentication mode to MD5-compatible.

Running the dldp authentication-mode md5-compatible command is equivalent to running the dldp authentication-mode command in the system view.

Ethernet OAM Compatible Commands

ais vlan (upgrade-compatible command)

Function

The ais vlan command sets the range of VLANs to which the MEP of an MA sends AIS PDUs.

Format

ais vlan vid { low-vid [ to high-vid ] } &<1-10> mep mep-id mep-id

ais vlan pe-vid pe-vid ce-vid { low-ce-vid [ to high-ce-vid ] } &<1-10> mep mep-id mep-id

Parameters

Parameter Description Value
pe-vid pe-vid Specifies the VLAN ID in the outer tag of a VLAN frame. The value is an integer that ranges from 1 to 4094.
ce-vid low-ce-vid Specifies the lower limit of the VLAN ID in the inner tag of a VLAN frame. The value is an integer that ranges from 1 to 4094.
high-ce-vid Specifies the upper limit of the VLAN ID in the inner tag of a VLAN frame. The value is an integer that ranges from 1 to 4094.
vid low-vid Specifies the lower limit of the VLAN ID in an AIS PDU. The value is an integer that ranges from 1 to 4094.
high-vid Specifies the upper limit of the VLAN ID in an AIS PDU. The value is an integer that ranges from 1 to 4094.
mep mep-id Specifies the ID of a MEP. The ID identifies a MEP. The MEP ID must be unique in an MA and in a VLAN. The value is an integer that ranges from 1 to 8191.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the ais vlan vid { low-vid [ to high-vid ] } &<1-10> mep mep-id command.

After the upgrade, this command is no longer supported, and it is replaced by the ais vlan pe-vid pe-vid ce-vid { low-ce-vid [ to high-ce-vid ] } &<1-10> mep mep-id command.

ma format (upgrade-compatible command)

Function

The ma command creates an MA in an MD and displays the MA view. If the MA already exists, this command displays the MA view.

Format

ma ma-name format { icc-based | string }

Parameters

Parameter Description Value
ma-name Specifies the name of an MA. Names of MAs in an MD are unique. The value is a string of characters without spaces, hyphen (-), or question mark (?). The total length of the names of the MA and MD must be within 44 case-sensitive characters.
icc-based Specifies an ICC-based MA name carried in CCMs to be sent. ITU carrier codes (ICCs) are assigned to network operators or service providers and maintained by ITU-T Telecommunication Standardization Bureau (TSB) in compliance with ITU-T M.1400 Recommendation. -
string Specifies a string-based MA name carried in CCMs to be sent. -

Views

MD view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, this command is no longer supported, and it is replaced by the ma ma-name [ format { icc-based iccbased-ma-format-name | string ma-format-name } ] command.

cfm md format (upgrade-compatible command)

Function

Using the cfm md command, you can create an MD and enter the MD view. If the MD exists, you can use this command to enter the MD view.

Format

cfm md md-name format { dnsname-and-mdname | mac-address | md-name } [ level level ]

Parameters

Parameter Description Value
md md-name Specifies the name of an MD. The value is a string of 1 to 43 characters, which are case sensitive. The characters, such as ?, -, and space are excluded. The name of an MD is used to identify the MD. Different MDs on a device cannot have the same name.
NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

dnsname-and-mdname Indicates the MD name in the format that a DNS name is followed by an MD name. -
mac-address Indicates the MD name in the format that a MAC address is followed by an MD name. -
md-name Indicates that the MA ID field of the sent packet contains the MD name. -
level level Specifies the level of the MD. The value is an integer ranging from 0 to 7. The greater the value, the higher the priority. The default value is 0.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the cfm md md-name [ format { no-md-name | dns dns-md-format-name | mac-address mac-md-format-name | string string-md-format-name } ] [ level level ] command.

delay-measure one-way continual receive (upgrade-compatible command)

Function

The delay-measure one-way continual receive command configures a remote device to receive DMMs to implement proactive one-way frame delay measurement.

By default, the remote device enabled with proactive one-way frame delay measurement in the maintenance association (MA) is not configured to receive DMMs.

Format

delay-measure one-way continual receive

Parameters

None

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, this command is no longer supported, and it is replaced by the delay-measure one-way continual receive mep mep-id command.

delay-measure one-way receive (upgrade-compatible command)

Function

Using the delay-measure one-way receive command, you can configure the DM frame receiving function on the remote end of the local device enabled with one-way frame delay measurement.

By default, the DM frame receiving function is not configured for the remote end in an MA.

Format

delay-measure one-way receive

Parameters

None

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, this command is no longer supported, and it is replaced by the delay-measure one-way receive mep mep-id [ peer-ip peer-ip [ vc-id vc-id ] ].

delay-measure two-way receive (upgrade-compatible command)

Function

Using the delay-measure two-way receive command, you can enable DM frame reception on the remote MEP to implement the two-way frame delay measurement.

By default, DM frame reception is not configured on the remote MEP in an MA.

Format

delay-measure two-way receive

Parameters

None

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the delay-measure two-way receive mep mep-id [ 8021p { 8021p-value } &<1-3> ] [ peer-ip peer-ip [ vc-id vc-id ] ] command.

efm threshold-event trigger error-shutdown (upgrade-compatible command)

Function

Using the efm threshold-event trigger error-shutdown command, you can enable the error-triggered shutdown function on an interface. After this function is enabled, the interface is shut down when the number of EFM errored frames or errored codes reaches the threshold.

By default, the error-triggered shutdown function is disabled on an interface.

Format

efm threshold-event trigger error-shutdown

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the efm threshold-event trigger error-down command.

efm trigger if-net (upgrade-compatible command)

Function

The efm trigger if-net command associates EFM with an interface.

Format

efm trigger if-net

Parameters

None

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the efm trigger if-down command.

efm up-hold-time (upgrade-compatible command)

Function

Using the efm up-hold-time command, you can set the delay time before the EFM status of an interface changes from non-detect to detect.

By default, the delay time is 0 seconds. That is, the FEM status changes to detect immediately after the interface recovers.

Format

efm up-hold-time time

Parameters

Parameter

Description

Value

time

Specifies the delay time before the EFM status changes from non-detect to detect.

The value is an integer that ranges from 0 to 50, in seconds.

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the efm holdup-timer command.

oam-bind ingress interface egress bfd-session (upgrade-compatible command)

Function

Using the oam-bind ingress interface egress bfd-session command, you can enable an interface to report faults to a BFD session. When an interface is Down, the interface notifies the BFD session bound to it. Then the BFD session becomes Down.

Format

oam-bind ingress interface interface-type interface-number egress bfd-session bfd-session-id

Parameters

Parameter

Description

Value

ingress egress

Indicates that the ingress interface reports faults to the egress BFD session.

-

interface-type interface-number

Specifies the type and number of an interface.
  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the interface.

-

bfd-session bfd-session-id

Specifies the ID of a BFD session.

The value is an integer that ranges from 1 to 8191.

Views

OAM management view

Default Level

2: Configuration Level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After the upgrade, this command is no longer supported, and it is replaced by the oam-bind ingress interface egress bfd-session trigger if-down command.

oam-bind ingress interface egress cfm md ma (upgrade-compatible command)

Function

The oam-bind ingress interface egress cfm md ma command configures an interface to report faults to Ethernet CFM.

Format

oam-bind ingress interface interface-type interface-number egress cfm md md-name ma ma-name

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-
md md-name

Specifies the name of an MD.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphen (-), and question mark (?).
ma ma-name

Specifies the name of an MA.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphen (-), and question mark (?). The total length of the names of the MA and MD must be within 44 characters.

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, it is replaced by the oam-bind ingress interface interface-type interface-number egress cfm md md-name ma ma-name trigger if-down command.

oam-bind ingress interface egress cfm md ma trigger if-notify (upgrade-compatible command)

Function

Using the oam-bind ingress interface egress cfm md ma trigger if-notify command, you can configure unidirectional transmission of fault information from an interface to Ethernet CFM.

By default, unidirectional transmission of fault information from an interface to Ethernet CFM is disabled.

Format

oam-bind ingress interface interface-type interface-number egress cfm md md-name ma ma-name trigger if-notify

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and the number of an interface.

interface-type specifies the type of an interface. interface-number specifies the number of an interface.

md md-name Specifies an MD. The total length of md-name and ma-name must be no greater than 44 characters.
ma ma-name Specifies an MA. The total length of md-name and ma-name must be no greater than 44 characters.
if-notify

Indicates that an interface sends a Port-Down event but is not shut down when the Ethernet CFM entity bound to the interface detects a fault.

-
ingress egress Indicates that the ingress interface reports faults to the egress Ethernet CFM entity. -

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the oam-bind ingress interface egress cfm md ma trigger if-down command.

oam-bind ingress interface egress efm interface (upgrade-compatible command)

Function

The oam-bind ingress interface egress efm interface command enables an interface to report faults to EFM OAM.

Format

oam-bind ingress interface interface-type1 interface-number1 egress efm interface interface-type2 interface-number2

Parameters

Parameter Description Value
interface-type1 interface-number1

Specifies the type and number of the interface enabled with EFM.

  • interface-type1 specifies the interface type.

  • interface-number1 specifies the interface number.

-
interface-type2 interface-number2

Specifies the type and number of the interface bound to an EFM OAM session.

  • interface-type2 specifies the interface type.

  • interface-number2 specifies the interface number.

-

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, it is replaced by the oam-bind ingress interface interface-type1 interface-number1 egress efm interface interface-type2 interface-number2 trigger if-down command.

oam-bind ingress interface egress efm interface trigger if-notify (upgrade-compatible command)

Function

Using the oam-bind ingress interface egress efm interface trigger if-notify command, you can configure the unidirectional transmission of information about a fault from an interface to EFM OAM.

Format

oam-bind ingress interface interface-type1 interface-number1 egress efm interface interface-type2 interface-number2 trigger if-notify

Parameters

Parameter Description Value
interface interface-type1 interface-number1 Specifies the type and number of an interface enabled with EFM OAM.

interface-type1 specifies the type of an interface. interface-number1 specifies the number of an interface.

interface interface-type2 interface-number2 Specifies the interface associated with the EFM OAM session.

interface-type2 specifies the type of an interface. interface-number2 specifies the number of an interface.

if-notify

Indicates that an interface sends a Port-Down event but is not shut down when the Ethernet EFM entity bound to the interface detects a fault.

-
ingress egress Indicates that the ingress interface reports faults to the egress EFM OAM. -

Views

OAM management view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the oam-bind ingress interface egress efm interface trigger if-down command.

snmp-agent trap enable efm (upgrade-compatible command)

Function

The snmp-agent trap enable efm command enables the trap function for the EFM module.

By default, the trap function is disabled for the EFM module.

Format

snmp-agent trap enable efm

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, this command is no longer supported, and it is replaced by the snmp-agent trap enable feature-name efm command.

snmp-agent trap enable eoam-1ag (upgrade-compatible command)

Function

The snmp-agent trap enable eoam-1ag command enables the trap function for the Eoam-1ag module.

By default, the trap function is disabled for the Eoam-1ag module.

Format

snmp-agent trap enable eoam-1ag

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After an upgrade, this command is no longer supported, and it is replaced by the snmp-agent trap enable feature-name eoam-1ag command.

snmp-agent trap enable test-packet (upgrade-compatible command)

Function

The snmp-agent trap enable test-packet command enables an Ethernet OAM module to send traps to the NMS.

By default, an Ethernet OAM module is enabled to send traps to the NMS.

Format

snmp-agent trap enable test-packet

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

It is replaced by the snmp-agent trap enable feature-name efm command.

Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178288

Views: 29156

Downloads: 109

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next