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

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

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).
Hardware Configuration Commands

Hardware Configuration Commands

assign forward layer-3 interface mode

Function

The assign forward layer-3 interface mode command sets the large Layer 3 interface mode.

The undo assign forward layer-3 interface mode command deletes the large Layer 3 interface mode.

By default, the large Layer 3 interface mode is not configured.

NOTE:

Only the CE6870EI supports this function.

Format

assign forward layer-3 interface mode

undo assign forward layer-3 interface mode

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, a maximum of 8,000 Layer 3 interfaces can be created on a switch. After the assign forward layer-3 interface mode command is executed to enable the large Layer 3 interface mode, you can increase the maximum number of Layer 3 interfaces to 320,000. However, if the ARP resource mode is extended mode, a maximum of 8,000 Layer 3 interfaces can be created.

Layer 3 interfaces share chip resources with Layer 2 VLANs and bridge domains (BDs), so Layer 3 interfaces include VLANs, BDs, main interfaces, Layer 3 sub-interfaces, and tunnel interfaces. Layer 2 VLANs and BDs will occupy chip resources once being created, even if no VLANIF or VBDIF Layer 3 interfaces are created.

Precautions

The assign forward layer-3 interface mode command takes effect after the switch is restarted.

Example

# Set the large Layer 3 interface mode.

<HUAWEI> system-view
[~HUAWEI] assign forward layer-3 interface mode

assign forward layer-3 resource

Function

The assign forward layer-3 resource command sets the Layer 3 resource allocation mode.

The undo assign forward layer-3 resource command restores the default Layer 3 resource allocation mode.

By default, the Layer 3 resource allocation mode is the standard mode.

NOTE:

Only the CE6855HI, CE6856HI and CE7855EI support the configuration.

Format

assign forward layer-3 resource { standard | large-underlay | large-overlay }

undo assign forward layer-3 resource { standard | large-underlay | large-overlay }

Parameters

Parameter Description Value
standard

Sets the Layer 3 resource allocation mode to standard.

-
large-underlay

Sets the Layer 3 resource allocation mode to large-underlay.

-
large-overlay

Sets the Layer 3 resource allocation mode to large-overlay.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Layer 3 resources Underlay and Overlay will affect ARP entry specifications, ND entry specifications, ECMP entry specifications, next-hop entry specifications, and Layer 3 interface entry specifications. In large-underlay mode, the device has higher common entry specifications. In large-overlay mode, the device has higher VXLAN Overlay entry specifications.

Precautions

The assign forward layer-3 resource command takes effect after the switch is restarted.

After the Layer 3 resource allocation mode is set to large-underlay using the assign forward layer-3 resource command, the Layer 3 VXLAN function is unavailable.

Example

# Set the Layer 3 resource allocation mode to large-underlay.

<HUAWEI> system-view
[~HUAWEI] assign forward layer-3 resource large-underlay

backup device elabel

Function

The backup device elabel command backs up electronic labels of the device to the flash memory.

The backup device elabel ftp command backs up electronic labels of the device to a specified FTP server.

The backup device elabel tftp command backs up electronic labels of the device to a specified TFTP server.

Format

backup device elabel [ slot slot-id [ card card-id ] ] filename

backup device elabel [ slot slot-id [ card card-id ] ] ftp ftp-server-address filename username

backup device elabel [ slot slot-id [ card card-id ] ] tftp tftp-server-address filename

Parameters

Parameter Description Value
slot slot-id

Specifies the stack ID of the device of which electronic labels need to be saved.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

card card-id

Specifies the card ID.

The value is an integer or a string of characters. You can enter a question mark (?) and select a value from the displayed value range.

filename

Specifies the name of the file that stores electronic labels.

The value is a string of 5 to 28 case-sensitive characters without spaces.

ftp-server-address

Specifies the IP address of the FTP server that stores electronic labels.

The value is in dotted decimal notation.

username

Specifies the user name used to log in to the FTP server.

The value is a string of 1 to 20 case-sensitive characters without spaces.

tftp-server-address

Specifies the IP address of the TFTP server that stores electronic labels.

The value is in dotted decimal notation.

Views

User view, system view

Default Level

3: Management level

Usage Guidelines

When electronic labels are stored on a device, use the backup device elabel command to save electronic labels to a file. This file can be saved to the flash memory, to the FTP server using FTP, or to the TFTP server using TFTP.

Example

# Save electronic labels of the device to the elabel.fls file in the flash memory.

<HUAWEI> backup device elabel elabel.fls

# Save electronic labels of the device to FTP server 192.168.12.91. Set the FTP user name to ftpuser and password to Hello@123. Save electronic labels in the elabel.fls file.

<HUAWEI> backup device elabel ftp 192.168.12.91 elabel.fls ftpuser
Enter password:

# Save electronic labels of the device to the elabel.fls file on TFTP server 192.168.12.91.

<HUAWEI> backup device elabel tftp 192.168.12.91 elabel.fls
Related Topics

device board

Function

The device board command creates offline devices.

The undo device board command deletes offline devices.

By default, no offline devices exist in the system.

Format

device board slot-id board-type board-type

undo device board slot-id [ board-type board-type ]

Parameters

Parameter Description Value
slot-id

Specifies the ID of an offline device.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.
board-type board-type

Specifies the type of offline devices.

The value is a string of characters. You can enter a question mark (?) and select a value from the displayed value range.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Pre-configuring devices allows you to configure physical devices before they go online and also to centrally deploy services on these devices. You can create offline devices and then deploy services on these devices.

After deploying services, you can install hardware components as planned. If a correct hardware component is installed in the correct position, services are activated successfully. If an incorrect hardware component is installed, the system processes the hardware component based on the configured conflicting policy.
  • If the installed hardware component takes precedence in the conflicting policy, the system deletes the pre-configuration and the configuration on the installed hardware component takes effect.
  • If the pre-configuration takes precedence in the conflicting policy, the system retains the pre-configuration and the installed hardware component cannot be registered or work properly. In this case, you must replace a correct hardware component or modify the pre-configuration.
To configure conflicting policies, run the device conflict-policy keep-config command.

Precautions

  • After physical devices go online, the system creates corresponding offline devices. Therefore, if physical devices are online, you can deploy services without having to create offline devices.

  • The type of offline devices to be created must be supported by physical devices.

  • Only one offline device can be configured in a slot, and offline devices cannot be replaced. To replace an offline device, you must delete the device and then run the device board command to create a new offline device.

  • Before using this command to pre-configure a leaf switch of an SVF system, you must run the port bind member member-id command in the fabric port view to bind a leaf ID to the fabric port.

Example

# Create an offline device.

<HUAWEI> system-view
[~HUAWEI] device board 2 board-type ce6850-48s4q-ei

device card

Function

The device card command creates an offline subcard.

The undo device card command deletes an offline subcard.

By default, no offline subcards exist in the system.

NOTE:

Only the CE8860EI supports this command.

Format

device card slot-id/card-id card-type card-type

undo device card slot-id/card-id [ card-type card-type ]

Parameters

Parameter Description Value
slot-id/card-id Specifies the slot ID of an offline subcard. slot-id specifies the device's stack ID, while card-id specifies the subcard's slot ID. The value is a string of characters. You can enter a question mark (?) and select a value from the displayed value range.
card-type card-type

Specifies the type of an offline subcard.

The value is a string of characters. You can enter a question mark (?) and select a value from the displayed value range.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can pre-configure offline physical devices and deploy services on these devices in a unified manner. You can create offline subcards and then deploy services on these subcards.

After deploying services, you can install hardware components as planned. If a correct hardware component is installed in the correct position, services are activated successfully. If an incorrect hardware component is installed, the system processes the hardware component based on the configured conflicting policy.
  • If the installed hardware component takes precedence in the conflicting policy, the system deletes the pre-configuration and the configuration on the installed hardware component takes effect.
  • If the pre-configuration takes precedence in the conflicting policy, the system retains the pre-configuration and the installed hardware component cannot be registered or work properly. You must replace a correct hardware component or modify the pre-configuration.
To configure conflict policies, run the device conflict-policy keep-config command.

Precautions

  • After physical subcards go online, the system creates corresponding offline subcards. Therefore, if physical subcards are online, you can deploy services without having to create offline subcards.

  • The type of offline subcards to be created must be supported by physical devices.

  • Only one offline subcard can be configured in a slot, and offline subcards cannot be replaced. To replace an offline subcard, you must delete the subcard and then run the device card command to create a new offline subcard.

Example

# Create an offline subcard.

<HUAWEI> system-view
[~HUAWEI] device card 1/1 card-type ce88-d16q

display device id-led

Function

The display device id-led command displays the status of the device ID indicator.

Format

display device id-led

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display device id-led command to view the current status of the device ID indicator.

Example

# Display the status of the device ID indicator.

<HUAWEI> display device id-led
ID-LED Status:                                                                 
  On  - LED is turned on to help find the device.                               
  Off - LED is turned off.                                                      
--------------------------------------------                                    
Slot   Type               ID-LED Status                                         
--------------------------------------------                                    
1      CE6850-48T4Q-EI    Off                                                   
--------------------------------------------
Table 5-21  Description of the display device id-led command output

Item

Description

Slot

Stack ID of the device.

Type

Device model.

ID-LED Status

Status of the device ID indicator:
  • on: indicates that the device ID indicator is steady blue.

  • off: indicates that the device ID indicator is off.

Related Topics

display forward layer-3 resource

Function

The display forward layer-3 resource command displays the Layer 3 resource allocation mode.

NOTE:

Only the CE6855HI, CE6856HI and CE7855EI support this command.

Format

display forward layer-3 resource

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display forward layer-3 resource command to view the current and next startup Layer 3 resource allocation modes.

Example

# Display the Layer 3 resource allocation mode.

<HUAWEI> display forward layer-3 resource
System Layer-3 Resource Mode:
--------------------------------------
CurrentMode         NextMode
--------------------------------------
Standard            Standard
Table 5-22  Description of the display forward layer-3 resource command output

Item

Description

CurrentMode

Current Layer 3 resource allocation mode.

NextMode

Next startup Layer 3 resource allocation mode.

display forward synchronization timer information

Function

The display forward synchronization timer information command displays the entry synchronization/check time.

Format

display forward synchronization timer information

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can run the display forward synchronization timer information command to check the entry synchronization/check time, including the last and next synchronization/check start time.

Example

# Display the entry synchronization/check time.

<HUAWEI> system-view
[~HUAWEI] display forward synchronization timer information 
Entry Synchronization Information
-----------------------------------------------------------------
Last entry synchronization:2014-02-25 13:24:09
Next entry synchronization:2014-02-26 04:00:00 
----------------------------------------------------------------
Table 5-23  Description of the display forward synchronization timer information command output

Item

Description

Last entry synchronization

Last entry synchronization/check start time.

Next entry synchronization

Next entry synchronization/check start time.

display snmp-agent trap feature-name devm all

Function

The display snmp-agent trap feature-name devm all command displays whether all DEVM traps are enabled.

Format

display snmp-agent trap feature-name devm all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name devm all command to check status of all DEVM traps. This status can be configured using the snmp-agent trap enable feature-name devm command.

Example

# View whether all DEVM traps are enabled.

<HUAWEI> display snmp-agent trap feature-name devm all
------------------------------------------------------------------------------
Feature name: DEVM
Trap number : 34
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
hwBoardFail                    on                      on
hwBoardFailResume              on                      on
hwBoardInvalid                 off                     off
hwBoardInvalidResume           off                     off
......
Table 5-24  Description of the display snmp-agent trap feature-name devm all command output

Item

Description

Feature name

Name of the module where the trap is generated

Trap number

Number of traps.

Trap name

Name of trap.

Default switch status

Default status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name devm command.

display snmp-agent trap feature-name driver all

Function

The display snmp-agent trap feature-name driver all command displays whether all DRIVER traps are enabled.

Format

display snmp-agent trap feature-name driver all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name driver all command to check status of all DRIVER traps. This status can be configured using the snmp-agent trap enable feature-name driver command.

Example

# View whether all DRIVER traps are enabled.

<HUAWEI> display snmp-agent trap feature-name driver all
------------------------------------------------------------------------------
Feature name: DRIVER
Trap number : 5
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
hwBoardBecomeMaster            on                      on
hwBoardLeaveMaster             on                      on
hwBoardSoftwareException       on                      on
hwBoardSplitPorts              on                      on
hwEntityDyingGaspEvent         on                      on
Table 5-25  Description of the display snmp-agent trap feature-name driver all command output

Item

Description

Feature name

Name of the module where the trap is generated

Trap number

Number of traps.

Trap name

Name of trap.

Default switch status

Default status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name driver command.

display snmp-agent trap feature-name fei all

Function

The display snmp-agent trap feature-name fei all command displays whether all FEI traps are enabled.

Format

display snmp-agent trap feature-name fei all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name fei all command to check status of all FEI traps. This status can be configured using the snmp-agent trap enable feature-name fei command.

Example

# View whether all FEI traps are enabled.

<HUAWEI> display snmp-agent trap feature-name fei all
------------------------------------------------------------------------------                                                      
Feature name: FEI                                                                                                                   
Trap number : 22                                                                                                                    
------------------------------------------------------------------------------                                                      
Trap name                      Default switch status   Current switch status                                                        
hwBdMacLimitOverThresholdAlarm on                      on                                                                           
hwBdMacLimitOverThresholdAlarmResume                                                                                                
                               on                      on                                                                           
hwBoardResThresholdExceed      off                     on                                                                           
hwBoardResThresholdExceedResume                                                                                                     
                               off                     on                                                                           
hwBoardResWarningThresholdExceed                                                                                                    
                               off                     on                                                                           
hwBoardResWarningThresholdExceedResume                                                                                              
                               off                     on                                                                           
hwL2ProtocolTunnelDropThresholdFalling                                                                                              
                               off                     on                                                                           
hwL2ProtocolTunnelDropThresholdRaising                                                                                              
                               off                     on                                                                           
hwLCFwdPafNonSupport           off                     on                                                                           
hwLCFwdPafNonSupportResume     off                     on                                                                           
hwMacLimitOverThresholdAlarm   on                      on                                                                           
hwMacLimitOverThresholdAlarmResume                                                                                                  
                               on                      on                                                                           
hwMacTrapPortCfgAlarm          on                      on                                                                           
hwMflpBdAlarm                  on                      on                                                                           
hwMflpBdAlarmResume            on                      on                                                                           
hwMflpBdPeriodicTrap           on                      on                                                                           
hwMflpVlanLoopPeriodicTrap     on                      on                                                                           
hwPortSecRcvInsecurePktAlarm   on                      on                                                                           
hwXQoSStormControlAlarm        on                      on                                                                           
hwXQoSStormControlAlarmResume  on                      on                                                                           
hwXQoSStormSuppressSlotAlarm   on                      on                                                                           
hwXQoSStormSuppressSlotAlarmResume                                                                                                  
                               on                      on
Table 5-26  Description of the display snmp-agent trap feature-name fei all command output

Item

Description

Feature name

Name of the module where the trap is generated

Trap number

Number of traps.

Trap name

Name of trap.

Default switch status

Default status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of a trap

  • on: The trap function is enabled.
  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name fei command.

display snmp-agent trap feature-name system all

Function

The display snmp-agent trap feature-name system all command displays the status of all the traps of the SYSTEM module.

Format

display snmp-agent trap feature-name system all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name system all command to check status of all SYSTEM traps. This status can be configured using the snmp-agent trap enable feature-name system command.

Example

# Display the status of all the traps of the SYSTEM module.

<HUAWEI> display snmp-agent trap feature-name system all
------------------------------------------------------------------------------
Feature name: SYSTEM
Trap number : 19
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
hwBoardHeartbeatResume         on                      on
hwBoardHeartbeatTimeout        on                      on
hwCPUUtilizationResume         on                      on
hwCPUUtilizationRisingAlarm    on                      on
hwPatchErrorTrap               off                     off
hwPatchInstallFail             on                      on
hwPatchInstallFailClear        on                      on
hwPatchUpdateTrap              off                     off
hwStorageUtilizationResume     on                      on
hwStorageUtilizationRisingAlarm
                               on                      on
hwSumUpgradeSuccess            on                      on
hwSysClockChangedNotification  off                     off
hwSysImageErrorNotification    off                     off
hwSysIssuNotification          off                     off
hwSysReloadNotification        off                     off
hwSysSlaveSwitchFailNotification
                               off                     off
hwSysSlaveSwitchSuccessNotification
                               off                     off
hwSystemConfigError            on                      on
hwSystemConfigResume           on                      on
Table 5-27  Description of the display snmp-agent trap feature-name system all command output

Item

Description

Feature name

Name of the module where the trap is generated.

Trap number

Number of traps.

Trap name

Name of trap.

Default switch status

Default status of a trap:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

Current switch status

Current status of a trap:

  • on: The trap function is enabled.
  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name system command.

display switchover state

Function

The display switchover state command displays information about active and standby switchover, which helps check whether the stack meets switchover requirements.

Format

display switchover state

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Precautions

In a stack containing multiple switches, you can run the display switchover state command to view the status of master and standby switches to determine whether to perform an active/standby switchover. You can perform an active/standby switchover only when the stack is ready for the switchover.

Example

# Display information about active and standby switchover, which helps check whether the stack meets switchover requirements.

<HUAWEI> display switchover state
   Switchover State  :  Ready
   Switchover Policy :  Board Switchover
   MainBoard         :  1
   SlaveBoard        :  2
Table 5-28  Description of the display switchover state command output

Item

Description

Switchover State

System backup status, for example:
  • Ready: Active/standby switchover can be performed.

  • No slave: There is no standby card.

  • BatchBackup: Cards are backing up data in batches.

  • Configuration is not Commited: The configuration is not committed.

  • Slave Fault (Causation): The slave card status is incorrect. The value of Causation includes:
    • MBUS fault on slave board: The MBus status of the standby MPU is incorrect.

    • Third-clock fault on slave board: The stratum-3 clock status of the standby MPU is incorrect.

    • Ether channel fault on slave board: The intra-chassis communication status of the standby MPU is incorrect.

    • Ether channel fault on slave board: The intra-chassis communication status of the standby MPU is incorrect.

  • Router internal process failure: An internal processing failure occurs.

Switchover Policy

Active/standby switchover policy. Card Switchover: device-based switchover.

MainBoard

Stack ID of the master switch.

SlaveBoard

Stack ID of the standby switch.

display system encapsulation-database resource

Function

The display system encapsulation-database resource command displays encapsulation database resource information.

NOTE:

Only the CE6870EI and CE6880EI support this command.

Format

display system encapsulation-database resource [ slot { slot-id | all } ]

Parameters

Parameter Description Value
slot slot-id

Displays encapsulation database resource information of the specified device.

If slot-id or all is not specified, global encapsulation database resource information is displayed.

NOTE:

The CE6880EI does not support this parameter.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

slot all

Displays encapsulation database resource information of all devices.

NOTE:

The CE6880EI does not support this parameter.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

The encapsulation database is a type of chip forwarding resources. Encapsulation database resources must be allocated during the configuration of forwarding services. When encapsulation database resources are insufficient, the configuration may be unable to take effect. You can run the display system encapsulation-database resource command to check encapsulation database resource information and then configure services accordingly.

Example

# (On the CE6870EI) Display encapsulation database resource information of a device.

<HUAWEI> display system encapsulation-database resource
Type:
P - PWE encapsulation
T - IP&MPLS tunnel encapsulation
L - Link-layer encapsulation
V - VLAN encapsulation
R - RIOT encapsulation
J - Incompatible mode
Detailed Resource Information:
----------------------------------------------------------------------------------
Group    Type   BankID    Total    Used    Interface
----------------------------------------------------------------------------------
12288    J           8     4096     208    all
----------------------------------------------------------------------------------
Free Banks Information:
----------------------------------------------------------------------------------
SlotID       ChipID           BankID
----------------------------------------------------------------------------------
1/1               0           0-7,9-63
1/2               0           0-7,9-63
# (On the CE6880EI) Display encapsulation database resource information of a device.
<HUAWEI> display system encapsulation-database resource
Detailed Resource Information:
----------------------------
BankID    Total    Used
----------------------------
0          8191       0
1          8192       0
2          8192       0
3          8192       0
Table 5-29  Description of the display system encapsulation-database resource command output

Item

Description

Type

Resource group type.

P - PWE encapsulation

P: indicates that resources in the resource group are used for PWE services.

T - IP&MPLS tunnel encapsulation

T: indicates that resources in the resource group are used for IP tunnel, MPLS tunnel, and mirroring services.

L - Link-layer encapsulation

L: indicates that resources in the resource group are used for ARP, ND, and TRILL services.

V - VLAN encapsulation

V: indicates that resources in the resource group are used for VLAN services.

R - RIOT encapsulation

R: indicates that resources in the resource group are used for Routing In and Out of Tunnel (RIOT) services.

J - Incompatible mode

J: indicates that resources in the resource group are shared by various services.

Detailed Resource Information

Detailed information about allocated resources.

Group

Resource group.

BankID

Bank ID.

Total

Total number of resources in the resource group.

Used

Number of used resources in the resource group.

Interface

Interface that has used resources in the resource group.

Free Banks Information

Information about unallocated resources.

SlotID

Slot ID.

ChipID

Chip ID.

display system forwarding resource

Function

The display system forwarding resource command displays usage of chip key resources.

Format

(CE6870EI)display system forwarding resource { l2 | l3 | acl } { slot slot-id | all }

(CE6880EI)display system forwarding resource { slot slot-id | all }

(Switches except the CE6880EI)display system forwarding resource [ slot slot-id | all ]

Parameters

Parameter Description Value
l2 Displays usage of key resources in the data link layer. -
l3 Displays usage of key resources in the network layer. -
acl Displays usage of ACL resources. -
slot slot-id Displays usage of key resources in the specified slot.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

all Displays usage of key resources in all slots. -

Views

System view

Default Level

3: Management level

Usage Guidelines

You can run the display system forwarding resource command to view usage of key chip resources on a device or check whether hardware entries exceed the limit for fault location.

Example

# Display usage of chip key resources.(except the CE6880EI)

<HUAWEI> system-view
[~HUAWEI] display system forwarding resource slot 4
Local Common Hardware Forwarding Tables:
-------------------------------------------------------------------------------
Slot    Chip    Name                               Total  Remain    Used[   %]
-------------------------------------------------------------------------------
4       0       LEM                               262144  262142       2[  0%]
4       0        - MAC                                                 1[  0%]
4       0        - IP host                                             0[  0%]
4       0        - ILM                                                 1[  0%]
4       1       LEM                               262144  262136       8[  0%]
4       1        - MAC                                                 7[  0%]
4       1        - IP host                                             0[  0%]
4       1        - ILM                                                 1[  0%]
-------------------------------------------------------------------------------
4       0       LPM                                32768   32768       0[  0%]
4       0        - IPv4 UC                                             0[  0%]
4       0        - IPv4 MC                                             0[  0%]
4       0        - IPv6 UC                                             0[  0%]
4       0        - IPv6 MC                                             0[  0%]
4       1       LPM                                32768   32768       0[  0%]
4       1        - IPv4 UC                                             0[  0%]
4       1        - IPv4 MC                                             0[  0%]
4       1        - IPv6 UC                                             0[  0%]
4       1        - IPv6 MC                                             0[  0%]
-------------------------------------------------------------------------------
......

# Display usage of chip key resources.(CE6880EI)

<HUAWEI> system-view
[~HUAWEI] display system forwarding resource slot 4
Slot: 4 chip: 0  
------------------------------------------------------
Name                      Total    Remain    Used     
------------------------------------------------------
FIBV4                     81920     81912       8
FIBV6                     40960     40960       0
MFIBV4                    32768     32768       0
MFIBV6                     4096      4096       0
MAC                       98304     98304       0
SRE                       20480     20480       0
------------------------------------------------------
Qos Forwarding Resources
------------------------------------------------------
Name                      Total    Remain    Used 
------------------------------------------------------
BUFFER_CELL               49152     49152       0 
------------------------------------------------------
Table 5-30  Description of the display system forwarding resource command output

Item

Description

Slot

Slot ID.

Chip

Chip ID.

Name

Chip hardware table name, which varies depending on switch models.

Total

Total number of entries.

Remain

Number of available entries.

Used/Used[ %]

Number of used entries.

display system forwarding resource service

Function

The display system forwarding resource service command displays chip resource usage of services.

Format

display system forwarding resource service { slot slot-id | all }

Parameters

Parameter Description Value
slot slot-id Displays the resource usage of the card in a specified slot.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

all Displays the resource usage of all cards. -

Views

User view, system view

Default Level

1: Monitoring level

Usage Guidelines

You can run the display system forwarding resource service command to check chip resource usage on the switch or determine whether the number of hardware entry resources exceeds the threshold for fault location.

Example

# Display chip resource usage of services.

<HUAWEI> display system forwarding resource service slot 1
Current system support forwarding template : {default}
Configured forwarding template             : default
--------------------------------------------------------------------------
L2 and L3 Forwarding Resourses:

Slot  Chip  Service      Resource          Max        Used         Remain
--------------------------------------------------------------------------
1     0     VNI                           4000           0
1     0                  VSI                             0           4096
1     0     VPN-Instance                  1024           1
1     0                  VRF                             1           1023
1     0     MAC                         131072           1
1     0                  L2_ENTRY                        3         131069
1     0     ARP                          16384           0
1     0                  L3_ENTRY                        0           8192
1     0                  LPM                             0           8188
1     0                  NHP                             3          16380
1     0     ND                            4000           0
1     0                  L3_ENTRY                        0           8192
1     0                  NHP                             2          16380
1     0     FIBv4                        16384           8
1     0                  LPM                             4           8188
1     0     FIBv6                         8000           0
1     0                  LPM                             0           8188
---------------------------------------------------------------------------
ACL Resources:
Slot  Chip  TCAM      Stage          Resource        Max         Used
---------------------------------------------------------------------------
1     0     Internal  Pre-Ingress
1     0                              Slices            4            1
1     0                              Rules          1024            3
1     0               Ingress
1     0                              Slices           10            4
1     0                              Rules          2048           92
1     0               Egress
1     0                              Slices            4            0
1     0                              Rules          1024            0
----------------------------------------------------------------------------
Table 5-31  Description of the display system forwarding resource service command output

Item

Description

Current system support forwarding template

Forwarding resource mode supported by the system.

Configured forwarding template

Forwarding resource mode that takes effect currently.

L2 and L3 Forwarding Resourses

Layer 2 and Layer 3 forwarding resource information.

Slot

Slot ID.

Chip Chip ID.
Service Service name.
Resource Resource name.
Max Total number of resources.
Used Number of used resources.
Remain Number of remaining resources.
ACL Resources ACL resource information.
TCAM Built-in or external TCAM.
Stage Different stages during packet forwarding.

display system resource

Function

The display system resource command displays the system resource mode.

NOTE:

Only the CE5850EI, CE5855EI, CE6850HI, CE6850U-HI, CE6851HI, CE6855HI, CE6856HI, CE6860EI, CE6880EI, CE7850EI, CE7855EI, CE8850EI, CE8860EI support this command.

Format

display system resource

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None.

Example

# Display the system resource mode.

<HUAWEI> system-view
[~HUAWEI] display system resource
Current system forwarding templet : standard
Configured forwarding templet     : standard
Table 5-32  Description of the display system resource command output

Item

Description

Current system forwarding templet

Current resource mode.

Configured forwarding templet

Resource mode that takes effect after the next startup.

Related Topics

ip routing riot disable

Function

The ip routing riot disable command disables Routing In and Out of Tunnel (RIOT) from occupying Egress Encapsulation Database (EEDB) resources.

The undo ip routing riot disable command restores the default EEDB resource specifications of RIOT.

By default, RIOT can occupy EEDB resources of two banks.

NOTE:

Only the CE6870EI supports this function.

Format

ip routing riot disable

undo ip routing riot disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

EEDB is a type of chip forwarding resources, which must be allocated when forwarding services are configured. By default, EEDB resources of two banks are reserved for RIOT. If no RIOT services are deployed on the switch, disable RIOT from occupying EEDB resources so that other services can use EEDB resources reserved for RIOT. This operation can increase specifications of other services. For example, ARP specifications of a card can be increased from 80,000 to 88,000.

Currently, only Layer 3 VXLAN services require RIOT to use EEDB resources. After RIOT is disabled from occupying EEDB resources, Layer 3 VXLAN is not supported.

Precautions

The command configuration takes effect after the switch is restarted.

Example

# Configure EEDB resource specifications for RIOT.

<HUAWEI> system-view
[~HUAWEI] ip routing riot disable

power

Function

The power on command powers on a specified subcard.

The power off command powers off a specified subcard.

NOTE:

Only the CE8860EI supports the power-on and power-off of subcards.

Format

power on slot slot-id card card-id

power off slot slot-id card card-id

Parameters

Parameter Description Value
slot slot-id

Specifies the stack ID of a device.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

card card-id Specifies the slot ID of a subcard.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

Views

System view, user view

Default Level

3: Management level

Usage Guidelines

When a subcard is idle, you can power off the subcard without affecting services to ensure stable system operation and save energy.

Example

# Power off the subcard in slot 3.

<HUAWEI> power off slot 1 card 3
Related Topics

reset slot

Function

The reset slot command resets a specified device or subcard.

NOTE:

Only the CE8860EI supports the reset of subcards.

Format

reset slot slot-id [ card card-id ]

Parameters

Parameter Description Value
slot-id

Specifies the stack ID of the device that needs to be restarted.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

card card-id Specifies the slot ID of the subcard to be reset.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

Views

User view

Default Level

3: Management level

Usage Guidelines

You can reset the device or subcard. Resetting a device or subcard will interrupt services on the device or subcard.

Example

# Restart stack member with stack ID 1.

<HUAWEI> reset slot 1

set cpu threshold

Function

The set cpu threshold command sets the CPU usage alarm threshold and CPU usage alarm recovery threshold.

The undo set cpu threshold command restores the default CPU usage alarm threshold and CPU usage alarm recovery threshold.

By default, the CPU usage alarm threshold is 90% and the CPU usage alarm recovery threshold is 75%.

Format

set cpu threshold threshold-value [ restore restore-threshold-value ] [ interval interval-value ] [ slot slot-id ]

undo set cpu threshold [ threshold-value [ restore [ restore-threshold-value ] ] [ interval [ interval-value ] ] ] [ slot slot-id ]

Parameters

Parameter Description Value
threshold threshold-value

Specifies the CPU usage alarm threshold.

The value is an integer that ranges from 4 to 100.

restore restore-threshold-value

Specifies the CPU usage alarm recovery threshold.

The threshold is an integer that ranges from 1 to (threshold-value)-3.

interval interval-value Specifies a detection period. The value is an integer ranging from 1 to 60, in minutes. The default value is 8 and is recommended.
slot slot-id

Specifies the CPU usage threshold of a specified device. slot-id specifies the stack ID of the device.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can use the set cpu threshold command to set the CPU usage alarm threshold and CPU usage alarm recovery threshold. When CPU usage exceeds the alarm threshold, the system logs the event and generates an alarm. By viewing log information, you can learn about CPU usage. When CPU usage falls within the recovery threshold, the system generates a clear alarm.

Precautions

Default CPU usage alarm threshold and CPU usage alarm recovery threshold are recommended. If the CPU usage alarm threshold and CPU usage alarm recovery threshold are set too small, the system frequently generates alarms. If the CPU usage alarm threshold and CPU usage alarm recovery threshold are set too large, you cannot learn about CPU usage in a timely manner.

Example

# Set the CPU usage alarm threshold of the device to 85%.

<HUAWEI> system-view
[~HUAWEI] set cpu threshold 85
Related Topics

set device id-led

Function

The set device id-led command sets the status of a device ID indicator.

By default, a device ID indicator is off.

Format

set device id-led { on | off } [ slot slot-id ]

Parameters

Parameter Description Value
on

Specifies that the ID indicator is steady blue.

-
off

Specifies that the ID indicator is off.

-
slot slot-id

Sets the ID indicator status of a specified device. The slot-id is the stack ID of the device.

If the slot-id parameter is not specified, the ID indicator status of all member devices is set.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

Views

User view

Default Level

3: Management level

Usage Guidelines

When users need to locate and repair a device, you can run the set device id-led command to remotely set the status of the device ID indicator to help onsite users quickly find the device.

Example

# Set the ID indicator on a device to steady blue.

<HUAWEI> set device id-led on
Related Topics

set device power manage cycle

Function

The set device power manage cycle command sets the interval for updating power consumption data.

The undo set device power manage cycle command restores the default interval for updating power consumption data.

By default, the interval for updating power consumption data is 1 hour.

Format

set device power manage cycle cycle-id

undo set device power manage cycle [ cycle-id ]

Parameters

Parameter Description Value
cycle-id

Sets the interval for updating power consumption data.

The value is an integer that ranges from 1 to 6.
  • 1: 15 minutes

  • 2: 30 minutes

  • 3: 1 hour

  • 4: 1 day

  • 5: 1 week

  • 6: 30 days

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The average power consumption of a device is the average power consumption within a period of time. You can use the set device power manage cycle command to set the interval for calculating the average power consumption. To obtain real-time power consumption, set a short interval.

Example

# Set the interval for updating power consumption data to 30 minutes.

<HUAWEI> system-view
[~HUAWEI] set device power manage cycle 2

set forward synchronization timer

Function

The set forward synchronization timer command configures the entry synchronization/check time.

The undo set forward synchronization timer command restores the default entry synchronization/check time.

The set forward synchronization timer disable command disables the entry synchronization/check function.

The undo set forward synchronization timer disable command enables the entry synchronization/check function.

By default, the entry synchronization/check function is enabled, and entry synchronization/check is performed at 04:00:00 every day.

Format

set forward synchronization timer time syntime

undo set forward synchronization timer time

set forward synchronization timer disable [ slot slot-id | all ]

undo set forward synchronization timer disable [ slot slot-id | all ]

Parameters

Parameter Description Value
time syntime Specifies the entry synchronization/check time. The value is in HH:MM:SS format.
slot slot-id

Enables or disables the entry synchronization/check function for a specified device.

If both slot slot-id and all are not specified, the entry synchronization/check function is enabled or disabled for the master switch.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

all

Enables or disables the entry synchronization/check function for all devices.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Entry synchronization/check is performed between different modules of the system to ensure entry consistency between the control and forwarding planes and between data administrators and data users.

Entry synchronization is usually triggered by conditions such as component startup, active/standby switchover, mis-sequencing, recovery from insufficient resources, and periodic timer. Synchronization typically lasts a short period because service entries of upstream and downstream modules are fast synchronized.

Entry check is periodically triggered by component startup. This operation lasts a long period because it is performed slowly to avoid affecting real-time service entry delivery.

The following describes the entry synchronization/check process:
  1. A downstream module initiates a synchronization/check request to an upstream module.
  2. The upstream module sends data to the downstream module.
  3. The entry synchronization/check is finished.
A switch has the following modules:
  • Protocol control module: generates control data entries based on protocol configuration and protocol information and delivers data entries to the data management module.
  • Data management module: centrally manages data entries of the switch and allows each module to subscribe to entries from it.
  • Resource management module: generates forwarding plane entries based on the chip resources requested by control data entries and then delivers forwarding plane entries to the data management module.
  • Forwarding engine module: subscribes to forwarding plane entries from the data management module and delivers the entries to chips.
Figure 5-1  Entry synchronization/check between different modules
Entry synchronization/check includes the following:
  • Entry synchronization/check between the protocol control module and data management module:

    Protocol modules such as routing management, multicast, and PIM perform entry synchronization/check with the data management module. This entry synchronization/check operation starts since the switch starts successfully and is triggered once every 1 hour.

  • Entry synchronization/check between the data management module and resource management module

    This entry synchronization/check operation is triggered once every day at 04:00:00 by default. You can also run the set forward synchronization timer time syntime command to set the entry synchronization/check time or run the set forward synchronization timer disable command to disable the entry synchronization/check function.

  • Entry synchronization/check between the data management module and forwarding engine module

    The data management module delivers chip entries of the data management plane to the forwarding engine module, and then the forwarding engine module determines whether to update the entries to the hardware based on its saved data. This entry synchronization/check operation is triggered once every day between 04:50:00 and 05:00:00. You can run the set forward synchronization timer disable slot slot-id command to disable the entry synchronization/check function. In V100R006C00 and earlier version, this function cannot be disabled using this command.

Example

# Configure entry synchronization/check of an MPU to be performed at 03:00:00 every day.

<HUAWEI> system-view
[~HUAWEI] set forward synchronization timer time 03:00:00

set memory threshold

Function

The set memory threshold command sets the memory usage alarm threshold and memory usage alarm recovery threshold.

The undo set memory threshold command restores the default memory usage threshold.

By default, the memory usage alarm threshold is 95% and the memory usage alarm recovery threshold is 75%.

Format

set memory threshold threshold-value [ restore restore-threshold-value ] [ slot slot-id ]

undo set memory threshold [ slot slot-id ]

Parameters

Parameter Description Value
threshold threshold-value

Specifies the memory usage alarm threshold.

The value is an integer that ranges from 50 to 100. The default value is 95.

restore restore-threshold-value

Specifies the memory usage alarm recovery threshold.

The threshold is an integer that ranges from 1 to (threshold-value)-3. By default, the value is 75.

slot slot-id

Specifies the memory usage threshold of a specified device. slot-id specifies the stack ID of the device.

The value is an integer. You can enter a question mark (?) and select a value from the displayed value range.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can use the set memory threshold command to set the memory usage threshold. When memory usage exceeds the alarm threshold, the system logs the event and generates an alarm. By viewing log information, you can learn about memory usage. When memory usage falls within the recovery threshold, the system generates a clear alarm.

Precautions

You are advised to use the default memory usage alarm threshold and memory usage alarm recovery threshold. If the memory usage threshold is set too low, the system frequently generates alarms. If the memory usage threshold is set too high, you cannot learn about memory usage in a timely manner.

Example

# Set the memory usage threshold of the device to 85%.

<HUAWEI> system-view
[~HUAWEI] set memory threshold 85

set system mac-address mac-num

Function

The set system mac-address mac-num command configures the device's MAC address.

The undo set system mac-address command restores the factory MAC address.

By default, the device is assigned a default MAC address upon delivery.

Format

set system mac-address mac-address mac-num mac-num

undo set system mac-address [ mac-address mac-num mac-num ]

Parameters

Parameter Description Value
mac-address

Specifies the MAC address of a device.

The value is in H-H-H format, where H is a hexadecimal number of 1 to 4 digits.
mac-num

Specifies the number of MAC addresses of a device.

The value is 1 or 16. By default, the number of MAC addresses of a device is 16.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Billions of devices exist on global networks, and each device has a MAC address. Theoretically, each device has a unique MAC address. However, MAC address conflicts may occur because of incorrect MAC address configuration. In addition, you may need to use a specified MAC address for a device. In these situations, you need to change the device's current MAC address.

Precautions

  • The configured MAC address takes effect after the device restarts.

  • The device's MAC address cannot be all 0s, all 1s, a multicast MAC address, or an invalid unicast MAC address.

  • If the number of MAC addresses is 16, the last hexadecimal digit of these MAC addresses must be 0.

  • The device's MAC address cannot be a MAC address in the MAC address table.
  • The device's MAC address cannot be 0000-5e00-01XX or 0000-5e00-02XX.
  • The set system mac-address mac-num command is mutually exclusive with the set system mac-address slot slot-id command that sets the stack system MAC address. You cannot execute both commands on the same device.

Example

# Set the MAC address of the device.

<HUAWEI> system-view
[~HUAWEI] set system mac-address 0025-9e95-7c20 mac-num 16

set system forwarding-engine

Function

The set system forwarding-engine command enables the user log and alarm-first function for forwarding chip events.

The undo set system forwarding-engine command disables the user log and alarm-first function for forwarding chip events.

By default, diagnostic logs instead of user logs are recorded for forwarding chip events, and the alarm-first function is disabled.

Format

set system forwarding-engine { event-log | failure-log | alarm-first } *

undo set system forwarding-engine [ event-log | failure-log | alarm-first ] *

Parameters

Parameter Description Value
event-log Enables or disables the log function for forwarding chip soft failures. -
failure-log Enables or disables the log function for failures to recover from forwarding chip soft failures. -
alarm-first Enables or disables the alarm-first function for forwarding chip events. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can run the set system forwarding-engine command to enable the user log or alarm-first function for forwarding chip events.
  • event-log: enables the log function for forwarding chip soft failures. The log is "FEI/6/SDK_SER_EVENT_LOG".

  • failure-log: enables the log function for failures to recover from forwarding chip soft failures. The log is "FEI/6/SDK_SER_FAILURE_LOG".

  • alarm-first: enables the alarm-first function for forwarding chip events. The alarm is "DEVM_1.3.6.1.4.1.2011.5.25.219.2.2.3 hwBoardFail" with the reason of "The forwarding engine buffer failed".

    If the alarm-first function is disabled and related major failures occur, the switch restarts according to the handling policy. If the alarm-first function is enabled and related major failures occur, an alarm is generated, but the switch does not restart.

Example

# Enable the log function for forwarding chip soft failures.

<HUAWEI> system-view
[~HUAWEI] set system forwarding-engine event-log

snmp-agent trap enable feature-name devm

Function

The snmp-agent trap enable feature-name devm command enables the trap function for the DEVM module.

The undo snmp-agent trap enable feature-name devm command disables the trap function for the DEVM module.

To view the trap name and trap function status of the DEVM module, run the display snmp-agent trap feature-name devm all command.

Format

snmp-agent trap enable feature-name devm [ trap-name trap-name ]

undo snmp-agent trap enable feature-name devm [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Specifies the name of a trap.

If this parameter is not specified, all the trap functions of the DEVM module are enabled or disabled.

The value is of enumerated type.

To view the trap name of the DEVM module, run the display snmp-agent trap feature-name devm all command.

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the NMS to easily manage the DEVM module of the device, you can run the snmp-agent trap enable feature-name devm command to enable a DEVM trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, DEVM traps are not sent to the NMS.

Example

# Enable the DEVM hwBrdTempAlarm trap.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name devm trap-name hwbrdtempalarm

snmp-agent trap enable feature-name driver

Function

The snmp-agent trap enable feature-name driver command enables the trap function for the DRIVER module.

The undo snmp-agent trap enable feature-name driver command disables the trap function for the DRIVER module.

To view the trap name and trap function status of the DRIVER module, run the display snmp-agent trap feature-name driver all command.

Format

snmp-agent trap enable feature-name driver [ trap-name trap-name ]

undo snmp-agent trap enable feature-name driver [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Specifies the name of a trap.

If this parameter is not specified, all the trap functions of the DRIVER module are enabled or disabled.

The value is of enumerated type.

To view the trap name of the DRIVER module, run the display snmp-agent trap feature-name driver all command.

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the NMS to easily manage the DRIVER module of the device, you can run the snmp-agent trap enable feature-name driver command to enable a DRIVER trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, DRIVER traps are not sent to the NMS.

Example

# Enable the DRIVER hwBoardBecomeMaster trap.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name driver trap-name hwboardbecomemaster

snmp-agent trap enable feature-name fei

Function

The snmp-agent trap enable feature-name fei command enables an FEI trap.

The undo snmp-agent trap enable feature-name fei command disables an FEI trap.

To view the trap name and trap function status of the FEI module, run the display snmp-agent trap feature-name fei all command.

Format

snmp-agent trap enable feature-name fei [ trap-name trap-name ]

undo snmp-agent trap enable feature-name fei [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Specifies the name of a trap.

The value is of enumerated type.

To view the trap name of the FEI module, run the display snmp-agent trap feature-name fei all command.

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the NMS to easily manage the FEI module of the device, you can run the snmp-agent trap enable feature-name FEI command to enable an FEI trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, FEI traps are not sent to the NMS.

Example

# Enable the FEI hwBoardFwdResLack trap.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name fei trap-name hwboardfwdreslack

snmp-agent trap enable feature-name system

Function

The snmp-agent trap enable feature-name system command enables the trap function for the SYSTEM module.

The undo snmp-agent trap enable feature-name system command disables the trap function for the SYSTEM module.

To view the trap name and trap function status of the SYSTEM module, run the display snmp-agent trap feature-name system all command.

Format

snmp-agent trap enable feature-name system [ trap-name trap-name ]

undo snmp-agent trap enable feature-name system [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name Specifies the name of a trap.

If this parameter is not specified, all the trap functions of the SYSTEM module are enabled or disabled.

The value is of enumerated type.

To view the trap name of the SYSTEM module, run the display snmp-agent trap feature-name system all command.

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the NMS to easily manage the SYSTEM module of the device, you can run the snmp-agent trap enable feature-name driver command to enable an SYSTEM trap. The command configuration ensures that the traps generated during the device operation are sent to the NMS. Otherwise, SYSTEM traps are not sent to the NMS.

Example

# Enable the hwCPUUtilizationRisingAlarm trap.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name system trap-name hwCPUUtilizationRisingAlarm

slave switchover

Function

The slave switchover command performs an active/standby switchover.

Format

slave switchover

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

In a stack containing multiple switches, you can manually switch the master and standby switches during software upgrade or system maintenance. After the active/standby switchover is complete, the original master switch joins the stack after restarting, and the original switch becomes the new master switch.

Prerequisites
  • The forcible active/standby switchover has been enabled.

  • The display switchover state command output shows that system has met requirements for active/standby switchover.

Precautions

You can run the slave switchover command to perform an active/standby switchover only in a stack containing multiple switches.

Example

# Perform an active/standby switchover.

<HUAWEI> system-view
[~HUAWEI] slave switchover enable
[*HUAWEI] commit
[~HUAWEI] slave switchover
Warning: This operation will switch the slave board to the master board. Continue? [Y/N]: y

slave switchover { disable | enable }

Function

The slave switchover { disable | enable } command enables or disables forcible active/standby switchover.

undo slave switchover disable command enables forcible active/standby switchover.

By default, active/standby switchover is enabled.

Format

slave switchover { disable | enable }

undo slave switchover disable

Parameters

Parameter Description Value
disable

Disables forcible active/standby switchover.

-

enable

Enables forcible active/standby switchover.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Precautions

The slave switchover command takes effect only after forcible active/standby switchover is enabled. If forcible active/standby switchover is disabled, the slave switchover command does not take effect.

The slave switchover enable and undo slave switchover disable commands are both used to forcibly trigger an active/standby switchover.

Example

# Disable forcible active/standby switchover.

<HUAWEI> system-view
[~HUAWEI] slave switchover disable

system resource

Function

The system resource command configures the system resource mode.

The undo system resource command restores the default system resource mode.

By default, the standard system resource mode is used.

NOTE:

Only the CE5850EI, CE5855EI, CE6850HI, CE6850U-HI, CE6851HI, CE6855HI, CE6856HI, CE6860EI, CE6880EI, CE7850EI, CE7855EI, CE8850EI, CE8860EI support this command.

Format

system resource { large-mac | standard | user-defined } (CE5850EI)

system resource { large-mac | large-arp | super-arp | standard | user-defined } (CE5855EI)

system resource { large-route | standard | large-arp } (CE7850EI, CE7855EI, CE6850HI, CE6850U-HI, CE6851HI, CE6855HI, CE6856HI)

system resource { large-route | standard | large-arp | large-acl } (CE6860EI, CE8850-32CQ-EI, CE8860EI)

system resource { large-mac | standard | large-route } (CE6880EI)

undo system resource

Parameters

Parameter Description Value
standard

Sets the system resource mode to standard.

-

large-mac

Sets the system resource mode to large-mac.

-

user-defined

Sets the system resource mode to configurable.

-

large-route

Sets the system resource mode to large-route.

-

large-arp

Sets the system resource mode to large-arp.

-

super-arp

Sets the system resource mode to super-arp.

-

large-acl

Sets the system resource mode to large-acl.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Chip entry resources are shared among services. When ARP, MAC, ACL or routing entries cannot meet service requirements, change the system resource mode to obtain a larger entry capacity. The following describe the different system resource modes:
  • large-mac: increases the MAC entry capacity. The large-mac mode is applicable to Layer 2 access and transparent transmission scenarios, where a device mainly forwards Layer 2 unicast packets as well as broadcast, unknown unicast, and multicast (BUM) packets. This mode provides a larger MAC entry space and is often used at the access or aggregation layer (with the gateway deployed at the core layer).

  • large-route: increases the routing entry capacity. The large-route mode is applicable to the core layer of a Layer 3 network and enables a device to learn a large number of network segment routes for Layer 3 forwarding.

  • large-arp: increases the ARP entry capacity. The large-arp mode is applicable to the access or aggregation layer with Layer 3 gateway deployed or the core layer of a small-scale network, and is mainly used for Layer 3 forwarding on directly connected network segments.

  • super-arp: increases the ARP entry capacity. The super-arp mode supports more ARP entries than the large-arp mode.

  • large-acl: increases the ACL entry capacity.

  • standard: This is the default mode.

  • user-defined: allows you to define resource specifications using files.

NOTE:
  • In the following system resource mode, the device does not support selective QinQ or VLAN mapping:
    • CE5850EI: large-mac mode
    • CE5855EI: large-arp or super-arp mode
  • In the following system resource mode, the device does not support strict URPF. In this case, if the URPF mode is set to strict, the loose URPF mode takes effect.
    • CE5855EI: standard, large-arp, or super-arp mode
    • CE series switches except CE5855EI: large-arp mode
  • In the following system resource mode, the device does not support fast ICMP reply:
    • CE5855EI: standard, large-arp, or super-arp mode
    • CE series switches except CE5855EI: large-arp mode
  • In the following system resource mode, single-hop BFD for IP sessions does not take effect on the device:
    • CE5855EI: standard, large-arp, or super-arp mode
    • CE series switches except CE5855EI: large-arp mode
  • In the following system resource mode, the device does not support MPLS:
    • CE5855EI: large-arp or super-arp mode
    • CE series switches except CE5855EI: large-arp mode
  • In the following system resource mode, the device does not support URPF:
    • Large-route mode
  • The multi-hop BFD session does not take effect on a CE5855EI in large-arp or super-arp mode.

  • A CE5855EI in large-arp or super-arp mode does not support the Layer 3 sub-interface function.

  • On a CE8860EI in large-arp mode, Layer 3 traffic for which the outbound interface in the ARP entry is the Eth-Trunk member interface cannot be preferentially forwarded by the local Eth-Trunk.

  • In the scenario where IP addresses in ARP entries are consecutive and belong to the same VPN, the number of ARP entries can reach the maximum value. In other scenarios, the number of ARP entries may decrease.
  • For a CE6880EI, ARP, IPv4 FIB, ND, IPv6 FIB, and multicast IPv4 FIB share internal forwarding table resources on the chip.
  • The number of MAC address entries supported will decrease by at most 8192 after TRILL is enabled.
  • In large-acl mode, only the MQC services meeting the following conditions are delivered to the ACLs added in the ingress direction:
    1. Traffic policies can be configured only on a port, in a VLAN, or in the system, and simplified traffic policies cannot be configured.
    2. During traffic classifier configuration, only IPv4 5-tuple rules can be matched; each rule must have the same matching items and must be different; the IP address to be matched in a rule must have a 32-bit mask; the port number to be matched must be a single port number but not a port number range.
    3. A traffic behavior can only be set as deny or redirection to ports.
  • If there are duplicate traffic classification rules on the CE6855HI, CE6856HI, CE6860EI, CE7855EI, CE8850EI, or CE8860EI that uses the large-acl system resource mode and is configured to provide nonstop services during MQC-based traffic classification rule modification, the MQC-based traffic policy will fail to be delivered or updated.

User-defined File

User-defined files must be named UserDefinedResource.xml and saved in the flash:/ directory. The file format is as follows:
<board id="0x1" name="configurable">
 <record>
 <attr Value="1" name="MAC" /> 
 <attr Value="2" name="ARP" /> 
 <attr Value="3" name="Tunnel" /> 
 <attr Value="4" name="VLANTranslate" /> 
 </record>
</board>
name indicates the configurable system resource name:
  • MAC: configures the MAC entry capacity.
  • ARP: configures the ARP entry capacity.
  • Tunnel: configures the tunnel entry capacity, including MPLS tunnels, TRILL tunnels, VXLAN tunnels, and VPLS tunnels.
  • VLANTranslate: configures the VLAN Translate entry capacity.
The attribute value for the corresponding name cannot be changed.

Value indicates the number of the bank (minimum resource allocation unit) for resource items. The value ranges from 1 to 4 and must be unique. For example, '<attr Value="1" name="MAC" />' indicates that MAC entry capacity correspond to Bank1.

Precautions

  • After changing the system resource mode, restart the device for the modification to take effect. In a stack of multiple member switches, you need to the restart the stack for the modification to take effect.

  • To use the configurable system resource mode, you are advised to use it under assistance of technical support personnel.

  • If a new configuration file that contains the system resource configuration is used when the system software is upgraded from a version earlier than V200R002C50 to a later version, and the system resource modes before and after the upgrade are different, the switch restarts one more time during the upgrade.

Example

# Set the system resource mode to large-mac.

<HUAWEI> system-view
[~HUAWEI] system resource large-mac

transceiver non-certified-alarm disable

Function

The transceiver non-certified-alarm disable command disables the alarm function for optical modules that are not certified for Huawei Ethernet switches.

The undo transceiver non-certified-alarm disable command enables the alarm function for optical modules that are not certified for Huawei Ethernet switches.

By default, the alarm function is enabled for optical modules that are not certified for Huawei Ethernet switches.

Format

transceiver non-certified-alarm disable

undo transceiver non-certified-alarm disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If optical modules that are not certified for Huawei Ethernet switches are used on devices, the devices will generate a large number of alarms to prompt users to replace these optical modules with ones that are certified for Huawei Ethernet switches. This facilitates optical module management and maintenance. To avoid these alarms, disable the alarm function for optical modules that are not certified for Huawei Ethernet switches.

For GE and 10GE optical modules, Table 5-33 shows the policies in generating alarms about optical modules that are not certified for Huawei Ethernet switches.
Table 5-33  Alarm policies for GE and 10GE optical modules

Device Manufacturing Date

Use with Huawei Ethernet Switches

Alarms

On or before June 30, 2014

Certified No
Not certified

After June 30, 2014

Certified Not generated
Not certified Generated
For 25GE, 40GE, and 100GE optical modules, Table 5-34 shows the policies in generating alarms about optical modules that are not certified for Huawei Ethernet switches.
Table 5-34  Alarm policies for 25GE, 40GE, and 100GE optical modules

Device Manufacturing Date

Device Software Version

Optical Module Manufacturing Date

Use with Huawei Ethernet Switches

Alarms

On or before June 30, 2014

-

-

Certified Not generated
Not certified

After June 30, 2014

V100R005C00 and earlier versions

-

Certified Not generated
Not certified Generated
V100R005C10 and later versions

On or before June 30, 2015

Certified

Not generated

Not certified

After June 30, 2015

Certified

Not generated

Not certified

Generated

Note:
  • In V100R005C00, 40GE and 100GE optical modules do not support Huawei Ethernet switch certification. After a switch has V100R005SPH007 or a later patch loaded, 40GE and 100GE optical modules support Huawei Ethernet switch certification

Example

# Disable the alarm function for optical modules that are not certified for Huawei Ethernet switches.

<HUAWEI> system-view
[~HUAWEI] transceiver non-certified-alarm disable
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 73125

Downloads: 376

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