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

S12700 V200R013C00 Command Reference

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).
Ethernet Switching Compatible Commands

Ethernet Switching Compatible Commands

Link Aggregation Compatible Commands

mode lacp-static (upgrade-compatible command)

Function

The mode command configures the LACP mode of an Eth-Trunk.

Format

mode lacp-static

Parameters

none

Views

Eth-Trunk 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 mode lacp command.

lacp e-trunk system-id (Eth-Trunk interface view) (upgrade-compatible command)

Function

The lacp e-trunk system-id command configures the Link Aggregation Control Protocol (LACP) system ID of an E-Trunk.

The undo lacp e-trunk system-id command deletes the LACP system ID of an E-Trunk.

By default, the LACP system ID is the Ethernet MAC address of the Main Processing Unit (MPU).

Format

lacp e-trunk system-id mac-address

undo lacp e-trunk system-id

Parameters

Parameter Description Value
system-id mac-address Specifies the LACP system ID of the E-Trunk. The value is in the format of H-H-H. An H contains 1 to 4 hexadecimal digits, such as 00e0 and fc01. If an H contains fewer than four digits, 0s are padded ahead. For example, if an H is specified as e0, it is displayed as 00e0. The LACP system ID cannot be all 0s or all Fs.
NOTE:

The LACP system ID cannot be all 0s.

If the value is all Fs, it indicates that the LACP system ID is restored to the default.

Views

Eth-Trunk 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 lacp system-id mac-address command.

QinQ Compatible Commands

nest top-most vlan-id (upgrade-compatible command)

Function

The nest top-most vlan-id command configures an action of adding an outer VLAN tag in a traffic behavior.

By default, an action of adding an outer VLAN tag is not configured in a traffic behavior.

Format

nest top-most vlan-id vlan-id

Parameters

Parameter

Description

Value

vlan-id

Specifies the VLAN ID in the outer VLAN tag.

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

Views

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

After the upgrade, it is replaced by the add-tag vlan-id command.

STP Compatible Commands

stp tc-protection (upgrade-compatible command)

Function

The stp tc-protection command enables the trap function for the Topology Change (TC) BPDU protection.

The undo stp tc-protection command disables the trap function for the TC BPDU protection.

By default, the trap function for the TC BPDU protection is disabled.

Format

stp tc-protection

undo stp tc-protection

Parameters

None

Views

System view or MST process region view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The TC attack defense function is enabled by default, you can run the stp tc-protection interval command to set the time that a device needs to process the maximum number of TC BPDUs which is configured using the stp tc-protection threshold command. If there are packets exceeding the maximum number, the switch processes the packets after the time specified in the stp tc-protection interval command expires. For example, if the time is set to 10 seconds and the maximum number is set to 5, when a switch receives TC BPDUs, the switch processes only the first 5 TC BPDUs within 10 seconds and processes the other TC BPDUs after the time expires. In this way, the device does not frequently update its MAC address entries and ARP entries, reducing CPU usage.

To learn about detailed processing information on TC BPDUs, run the stp tc-protection command to enable the trap function for the TC BPDU protection. After the function is enabled, MSTP_1.3.6.1.4.1.2011.5.25.42.4.2.15 hwMstpiTcGuarded and MSTP_1.3.6.1.4.1.2011.5.25.42.4.2.16 hwMstpProTcGuarded are generated.

Precautions

The trap function for the TC BPDU protection takes effect only when the snmp-agent trap enable feature-name mstp and stp tc-protection are both run.

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 125964

Downloads: 88

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