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

S1720, S2700, S5700, and S6720 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

bfd bind peer-ipv6 (upgrade-compatible command)

Function

The bfd bind peer-ipv6 command creates a BFD6 session to test an IPv6 link.

By default, no BFD6 session is created to test an IPv6 link.

Format

bfd bfd-name bind peer-ipv6 peer-ipv6 [ vpn6-instance vpn6-instance-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ]

Parameters

Parameter Description Value
bfd-name Specifies a BFD6 session name. The value is a string of 1 to 15 characters, spaces not supported.
peer-ipv6 peer-ipv6 Specifies the peer IPv6 address that is to be bound to a BFD6 session. -
vpn6-instance vpn6-instance-name Specifies the name of the VPN instance that is bound to a BFD6 session. If no VPN instance is specified, the peer IP address is regarded as a public IP address. The value is a string of 1 to 31 characters.
interface interface-type interface-number Specifies the local Layer 3 interface that is bound to a BFD6 session. -
source-ipv6 ipv6-address

Specifies the source IPv6 address carried in BFD packets. Generally, you do not need to configure this parameter.

If no source IPv6 address is specified, the device specifies one based on the following situations:
  • During BFD for IPv6 negotiation, the device searches for the IPv6 address of an outbound interface that connects to the peer in the local routing table as the source IPv6 address before sending BFD packets.
  • During BFD for IPv6 detection, the device sets the source IPv6 address to a fixed value.
NOTE:

BFD works with unicast reverse path forwarding (URPF). When URPF checks the source IPv6 address in received packets, you must manually set the source IPv6 address for the BFD packets.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

It is replaced by the bfd bfd-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ] command.

Example

# Create a BFD6 session named test to test the single-hop link.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] quit
[HUAWEI] bfd test bind peer-ipv6 2001::1 vpn6-instance vpn1 interface gigabitethernet 0/0/1
[HUAWEI-bfd-session-test] discriminator local 1
[HUAWEI-bfd-session-test] discriminator remote 2
[HUAWEI-bfd-session-test] commit

display bfd statistics session (upgrade-compatible command)

Function

The display bfd statistics session command displays BFD statistics.

Format

display bfd statistics session peer-ipv6 peer-ipv6 [ { vpn-instance | vpn6-instance } vpn-instance-name ]

Parameters

Parameter Description Value
peer-ipv6 peer-ipv6 Displays statistics about a BFD6 session bound to a specified peer IPv6 address. -
{ vpn-instance | vpn6-instance } vpn-instance-name Displays statistics about a BFD6 session bound to a specified VPN instance. The value must be an existing VPN instance name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

It is replaced by the display bfd statistics session peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] command.

display bfd session (upgrade-compatible command)

Function

The display bfd session command displays information about BFD sessions.

Format

display bfd session peer-ipv6 peer-ipv6 [ { vpn-instance | vpn6-instance } vpn-instance-name ] [ verbose ]

Parameters

Parameter Description Value
peer-ipv6 peer-ipv6 Displays the configuration of a BFD6 session bound to a specified peer IPv6 address. -
{ vpn-instance | vpn6-instance } vpn-instance-name Displays information about a BFD6 session bound to a specified VPN instance. The value must be an existing VPN instance name.
verbose Displays detailed information about the BFD6 configuration. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

It is replaced by the display bfd session peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ verbose ] command.

display bfd configuration (upgrade-compatible command)

Function

The display bfd configuration command displays configurations of BFD sessions.

Format

display bfd configuration peer-ipv6 peer-ipv6 [ { vpn-instance | vpn6-instance } vpn6-instance-name ] [ verbose ]

Parameters

Parameter Description Value
peer-ipv6 peer-ipv6 Displays the configuration of a BFD6 session bound to a specified peer IPv6 address. -
{ vpn-instance | vpn6-instance } vpn6-instance-name Displays the configuration of a BFD6 session bound to a specified VPN instance The value must be an existing VPN instance name.
verbose Displays detailed information about BFD6 configurations. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

It is replaced by the display bfd configuration peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ verbose ] command.

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.

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

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

GE interface view, XGE 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

GE interface view, XGE 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.

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

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-04-18

Document ID: EDOC1000178165

Views: 42479

Downloads: 1107

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