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).
TRILL Commands

TRILL Commands

NOTE:

CE6880EI, CE5810EI and CE6810LI does not support TRILL.

admin-vlan

Function

The admin-vlan command configures a TRILL administrative VLAN.

The undo admin-vlan command restores the default setting.

By default, no TRILL administrative VLAN is configured.

Format

admin-vlan vlan-id

undo admin-vlan vlan-id

Parameters

Parameter Description Value
vlan-id

Specifies the administrative VLAN ID.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On networks with data centers, you can run the admin-vlan command to configure an administrative VLAN to allow administrators to maintain and manage RBs through remote login. Four administrative VLANs can be configured to implement VLAN switches.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

To ensure the admin-vlan command works properly, create the VLAN first.

Example

# Configure an administrative VLAN with VLAN ID 3 for the TRILL process.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] admin-vlan 3
Related Topics

area-authentication-mode (TRILL)

Function

The area-authentication-mode command enables an RB to authenticate received TRILL packets with the specified authentication mode and password or encapsulate authentication information to packets before sending them.

The undo area-authentication-mode command restores the default setting.

By default, RBs do not encapsulate authentication information to TRILL packets nor authenticate received packets.

Format

area-authentication-mode { simple | md5 | hmac-sha256 key-id key-id } { [ cipher ] password-key | plain password } [ snp-packet { authentication-avoid | send-only } | all-send-only ]

area-authentication-mode keychain keychain-name [ snp-packet { authentication-avoid | send-only } | all-send-only ]

undo area-authentication-mode

Parameters

Parameter Description Value
simple Indicates that the password is transmitted in plaintext.
NOTE:

Simple authentication mode has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
cipher password-key Indicates that the password is in ciphertext. You can enter a plaintext or ciphertext password, and when you check the configuration file, the ciphertext password is displayed.
NOTE:

A ciphertext password is used for configuration restoration. The value of password-key must be the same as the ciphertext password in the configuration file.

The value is a string of characters.

  • For simple authentication, a simpletext is 1 to 16 characters, and a ciphertext password is 24 to 128 characters.
  • For MD5 or HMAC-SHA256 authentication, a simpletext is 1 to 255 characters, and a ciphertext password is 20 to 432 characters.
NOTE:

Except the question mark (?) and space. However, when quotation marks (") are used around the password, spaces are allowed in the password.

plain password Indicates that the password is in plaintext. You can only enter a plaintext password, and when you check the configuration file, the plaintext password is displayed.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

The value is a string of case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The password range varies with the authentication mode.
  • When the authentication mode is simple, the password ranges from 1 to 16 characters.
  • When the authentication mode is md5, the password ranges from 1 to 255 characters.
  • When the authentication mode is hmac-sha256, the password ranges from 1 to 255 characters.
md5 Indicates that the password is transmitted after encryption by MD5.
NOTE:

MD5 cipher text authentication mode has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
hmac-sha256 Encapsulates generated packets with the HMAC-SHA256 authentication and a password encrypted by the HMAC-SHA256 algorithm and authenticates received packets. -
key-id key-id Indicates key ID of the HMAC-SHA256 algorithm. It is an integer ranging from 0 to 65535.
snp-packet Indicates that SNPs are authenticated. -
authentication-avoid Indicates that the RB encapsulates the authentication information into LSPs before sending them and authenticates received LSPs. -
send-only Indicates that the RB encapsulates the authentication information into LSPs and SNPs before sending them and authenticates received LSPs only. -
all-send-only Indicates that the RB encapsulates the authentication information into LSPs and SNPs before sending them but does not perform authentication. -
keychain keychain-name Indicates that the keychain that changes with time is transmitted after encryption by MD5.
NOTE:

Before configuring this parameter, run the keychain command to create a keychain.

If keychain authentication is used, the encryption algorithm must be configured to HMAC-MD5 algorithm.

The name is a string of 1 to 47 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

As networks with data centers develop, there has been considerable growth in all types of data, voice, and video information exchanged on networks, requiring higher information security than before. Therefore, operators must protect data packets from being intercepted or modified by attackers and prohibit unauthorized users from accessing network resources. The area-authentication-mode command enables an RB to authenticate received TRILL packets with the specified authentication mode and password or encapsulate authentication information to packets before sending them, improving network security.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

After the area-authentication-mode command is run on an RB, the RB discards LSPs and SNPs that fail the authentication and encapsulates the configured password into TRILL packets before sending them. Whether packets pass the authentication does not affect the establishment of neighbor relationships but may affect the synchronization of LSDBs.

The authentication takes effect only on the peer configured with authentication. The peer with no authentication configured can still receive the LSP and SNP packet with the password.

Example

# Set the TRILL authentication mode to HMAC-SHA256 with the password hello which is transmitted in ciphertext.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] area-authentication-mode hmac-sha256 key-id 1 cipher hello

# Set the TRILL authentication mode to keychain with the keychain named huawei.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] area-authentication-mode keychain huawei

appointed-forwarder mode

Function

The appointed-forwarder mode command configures an AF selection mode for a TRILL network.

The undo appointed-forwarder mode command restores the default AF selection mode.

By default, the AF in a CE VLAN is selected based on the priority.

Format

appointed-forwarder mode { load-balance | select-switch }

undo appointed-forwarder mode [ load-balance | select-switch ]

Parameters

Parameter Description Value
load-balance

Indicates that the AF is selected in load balancing mode.

-
select-switch

Indicates that the AF is selected based on the priority.

NOTE:

The difference between this parameter and the undo appointed-forwarder mode command is that: after the appointed-forwarder mode select-switch command is run, the original AF is still valid while the network topology remains unchanged; even when a new RB with a higher priority than that of the original AF is available, no new AF is selected, which prevents traffic loss.

-

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a TRILL network, only the AF in a CE VLAN can function as both an ingress and egress to forward traffic, and a properly selected AF can prevent routing loops. By default, the AF in a CE VLAN is selected based on the priority, MAC address, interface ID, and system ID in descending order. After the AF is selected, all the traffic of the VLAN is forwarded by the AF. In this situation, traffic is easily ill balanced, and network bandwidth cannot be fully utilized.

To address this issue, run the appointed-forwarder mode load-balance command so that the AF is selected in load balancing mode on the TRILL network.

To disable load balancing among AFs, run the appointed-forwarder mode select-switch command. After the appointed-forwarder mode select-switch command is run, the original AF is still valid, preventing traffic loss during AF changes; in addition, the AF is selected based on the priority.

Example

# Set the AF selection mode to load balancing on a TRILL network.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] appointed-forwarder mode load-balance

bandwidth-reference (TRILL)

Function

The bandwidth-reference command sets the bandwidth reference value for a TRILL interface.

The undo bandwidth-reference command restores the bandwidth reference value to a default value.

By default, the bandwidth reference value is 20000000, in Mbit/s.

Format

bandwidth-reference value

undo bandwidth-reference

Parameters

Parameter Description Value
value Specifies the bandwidth reference value. The value is an integer ranging from 1 to 2147483648, in Mbit/s.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To calculate the link cost of TRILL routes correctly, configure a proper link cost for an interface or enable automatic interface cost calculation. The calculation formula is as follows: Cost of the interface = Bandwidth reference value/Interface bandwidth. For example, if the bandwidth reference value of an interface is 20000000 and the interface bandwidth is 10 Gbit/s, the interface cost is 2000 (20000000/10000).

Prerequisites

A TRILL process has been created using the trill command.

Precautions

The bandwidth reference value determines the link cost, and if the link cost changes, routes are recalculated.

Example

# Set the bandwidth reference value to 1000 Mbit/s for a TRILL interface.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] bandwidth-reference 1000
Related Topics

carrier-vlan

Function

The carrier-vlan command configures a Carrier VLAN to transmit TRILL traffic.

The undo carrier-vlan command deletes a Carrier VLAN.

By default, no Carrier VLAN is available to transmit TRILL traffic.

Format

carrier-vlan carrier-vlanid

undo carrier-vlan carrier-vlanid

Parameters

Parameter Description Value
carrier-vlanid

Specifies the Carrier VLAN ID.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The carrier-vlan command configures a Carrier VLAN. Only the Carrier VLAN can transmit TRILL traffic, which ensures proper and secure transmission of TRILL services.

Prerequisites

A TRILL process has been created using the trill command.

Follow-up Procedure

After creating a TRILL process and configuring a Carrier VLAN, run the trill enable command on TRILL-capable interfaces to enable TRILL.

Precautions

A Carrier VLAN can transmit only TRILL traffic. Therefore, a VLAN that runs other services cannot be configured as a Carrier VLAN.

A maximum of three Carrier VLANs can be configured.

Example

# Start a TRILL process that runs in VLAN 10.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] carrier-vlan 10
Related Topics

ce-vlan

Function

The ce-vlan command configures a CE VLAN for a TRILL process.

The undo ce-vlan command deletes a CE VLAN used by a TRILL process.

By default, no CE VLAN is configured.

Format

ce-vlan { vlan-id1 [ to vlan-id2 ] } & <1-10>

undo ce-vlan { vlan-id1 [ to vlan-id2 ] } & <1-10>

Parameters

Parameter Description Value
vlan-id1

Specifies the start CE VLAN ID.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.

to vlan-id2

Specifies the end CE VLAN ID. If to vlan-id2 is specified, VLANs with ID ranging from vlan-id1 to vlan-id2 are all configured as CE VLANs.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command. The value must be greater than or equal to vlan-id1.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

CE VLANs provide access services for users, while Carrier VLANs transmit TRILL traffic. The two types of VLANs are independent from each other, which ensures the proper and secure transmission of TRILL services. CE VLANs that provide access services for users must be specified using the ce-vlan command.

Without CE VLANs, users cannot access TRILL networks, and they can communicate with each other only on traditional Ethernet networks.

Prerequisites

A TRILL process has been created using the trill command, and a CE VLAN is configured using the ce-vlan command.

Precautions

CE VLANs and Carrier VLANs are mutually exclusive. If a VLAN was configured as a CE VLAN, then it cannot be configured as a Carrier VLAN.

Example

# Configure CE VLANs with ID ranging from 3 to 7 for the TRILL process.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] ce-vlan 3 to 7
Related Topics

circuit-cost (TRILL)

Function

The circuit-cost command sets the link cost for all TRILL interfaces.

The undo circuit-cost command cancels the link cost configured for all TRILL interfaces.

By default, the link cost of TRILL interfaces is calculated automatically based on the interface bandwidth.

Format

circuit-cost { cost | maximum }

undo circuit-cost

Parameters

Parameter Description Value
cost Specifies the link cost for TRILL interfaces. The value is an integer ranging from 1 to 16777214.
maximum Specifies the link cost for TRILL interfaces is 16777215.
NOTE:

If the link cost of an interface is set to 16777215, the link connected to the interface is unavailable in route selection.

-

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On large networks, there may be multiple valid routes to the same destination. TRILL uses the SPF algorithm to calculate an optimal route and transmits traffic over it, which brings the following problems:
  • All traffic is transmitted over the optimal route, causing load imbalance.

  • If the optimal route is faulty, traffic will get lost.

To solve the preceding problems, run the circuit-cost command to set link costs for interfaces so that traffic can be transmitted over different physical links.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

If the link cost of an interface is changed, routes will be re-calculated on the whole network, causing the changes in traffic forwarding paths.

The priority of the link cost configured using the trill cost command is higher than that configured using the circuit-cost command.

If no link cost is configured either in the system view or interface view, the calculation formula of the link cost is as follows: Link cost of the interface = Bandwidth reference value/Interface bandwidth. For example, if the bandwidth reference value is 20000000 Mbit/s, the cost of a 1 Gbit/s interface is 20000 (20000000/1000).
NOTE:

The bandwidth-reference value can be set using the bandwidth-reference (TRILL) command.

Example

# Set the link cost of all TRILL interfaces to 30.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] circuit-cost 30

display debugging trill

Function

The display debugging trill command displays the enabled debugging functions.

Format

display debugging trill

Parameters

None.

Views

All views

Default Level

3: Management level

Usage Guidelines

The display debugging trill command can be used to check the enabled debugging functions. Users can enable or disable some debugging functions as needed to control the command output.

Example

# Display the enabled debugging functions. The command output shows that the two debugging functions Appointed Forwarder and adjacency are enabled.

<HUAWEI> debugging trill adjacency
<HUAWEI> debugging trill appointed-forwarder
<HUAWEI> display debugging trill
TRILL Appointed Forwarder related packets debugging switch is on
TRILL adjacency related packets debugging switch is on  

display mac-address total-number tunnel

Function

The display mac-address total-number tunnel command displays the number of TRILL MAC address entries.

Format

display mac-address total-number tunnel [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Displays the number of MAC address entries of the device with a specified stack ID.

The default value is 1 on an unstacked switch; the value depends on the number of stacked switches.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can use the display mac-address total-number tunnel command to view statistics on TRILL MAC address entries.

Example

# Display the number of TRILL MAC address entries.

<HUAWEI> display mac-address total-number tunnel
Total number of mac-address : 20
Table 14-1  Description of the display mac-address total-number tunnel command output

Item

Description

Total number of mac-address

Total number of MAC address entries in the system.

display snmp-agent trap feature-name trill all

Function

The display snmp-agent trap feature-name trill all command displays the status of all traps on the TRILL module.

Format

display snmp-agent trap feature-name trill all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The display snmp-agent trap feature-name trill all command displays the status of all traps on the TRILL module.

You can run the snmp-agent trap enable feature-name trill command to change the status of traps on the TRILL module.

Example

# Display the status of all traps on the TRILL module.

<HUAWEI> display snmp-agent trap feature-name trill all
------------------------------------------------------------------------------
Feature name: TRILL
Trap number : 5
---------------------------------------------------------------------------------
Trap name                          Default switch status   Current switch status  
hwTrillLspRemainingLifetimeRefresh off                     on                    
trillAuthenticationFailure         off                     on                    
trillAuthenticationTypeFailure     off                     on                    
trillNicknameConflict              off                     on                    
trillNicknameConflictClear         off                     on
Table 14-2  Description of the display snmp-agent trap feature-name trill all command output

Item

Description

Feature name

Name of the module that a trap belongs to.

Trap number

Number of trap messages.

Trap name

Name of a trap. Traps of the TRILL module include:

  • hwTrillLspRemainingLifetimeRefresh: The remaining lifetime is too less.
  • trillAuthenticationFailure: The authentication passwords on both sides are different.
  • trillAuthenticationTypeFailure: The authentication modes on both sides are different.
  • trillNicknameConflict: indicates a nickname conflict.
  • trillNicknameConflictClear: indicates that the nickname conflict is resolved.

Default switch status

Default trap status:

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

Current switch status

Current trap status:

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

display trill ce-vlan

Function

The display trill ce-vlan command displays TRILL CE VLAN information on an RB.

Format

display trill ce-vlan

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

CE VLANs are used to receive user packets. Without CE VLANs, Layer 2 VLAN users cannot access TRILL networks. To check TRILL CE VLAN information on an RB, run the display trill ce-vlan command.

Example

# Display TRILL CE VLAN information on the RB.

<HUAWEI> display trill ce-vlan
TRILL CE VLAN information                                                       
--------------------------------------------------------------------------------
                                                                                
Counts of CE VLANs: 2                                                           
                                                                                
CE VLANs : 10 100                                                               
Table 14-3  Description of the display trill ce-vlan command output

Item

Description

Counts of CE VLANs

Number of CE VLANs

CE VLANs

CE VLAN IDs

display trill cmt

Function

The display trill cmt command displays information about CMTs in a TRILL dual-homing access scenario.

Format

display trill cmt

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To ensure reliability and high bandwidth utilization on TRILL networks, TRILL dual-homing is deployed. In addition, the two links used for dual-homing are both active and they load-balance traffic. According to the TRILL CMT solution, only one RB can forward the multicast traffic from a multicast source on the TRILL network. Currently, TRILL supports only two MDTs. Specifically, only two RBs are valid.

To check information about CMTs in a TRILL dual-homing access scenario, including the local and neighbor nicknames, pseudo nicknames, negotiated pseudo nickname, and CMT IDs, run the display trill cmt command.

Example

# Display information about CMTs in a TRILL dual-homing access scenario.

<HUAWEI> display trill cmt
                                                                                
CMT information for TRILL                                                       
--------------------------------------------------------------------------------
                                                                                
Total Counts: 1                                                                 
                                                                                
GroupId Peer     CMT   Pseudo   Priority Local  Root     Local          Local   
        Nickname State Nickname          TreeID Nickname PseudoNickname Priority
--------------------------------------------------------------------------------
      1      200    Up    41303       64      0      200          41303       64
Table 14-4  Description of the display trill cmt command output

Item

Description

GroupId

DFS group ID

Peer Nickname

Nickname of the peer RB

CMT State

CMT state

Pseudo Nickname

Negotiated pseudo nickname

Priority

Pseudo nickname priority

Local TreeID

Local MDT ID

Root Nickname

Root nickname

Local PseudoNickname

Local pseudo nickname that is manually configured or automatically generated

Local Priority

Local pseudo nickname priority

display trill error

Function

The display trill error command displays statistics about incorrect packets received by an interface or a process.

Format

display trill error [ interface [ interface-type interface-number ] ]

Parameters

Parameter Description Value
interface interface-type interface-number

Displays statistics about incorrect packets received by a specific interface.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If an error occurs when TRILL is running, you can run the display trill error command to check statistics about incorrect LSPs and Hello packets received by an interface or a process. The command helps you locate the fault.

Example

# Display the number of each type of incorrect packets received on all interfaces in TRILL process 1.

<HUAWEI> display trill error
                                                                                
Statistics of error packets for TRILL                                                                                               
--------------------------------------------------------------------                                                                
LSP packet errors:                                                                                                                  
Longer LSP                 : 0           Smaller LSP             : 0                                                                
Mismatched Level           : 0           Invalid Sysid           : 0                                                                
Zero Sequence Number       : 0           Illegal IS Type         : 0                                                                
Zero Checksum              : 0           Incorrect Checksum      : 0                                                                
Bad Authentication         : 0           Bad Auth Count          : 0                                                                
More Protocol TLV          : 0           Bad Protocol ID         : 0                                                                
Bad Nbr TLV                : 0           Bad Extended IS TLV     : 0                                                                
Bad TLV Length             : 0           Bad Alias TLV           : 0                                                                
Bad Area TLV               : 0           Unknown Adjacency       : 0                                                                
Bad Version                : 0           Zero Lifetime           : 0                                                                
Bad Router Capabil TLV     : 0           Bad VLAN-Group Sub-TLV  : 0                                                                
Bad Nickname Sub-TLV       : 0           Bad Trees Sub-TLV       : 0                                                                
Bad TRILL-VER Sub-TLV      : 0           Bad TREE-USE-IDs Sub-TLV: 0                                                                
Bad TREE-RT-IDs Sub-TLV    : 0           Bad INT-VLAN Sub-TLV    : 0                                                                
LSP Lifetime less than 300s: 0                                                                                                      
                                                                                                                                    
Hello packet errors:                                                                                                                
Bad Packet Length          : 0           Reserved CircType       : 0                                                                
Repeated System ID         : 0           Bad Circuit Type        : 0                                                                
Longer packet              : 0           More Area Addr          : 0                                                                
Longer Area Addr           : 0           Bad Area Addr TLV       : 0                                                                
Invalid Sysid              : 0           Zero HoldingTime        : 0                                                                
Bad TLV Length             : 0           Bad Version             : 0                                                                
Mismatched Area Addr(L1)   : 0           Mismatched Proto        : 0                                                                
SNPA Conflicted(LAN)       : 0           Mismatched Level        : 0                                                                
Mismatched Max Area Addr   : 0           Bad Authentication      : 0                                                                
More Auth TLV              : 0           3-Way Option Error(P2P) : 0                                                                
No Area Addr TLV           : 0           Bad Protocol ID         : 0                                                                
Bad MT-PORT-CAP TLV        : 0           Bad VLAN-FLAGs Sub-TLV  : 0                                                                
Bad Enable VLAN Sub-TLV    : 0           Bad TRILL Neighbor TLV  : 0                                                                
Bad AF Sub-TLV             : 0                                                                                                      
                                                                                                                                    
MTU packet errors:                                                                                                                  
Bad Packet Length          : 0           Unknown Adjacency       : 0                                                                
Mismatched Max Area Addr   : 0           Error Outer Vlan        : 0                                                                
Bad TLV Length             : 0           Bad Authentication      : 0                                                                
Bad Auth TLV               : 0           More Auth TLV           : 0                                                                
--------------------------------------------------------------------     
Table 14-5  Description of the display trill error command output

Item

Description

LSP packet errors

Number of incorrect LSPs.

Longer LSP

Number of LSPs with the length greater than the fixed length

Smaller LSP

Number of LSPs with the header length shorter than the fixed length

Mismatched Level

Number of received LSPs with the level mismatching the local TRILL level

Invalid Sysid

Number of LSPs with invalid system IDs

Zero Sequence Number

Number of LSPs with the sequence number being 0

Illegal IS Type

Number of LSPs with invalid TRILL types

Zero Checksum

Number of LSPs with the checksum being 0

Incorrect Checksum

Number of LSPs with incorrect checksum

Bad Authentication

Number of LSPs with invalid authentication fields

Bad Auth Count

Number of LSPs carrying incorrect number of authentication fields

More Protocol TLV

Number of LSPs with more than one protocol TLV

Bad Protocol ID

Number of LSPs with incorrect protocol IDs

Bad Nbr TLV

Number of LSPs with incorrect neighbor TLVs

Bad Extended IS TLV

Number of LSPs with incorrect extended IS TLVs

Bad TLV Length

Number of LSPs with incorrect TLV lengths

Bad Alias TLV

Number of LSPs with incorrect Alias TLVs

Bad Area TLV

Number of LSPs with incorrect Area TLVs

Unknown Adjacency

Number of LSPs sent by an unknown adjacency

Bad Version

Number of LSPs with incorrect protocol versions

Zero Lifetime

Number of LSPs with the remaining lifetime being 0

Bad Router Capabil TLV

Number of LSPs with incorrect Router Capability TLV

Bad VLAN-Group Sub-TLV

Number of LSPs with incorrect VLAN Group Sub TLV

Bad Nickname Sub-TLV

Number of LSPs with incorrect Nickname Sub TLV

Bad Trees Sub-TLV

Number of LSPs with incorrect TRILL Tree Sub TLV

Bad TRILL-VER Sub-TLV

Number of LSPs with incorrect TRILL Version Sub TLV

Bad TREE-USE-IDs Sub-TLV

Number of LSPs with incorrect Tree Used ID Sub TLV

Bad TREE-RT-IDs Sub-TLV

Number of LSPs with incorrect Tree Root ID Sub TLV

Bad INT-VLAN Sub-TLV

Number of LSPs with incorrect Interest VLAN Sub TLV

LSP Lifetime less than 300s: 0

Number of LSPs that are generated by another device and has a Remaining Lifetime value less than 300s the locally configured one

Hello packet errors

Number of incorrect Hello packets

Bad Packet Length

Number of Hello packets with incorrect lengths

Reserved CircType

Number of Hello packets with incorrect reserved circuit type fields

Repeated System ID

Number of Hello packets with repeated system IDs

Bad Circuit Type

Number of Hello packets with incorrect circuit types

Longer packet

Number of Hello packets with the length greater than the larger value between the interface MTU and the value set using the lsp-length originate command

More Area Addr

Number of Hello packets with superfluous area addresses

Longer Area Addr

Number of Hello packets with too long area addresses

Bad Area Addr TLV

Number of Hello packets with incorrect area address TLVs

Invalid Sysid

Number of Hello packets with invalid system IDs

Zero HoldingTime

Number of Hello packets with the neighbor holding time being 0

Mismatched Area Addr(L1)

Number of Hello packets with mismatched Level-1 area addresses

Mismatched Proto

Number of Hello packets with mismatched protocols

SNPA Conflicted(LAN)

Number of Hello packets with conflicted SNPAs on a broadcast network

Mismatched Max Area Addr

Number of Hello packets with mismatched maximum area addresses

Bad Authentication

Number of Hello packets with invalid authentication fields

More Auth TLV

Number of Hello packets with superfluous authentication TLVs

3-Way Option Error(P2P)

Number of Hello packets with the incorrect 3-Way handshake information

No Area Addr TLV

Number of Hello packets without area address TLVs

Bad MT-PORT-CAP TLV

Number of Hello packets with incorrect MT Port Capability TLV

Bad VLAN-FLAGs Sub-TLV

Number of Hello packets with incorrect VLAN Flag Sub TLV

Bad Enable VLAN Sub-TLV

Number of Hello packets with incorrect Enable VLAN Sub TLV

Bad TRILL Neighbor TLV

Number of Hello packets with incorrect TRILL Neighbor TLV

Bad AF Sub-TLV

Number of Hello packets with incorrect Appointed Forwarder Sub TLV

MTU packet errors

Number of incorrect MTU packets

Error Outer Vlan

Number of MTU packets with incorrect Outer VLAN

Bad Authentication

Number of MTU packets with invalid authentication fields

display trill forwarding-path unicast

Function

The display trill forwarding-path unicast command displays the TRILL unicast forwarding path.

Format

display trill forwarding-path unicast role { ingress dst-nickname dst-nickname | transit dst-nickname dst-nickname | egress out-interface eth-trunk interface-number } { eth-type { ip | l2 | dhcp | arp } | src-mac src-mac-address | dst-mac dst-mac-address | src-ip src-ip-address | dst-ip dst-ip-address | ce-vlan vlan-id | src-interface interface-type interface-number | protocol { protocol | gre | icmp | igmp | ip | ipinip | ospf | tcp [ l4-src-port l4-src-port | l4-dst-port l4-dst-port ]* | udp [ l4-src-port l4-src-port | l4-dst-port l4-dst-port ]* } }*

Parameters

Parameter Description Value
role { ingress | transit | egress }
Specifies the node type of a local device on the TRILL network:
  • ingress: ingress node on the TRILL network, through which packets enter the TRILL network.
  • transit: transit node on the TRILL network, through which packets are forwarded.
  • egress: egress node on the TRILL network, through which packets are sent out from the TRILL network.
-
dst-nickname dst-nickname Specifies the nickname of the destination device. The value is an integer that ranges from 1 to 65471.
out-interface eth-trunk interface-number Specifies the outbound interface through which packets are sent out from the TRILL network.
NOTE:

The outbound interface must be an Eth-Trunk.

The value depends on the device configuration.
eth-type { ip | l2 | dhcp | arp } Specifies the upper-layer protocol type of link layer packets. Currently, supported upper-layer protocol types are ip, l2, dhcp, and arp. -
src-mac src-mac-address Specifies the source MAC address of packets. The value is in H-H-H format, where H is a hexadecimal number of 1 to 4 digits. The source MAC address cannot be set to a multicast MAC address.
dst-mac dst-mac-address Specifies the destination MAC address of packets. The value is in H-H-H format, where H is a hexadecimal number of 1 to 4 digits.
NOTE:

The destination MAC address of unicast packets is often a unicast MAC address. If the destination MAC address is set to a multicast MAC address, the queried path may be inconsistent with the actual path of packets.

src-ip src-ip-address Specifies the source IP address of packets. The value is in dotted decimal notation.
dst-ip dst-ip-address Specifies the destination IP address of packets. The value is in dotted decimal notation.
ce-vlan vlan-id Specifies the CE VLAN that packets belong to. The value is an integer that ranges from 1 to 4094.
NOTE:

If a CE VLAN is specified and packets carry a priority, the priority also participates in hash calculation. As a result, the queried path may be inconsistent with the actual packet path.

src-interface interface-type interface-number Specifies the physical source interface of packets. The value depends on the device configuration.
protocol { protocol | gre | icmp | igmp | ip | ipinip | ospf | tcp | udp }*

Specifies the upper-layer protocol type of IP packets.

The value of protocol is an integer that ranges from 1 to 255, in which 6 and 17 cannot be specified.
l4-src-port l4-src-port

Specifies the TCP or UDP source port number.

The value is an integer that ranges from 0 to 65535.
l4-dst-port l4-dst-port

Specifies the TCP or UDP destination port number.

The value is an integer that ranges from 0 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to check the unicast forwarding path of traffic on the TRILL network. You can also specify 10 attributes of traffic to check the forwarding path of the specified traffic.

If the local device is an ingress or transit node on the TRILL network, you can specify the nickname of the destination device to check the forwarding path of traffic. If the local device is an egress node, you can check through which physical interface of an Eth-Trunk traffic is sent out from the TRILL network.

NOTE:

The input parameter must be consistent with the actual hash factor so that a correct outbound interface can be obtained.

(CE switches excluding the CE6870EI) If the input hash factor is only the source interface, by default, the device will consider that it processes a Layer 2 packet. If the actual packet is not a Layer 2 packet, the actual Layer 3 hash factors must be input. If the actual Layer 3 hash factor is just the source interface, any one of src-ip, dst-ip, l4-src-port, and l4-dst-port must be input.

On the CE8860EI, CE8850EI and CE6860EI, if the device is an ingress or egress node, you must specify the dst-mac, ce-vlan, and src-interface parameters and ensure that the device's MAC entries include the entries with the specified dst-mac and ce-vlan. Otherwise, the correct traffic forwarding path cannot be obtained.

On the CE8860EI, CE8850EI and CE6860EI, if the device is a transit node, you must specify the src-interface parameter. Otherwise, the correct traffic forwarding path cannot be obtained.

Example

# Display the TRILL unicast forwarding path.

<HUAWEI> display trill forwarding-path unicast role ingress dst-nickname 300 ce-vlan 150
Out Interface: 10GE1/0/8
Table 14-6  Description of the display trill forwarding-path unicast command output

Item

Description

Out Interface

Outbound interface of traffic.

display trill gateway interface

Function

The display trill gateway interface command displays the loopback interface used for the TRILL gateway.
NOTE:
CE6870EI does not support the command.

Format

display trill gateway interface

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After an Eth-Trunk interface is configured as the internal loopback interface for the TRILL gateway, you can run the display trill gateway interface command to check the configuration.

Example

# Display the loopback interface used for the TRILL gateway.

<HUAWEI> display trill gateway interface
Gateway interface: Eth-Trunk1
Table 14-7  Description of the display trill gateway interface command output
Item Description
Gateway interface Loopback interface used for the TRILL gateway.

display trill interface

Function

The display trill interface command displays information about TRILL-capable interfaces.

Format

display trill interface [ interface-type interface-number | verbose ]

Parameters

Parameter Description Value
interface-type interface-number

Displays information about specified TRILL interface. The parameters are as follows:

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

verbose Displays detailed information about TRILL-capable interfaces.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display trill interface command displays information about TRILL-capable interfaces, including information about the interface name, DRB state, and the link status. If verbose is specified, this command displays additional information about the intervals at which CSNPs and Hello packets are sent, the number of invalid Hello packets, and other TRILL-related parameters.

Example

# Display information about TRILL-capable interfaces.

<HUAWEI> display trill interface
                                                                                
Interface information for TRILL                                                 
----------------------------------------------------------------------------    
Total Interface(s): 1                                                           
                                                                                
Interface Circuit-ID   State            MTU Type  DRB-State DVLAN  Port-Type    
----------------------------------------------------------------------------    
10GE1/1/0/21     028   MTU:UP/Lnk:Dn   1497 L1    Down        --   p2p          

# Display detailed information about TRILL interfaces.

<HUAWEI> display trill interface verbose
                                                                                
Interface verbose information for TRILL                                         
-----------------------------------------------------------------               
Total Interface(s): 1                                                           
                                                                                
Interface                  : 10GE1/0/1                                          
Description                :                                                    
Circuit-ID                 : 006                                                
Extended-Circuit-ID        : 0000000005                                         
Type                       : L1                                                 
Port Type                  : p2p                                                
Circuit State              : UP                                                 
DRB State                  : Non-DRB                                            
DRB bypass                 : --                                                 
Priority                   : L1    64                                           
MTU                        : 1497                                               
SNPA Address               : 0025-9e95-7c11                                     
Cost <1-16777215>          : L1    2000                                         
Bandwidth-Value            : Low:  1410065408  High:  2                         
Csnp Timer Value <s>       : L1    10                                           
Hello Timer Value <s>      : L1    10                                           
Hello Multiplier Value     : L1    3                                            
LSP-Throttle Timer <ms>    : L1    50                                           
Retransmit Timer Value <s> : L1    5                                            
Desired Designate VLAN     : 2                                                  
Designate VLAN             : --                                                 
Announcement VLANs         : 2                                                  
Enabled VLANs              : --                                                 
VLANs Forwarder            : --                                                 
Table 14-8  Description of the display trill interface command output

Item

Description

Interface

Interface type and number

Circuit-ID

Link ID

State

TRILL link state

MTU

MTU of the interface

Type

TRILL type (currently only L1)

DRB-State

DRB state
  • Non-DRB: the RB with this interface is not DRB
  • DRB: the RB with this interface is DRB
  • Suspend: the interface is in suspend state
  • Down: TRILL on this interface is down

DVLAN

DVLAN ID

Total Interface(s)

Number of TRILL-capable interfaces

Description

Interface description

Circuit-ID

Link ID

Extended-Circuit-ID

Extended link ID

Port Type

Interface type

Circuit State

Interface status

DRB bypass

DRB bypass bit

Priority

DRB priority based on which a DRB is elected on broadcast networks

SNPA Address

Interface MAC address

Cost <1-16777215>

Link cost

Bandwidth-Value

Physical bandwidth. The formula is as follows: Bandwidth-Value = 4294967296 x high + low. For example, if high is 1, and low is 705032704, Bandwidth-Value = 1 x 4294967296 + 705032704 = 5000000000.
  • The maximum value of low is 4294967295.
  • The maximum value of high is 4294967295.

Csnp Timer Value <s>

Timeout period of the CSNP timer

Hello Timer Value <s>

Timeout period of the Hello timer

Hello Multiplier Value

Number of consecutive Hello packets that an RB sends to a neighbor before the RB considers the neighbor Down

LSP-Throttle Timer <ms>

Minimum interval at which LSPs are sent

Retransmit Timer Value <s>

Interval at which LSPs are retransmitted

Desired Designate VLAN

ID of the desired DVLAN

Designate VLAN

Designated VLAN

Announcement VLANs

ID of the VLAN to which the interface belongs

Enabled VLANs

ID of the CE VLAN to which the interface belongs

VLANs Forwarder

ID of the VLAN in which the RB functions as an AF

display trill last-peer-change

Function

The display trill last-peer-change command displays neighbor status change records on an RB. A maximum of 100 records can be displayed.

Format

display trill last-peer-change

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check neighbor status change records on an RB, run the display trill last-peer-change command. The command output helps you know about network changes.

Example

# Display neighbor status change records.

<HUAWEI> display trill last-peer-change
                                                                                
Peer change information for TRILL                                               
------------------------------------------------------------                    
                                                                                
Time      : 2014-03-20 11:19:30                                                 
System ID : 0000.0000.1111                                                      
Type      : L1 LAN                                                              
Interface : 10GE1/0/7 (11)                                                      
State     : 2Way -> Report                                                      
Details   : MTU test OK                                                         
                                                                                
Time      : 2014-03-20 11:19:30                                                 
System ID : 0000.0000.1111                                                      
Type      : L1 LAN                                                              
Interface : 10GE1/0/7 (11)                                                      
State     : Down -> 2Way                                                        
Details   : Receive hello with local MAC                                        
Table 14-9  Description of the display trill last-peer-change command output

Item

Description

Time

Time when the neighbor status changes

System ID

System ID of the neighbor

Type

Neighbor type:
  • L1 LAN: Broadcast network neighbor
  • P2P

Interface

Interface used to establish the neighbor relationship

State

Neighbor status change:
  • Down -> Detect
  • Down -> 2Way
  • Down -> Report
  • Detect -> Down
  • Detect -> 2Way
  • Detect -> Report
  • 2Way -> Report
  • Report -> Detect
  • Report -> Down

Details

Cause of the neighbor status change:
  • AF link down: The neighbor goes Down because the link between the AF and other devices fails.
  • AF node down: The neighbor goes Down because the AF fails.
  • DVLAN hold timer expired: Hello packets from the DVLAN fail to be received within the timeout period.
  • NonDVLAN hold timer expired: Hello packets from a VLAN (other than the DVLAN) fail to be received within the timeout period.
  • DVLAN change: The DVLAN changes.
  • MTU test OK: The MTU is validated.
  • Receive hello with local MAC: The Hello packet from the neighbor carries the local MAC address.
  • Receive hello without local MAC: The Hello packet from the neighbor does not carry the local MAC address.
  • DRB change: The DRB changes.
  • Three way init: The P2P neighbor status changes to Detect.
  • Three way up: The P2P neighbor status changes to Report.
  • Hold timer expired: The Hold timer expires.
  • Circuit down: The interface goes Down or the reset trill all command has been run.

display trill lsdb

Function

The display trill lsdb command displays TRILL LSDB information.

Format

display trill lsdb [ verbose | local ]*

Parameters

Parameter Description Value
verbose Displays detailed TRILL LSDB information. -
local Displays local TRILL LSDB information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

TRILL forwarding tables are generated after all the LSDBs are synchronized on TRILL networks. You can run the display trill lsdb command to check whether the LSDBs are synchronized.

If you want to check information about the hostname, authentication mode, password, and priority as well as root priority of a nickname, specify verbose.

If there is a great deal of LSDB information to display, specify local to check local TRILL LSDB information only.

Example

# Display TRILL LSDB information.

<HUAWEI> display trill lsdb
Database information for TRILL
-----------------------------------------------------------------------------
*(By LSPID)-Self LSP, +-Self LSP(Extended), 
ATT-Attached, P-Partition, OL-Overload

Total LSP(s): 3

LSPID/Trill Name          Seq Num   Checksum       HoldTime   Length ATT/P/OL
-----------------------------------------------------------------------------
0000.0000.1111.00-00   0x00000004     0x94e5            458       83 0/0/0   
0000.0000.2222.00-00   0x00000004     0xcc27            479       83 0/0/0   
0000.0000.4444.00-00*  0x00000005     0x5e4e            463       94 0/0/0  

# Display detailed TRILL LSDB information.

<HUAWEI> display trill lsdb verbose
Database verbose information for TRILL
-----------------------------------------------------------------------------
*(By LSPID)-Self LSP, +-Self LSP(Extended),
ATT-Attached, P-Partition, OL-Overload

Total LSP(s): 2 

LSPID                     Seq Num   Checksum       HoldTime   Length ATT/P/OL
-----------------------------------------------------------------------------
0000.0000.1111.00-00*  0x00000003     0x956b           1116       72 0/0/0    

 SOURCE       0000.0000.1111.00 
Auth: *****     Len: 5     Type: Plain Text
 NLPID        TRILL
 AREA ADDR    00
+NBR  ID      0000.0000.2222.00  COST: 2000
 VERSION:     1                  CAPABILITIES FLAG: 64        
 COMPUTED TREES NUM: 2     MAXIMUMABLE COMPUTED TREES NUM: 2     USED TREES NUM: 2     

 NICKNAME     400                PRIORITY: 192    ROOT PRIORITY: 32768 
0000.0000.2222.00-00   0x00000003     0x4953           1115       72 0/0/0    

 SOURCE       0000.0000.2222.00 
Auth: *****     Len: 5     Type: Plain Text
 NLPID        TRILL
 AREA ADDR    00
+NBR  ID      0000.0000.1111.00  COST: 2000
 VERSION:     1                  CAPABILITIES FLAG: 64        
 COMPUTED TREES NUM: 2     MAXIMUMABLE COMPUTED TREES NUM: 2     USED TREES NUM: 2     

 NICKNAME     100                PRIORITY: 192    ROOT PRIORITY: 32768 
                
Table 14-10  Description of the display trill lsdb command output

Item

Description

*(By LSPID)-Self LSP

Local LSP

+-Self LSP(Extended)

Extended LSP

LSPID/Trill Name

LSP ID/TRILL dynamic hostname
NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the LSP ID is displayed.

Seq Num

Sequence number of the LSP

Checksum

LSP checksum

HoldTime

Holding time of the LSP

Length

LSP length

ATT/P/OL

Flag bit:
  • ATT: Attach bit
  • P: Partition bit
  • OL: Overload bit

SOURCE

System ID of the source node

Auth

Authentication password

Len

Length of the authentication password

Type

Authentication type:
  • Plain Text: indicates that the password is sent in plain text.
  • MD5: indicates that the password is encrypted with the MD5 encryption algorithm.
  • CRYPTO_AUTH: The password is encrypted with the HMAC-SHA256 encryption algorithm.

NLPID

Network protocol supported

AREA ADDR

Area address

+NBR ID

System ID of a neighbor

COST

Link cost

NICKNAME

Neighbor RB's nickname, which uniquely identifies an RB

PRIORITY

Priority of the nickname, with the default value 64. When a nickname conflict occurs, the RB with the lowest priority is prevented from advertising its nickname

VERSION

VERSION: The value of 1 indicates that TRILL in active-active mode is supported.

CAPABILITIES FLAG

Flag indicating the TLV value carried in LSPs, which stands for a single sub-TLV value or the sum of multiple sub-TLV values.

ROOT PRIORITY

Root priority of the nickname, with the default value 32768. The RB with the highest root priority is selected as the multicast root

COMPUTED TREES NUM

Number of MDTs

MAXIMUMABLE COMPUTE TREES NUM

Maximum number of MDTs that can be configured on an RB

USED TREES NUM

Number of active MDTs

display trill mroute

Function

The display trill mroute command displays the TRILL multicast routing table.

Format

display trill mroute [ vlan-id ] [ verbose ]

Parameters

Parameter Description Value
vlan-id

Displays the TRILL multicast routing table of a specified CE VLAN.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.

verbose

Displays detailed information about TRILL multicast routing table.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

RBs maintain information about all reachable multicast routes, such as the information about the outbound interface, multicast root, and number of hops. You can run the display trill mroute command to check such information and identify the forwarding route. If you want to change the forwarding route, adjust the link cost.

Example

# Display the TRILL multicast routing table.

<HUAWEI> display trill mroute
TRILL Multicast Routing Table
-----------------------------------------------------------------------
Flags: D-Download To Fib

Total Route(s): 2

Vlan  Root   Flag  OutInterface    OuterVlan  Hop  Source ID/Trill Name
-----------------------------------------------------------------------
   1  8335   D     10GE1/0/1             100    2  10.112.88.88
   1  8352   D     10GE1/0/2             100    2  1111.1111.1111

# Display the TRILL multicast routing table of CE VLAN 1.

<HUAWEI> display trill mroute 1
TRILL Multicast Routing Table
-----------------------------------------------------------------------
Flags: D-Download To Fib

Total Route(s): 2

Vlan  Root   Flag  OutInterface    OuterVlan  Hop  Source ID/Trill Name
-----------------------------------------------------------------------
-----------------------------------------------------------------------
   1  8335   D     10GE1/0/1             100    2  10.112.88.88
   1  8352   D     10GE1/0/2             100    2  1111.1111.1111
Table 14-11  Description of the display trill mroute command output

Item

Description

Total Route(s)

Total number of multicast routes

Vlan

CE VLAN

Root

Nickname of an MDT root

Flag

Routing information flag
  • D: Routes have been delivered to the FES.

OutInterface

Outbound interface

OuterVlan

Outer VLAN ID

Hop

Number of hops in a multicast route

Source ID/Trill Name

MDT root's system ID/dynamic hostname

NOTE:

If a dynamic hostname is configured for the MDT root, the hostname is displayed. If no dynamic hostname is configured, the system ID is displayed.

display trill mroute group

Function

The display trill mroute group command displays routing information after TRILL multicast group-based pruning.

Format

display trill mroute group [ vlan-id vlan-id ] [ group-ip group-ip ] [ verbose ]

Parameters

Parameter Description Value
vlan-id vlan-id

Displays routing information in a specified VLAN after TRILL multicast group-based pruning.

The value is an integer ranging from 1 to 4094.
group-ip group-ip

Displays routing information in the multicast group with the specified IP address after TRILL multicast group-based pruning.

The value of group-ip must be a valid multicast group IP address.
verbose

Displays detailed information about routing information after TRILL multicast group-based pruning.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The multicast routing information maintained by an RB includes such information as the outbound interface, root node, and hop counts. To check such information, run the display trill mroute group command. You can adjust the link cost to change the forwarding path.

Example

# Display routing information in VLAN 10 after TRILL multicast group-based pruning.

<HUAWEI> display trill mroute group vlan-id 10
TRILL Multicast Routing Table 
-------------------------------------------------------------------
Flags: D-Download To Fib
Total Route(s): 4
Vlan     Group IP    Root  Flag  OutInterface    OuterVlan   Hop 
-------------------------------------------------------------------
  10     225.0.0.1    128  D     10GE1/0/1           4063     1     
  10     225.0.0.1  28301  D     10GE1/0/1           4063     2     
  10     226.0.0.1    128  D     10GE1/0/1           4063     1   
  10     226.0.0.1  28301  D     10GE1/0/1           4063     2 

# Display routing information in the multicast group with multicast group IP address 226.0.0.1 after TRILL multicast group-based pruning.

<HUAWEI> display trill mroute group group-ip 226.0.0.1
TRILL Multicast Routing Table 
-------------------------------------------------------------------
Flags: D-Download To Fib
Total Route(s): 2
Vlan       Group IP   Root Flag  OutInterface    OuterVlan   Hop 
-------------------------------------------------------------------
  10       226.0.0.1   128 D     10GE1/0/1           4063     1
  10       226.0.0.1 28301 D     10GE1/0/1           4063     2 
Table 14-12  Description of the display trill mroute group command output

Item

Description

Total Route(s)

Number of multicast routes

Vlan

TRILL CE VLAN

Group IP

Multicast group IP address

Root

Nickname of an MDT root

Flag

Routing information flag: D (D-Download To Fib) indicates that the routing information has been delivered to the FES.

OutInterface

Outbound interface

OuterVlan

Outer VLAN ID

Hop

Number of hops in a multicast route

display trill mspf

Function

The display trill mspf command displays information about TRILL MDTs.

Format

display trill mspf [ nickname ] [ verbose ]

Parameters

Parameter Description Value
nickname

Displays information about the TRILL MDT of an RB specified by a nickname.

The value is an integer ranging from 1 to 65471.
verbose

Displays detailed information about TRILL MDTs.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After all the LSDBs on a TRILL network are synchronized, each RB performs the SPF algorithm to generate nickname unicast and multicast routing tables. You can run the display trill mspf command to view information about TRILL MDTs and relationships between neighbors. Based on such information, you can check whether the topology is correct.

Example

# Display information about TRILL MDTs.

<HUAWEI> display trill mspf
TRILL Multicast Shortest Path Tree
--------------------------------------------------------------------------------

Flags:   *-Self Node, T-Node is on tree, R-Node is root, 
         U-Link is upward, D-Link is downward 


Distribution Tree Number : 0    Root Nickname : 300

Node/Trill Name     NodeFlag   Distance  Link/Trill Name      LinkFlag  LinkCost
--------------------------------------------------------------------------------
CCCCCCCCCCCCCCC.00  R                 0
 
                                         ->bbbbbbbbbbbbbbb.00 D           200000
 
                                         ->AAAAAAAAAAAAAAA.00 D           200000
 
bbbbbbbbbbbbbbb.00  T            200000
 
                                         ->CCCCCCCCCCCCCCC.00 U           200000
 
AAAAAAAAAAAAAAA.00* T            200000
 
                                         ->CCCCCCCCCCCCCCC.00 U           200000
 

Distribution Tree Number : 1    Root Nickname : 200

Node/Trill Name     NodeFlag   Distance  Link/Trill Name      LinkFlag  LinkCost
--------------------------------------------------------------------------------
bbbbbbbbbbbbbbb.00  R                 0
 
                                         ->CCCCCCCCCCCCCCC.00 D           200000
 
                                         ->AAAAAAAAAAAAAAA.00 D           200000
 
CCCCCCCCCCCCCCC.00  T            200000
 
                                         ->bbbbbbbbbbbbbbb.00 U           200000
 
AAAAAAAAAAAAAAA.00* T            200000
 
                                         ->bbbbbbbbbbbbbbb.00 U           200000

# Display detailed information about TRILL MDTs.

<HUAWEI> display trill mspf verbose
TRILL Multicast Shortest Path Tree
--------------------------------------------------------------------------------

Distribution Tree Number : 0    Root Nickname : 300

  OutIf  : 10GE1/0/1        NBR MAC: 380b-a531-1200
  NBR ID/Trill Name: CCCCCCCCCCCCCCCCCCCCCCCCCCCCcccccc.00
  Destination Node List: 2
    CCCCCCCCCCCCCCCCCCCCCCCCCCCCcccccc.00
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.00

Distribution Tree Number : 1    Root Nickname : 200

  OutIf  : 10GE1/0/1        NBR MAC: 380b-a521-1200
  NBR ID/Trill Name: bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.00
  Destination Node List: 2
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.00
    CCCCCCCCCCCCCCCCCCCCCCCCCCCCcccccc.00
Table 14-13  Description of the display trill mspf command output

Item

Description

Distribution Tree Number

MDT ID

Root Nickname

Nickname of an MDT root

Node/Trill Name

Node ID/TRILL dynamic hostname

* indicates the RB itself.

NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the node ID is displayed.

NodeFlag

Node flag:
  • R: Root
  • T: Node on the MDT

Distance

Cost of the route from the root to this node

Link/Trill Name

Link/TRILL dynamic hostname

NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the link name is displayed.

LinkFlag

Link flag:
  • U: Upstream link to a parent node
  • D: Downstream link to a child node

LinkCost

Link cost

OutIf

Outbound interface of the RB

NBR ID/Trill Name

Neighbor ID/TRILL dynamic hostname

NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the neighbor ID is displayed.

NBR MAC

Neighbor MAC address

Destination Node List

ID list of destination RBs that are reachable from the outbound interface

display trill name-table

Function

The display trill name-table command displays the mapping between the system ID and hostname of the local RB.

Format

display trill name-table

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring a dynamic hostname for an RB using the trill-name command, you can run the display trill name-table command to check the mapping between the system ID of the RB and the hostname.

Example

# Display the mapping between the system ID and the hostname.

<HUAWEI> display trill name-table

Name table information for TRILL
Total DynName(s): 1
---------------------------------------------------
System ID            Trill Name           Type 
---------------------------------------------------
360a.a011.1220       RUTA                 DYNAMIC 
Table 14-14  Description of the display trill name-table command output

Item

Description

System ID

System ID of the host

Trill Name

Hostname

Type

Mapping between the system ID and the hostname. Currently, only the mapping between a dynamic hostname and system ID can be displayed.

Total DynName(s)

Number of configured dynamic hostnames

Related Topics

display trill nickname

Function

The display trill nickname command displays nickname information on a TRILL network.

Format

display trill nickname

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Each RB on a TRILL network has a unique nickname. RBs search the MAC forwarding table for a route to transmit traffic based on the nickname of the destination RB. RBs generate MDTs based on the nickname root priority of each RB and calculate the multicast forwarding table based on the MDTs to transmit multicast traffic.

The display trill nickname command displays nickname information on a TRILL network.

Example

# Display nickname information on a TRILL network.

<HUAWEI> display trill nickname

Nickname information for TRILL
------------------------------------------------------------------
*-Local Nickname, A-Advertised, S-Suppressed / S-Static, D-Dynamic

Total Nickname(s): 3

  Nickname Source ID/Trill Name   State Priority RootPri
--------------------------------------------------------
*      100 0000.0000.0002         A/S        192   32768
      8222 0000.0000.0003         A/D         64   32768
      8239 0000.0000.0001         A/D         64   32768
Table 14-15  Description of the display trill nickname command output

Item

Description

Total Nickname(s)

Number of nicknames on the network

Nickname

Nickname of an RB

Source ID/Trill Name

System ID of the RB/TRILL dynamic hostname

NOTE:

If a dynamic hostname is configured for the RB with the specified nickname, the hostname is displayed. If no dynamic hostname is configured, the system ID is displayed.

State

Status of the nickname
  • A/S: is short for Advertised/Static. This nickname is manually configured and has been advertised to the network through an LSP.
  • A/D: is short for Advertised/Dynamic. This nickname is automatically generated by the system and has been advertised to the network through an LSP.
  • S/S: is short for Suppressed/Static. This nickname is manually configured and is suppressed because its local priority is lower than that of another RB with the same nickname or the nickname is not advertised yet.
  • S/D: is short for Suppressed/Dynamic. This nickname is automatically generated by the system and is suppressed because its local priority is lower than that of another RB with the same nickname or the nickname is not advertised yet.

Priority

Priority of the nickname
  • The default priority of automatically generated nicknames is 64.
  • The default priority of configured nicknames is 192.

RootPri

Root priority of the nickname, with the default value 32768

*

Nickname of a Local RB

display trill peer

Function

The display trill peer command displays information about TRILL neighbors.

Format

display trill peer [ interface interface-type interface-number ] [ verbose ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays neighbor information on the specified interface. -
verbose Displays detailed information about TRILL neighbors. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In a TRILL area, to check whether two devices can communicate with each other, you can run the display trill peer command to view information about TRILL neighbors.

Specify verbose to view information, such as the area address, the duration during which the neighbor stays Up, and the priority of DRB.

Example

# Display information about TRILL neighbors.

<HUAWEI> display trill peer
Peer information for TRILL
--------------------------------------------------------------------------------

Total Peer(s): 3

System ID/Trill Name  Interface      Circuit ID        State  HoldTime Type  PRI
--------------------------------------------------------------------------------
0000.0000.0003        10GE1/0/1      0000.0000.0003.01 Report       8s L1     64
0000.0000.0001        10GE1/0/2      0000.0000.0002.01 Report      28s L1     64
0000.0000.0001        10GE1/0/3      0000.0000.0002.03 Report      27s L1     64

# Display detailed information about TRILL neighbors.

<HUAWEI> display trill peer verbose
Peer verbose information for TRILL
----------------------------------

Total Peer(s): 1

System ID                : 3603.a621.1110
Trill Name               : bbb 
Nickname                 : 59641
Interface                : 10GE1/0/1
Circuit ID               : 3603.a621.1110.01
Network Type             : Broadcast
State                    : Report
Hold Time                : 8s
Up Time                  : 113:55:13
Type                     : L1
Priority                 : 64
Area Address             : 00
Neighbor MAC Address     : 3603-a621-1110
Probed MTU               : --
Enabled VLANs            : --
VLANs Forwarder          : --
Table 14-16  Description of the display trill peer command output

Item

Description

System ID/Trill Name

System ID of a neighbor/TRILL dynamic hostname

NOTE:

If a TRILL dynamic hostname is configured for a neighbor, the hostname is displayed. If no TRILL dynamic hostname is configured, the neighbor's system ID is displayed.

Interface

Interface type and number

Circuit ID

Interface ID

State

Status of the neighbor
  • Report: The neighbor relationship has been established, and both ends can communicate with each other.
  • Detect: One end tries to establish a neighbor relationship with the other end.

HoldTime

Duration during which the adjacency stays Up

Type

TRILL type

PRI

Priority used to run for a DRB

Nickname

Nickname of an RB

Network Type

TRILL network type

Up Time

Duration during which the adjacency stays Up

Priority

Priority used to run for a DRB

Area Address

TRILL area address

Neighbor MAC Address

MAC address of the neighbor

Probed MTU

Interface MTU

Enabled VLANs

ID of the CE VLAN to which the interface belongs

VLANs Forwarder

ID of the VLAN in which the RB functions as an AF

display trill route

Function

The display trill route command displays the TRILL unicast routing table.

Format

display trill route [ nickname ] [ verbose ]

Parameters

Parameter Description Value
nickname Displays the TRILL unicast routing table of the destination RB with a specified nickname. The value is an integer ranging from 1 to 65471.
verbose

Displays detailed information about TRILL unicast routing table.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

RBs maintain information about all reachable routes, such as the information about the outbound interface, cost, and nexthop. You can run the display trill route command to check such information and identify the forwarding route. If you want to change the forwarding route, adjust the link cost.

Example

# Display the information about the TRILL unicast routing table.

<HUAWEI> display trill route
TRILL Unicast Routing Table
-------------------------------------------------------------------------
Flags: D-Download To Fib

Total Route(s): 2

Nickname       Cost Flag OutInterface    OuterVlan NextHop            Hop
-------------------------------------------------------------------------
    8337       2000 D    10GE1/0/1             100 8337/360a-a811-1220  1
                         10GE1/0/2             100 8337/360a-a811-1220  1
    8385       2000 D    10GE1/0/3             100 8385/360a-a831-1220  1

# Display the information about the TRILL unicast routing table of the destination RB with nickname 8385.

<HUAWEI> display trill route 8385
TRILL Unicast Routing Table
-------------------------------------------------------------------------
Flags: D-Download To Fib

Total Route(s): 1

Nickname       Cost Flag OutInterface    OuterVlan NextHop            Hop
-------------------------------------------------------------------------
    8385       2000 D    10GE1/0/1             100 8385/360a-a831-1220  1
Table 14-17  Description of the display trill route command output

Item

Description

Nickname

Nickname of the destination RB

Cost

Cost of the route to the destination RB

Flag

Routing information flag

OutInterface

Outbound interface

OuterVlan

Outer VLAN ID

NextHop

Nickname and MAC address of the next hop.

Hop

Number of hops

display trill rpf

Function

The display trill rpf command displays the TRILL multicast RPF table.

Format

display trill rpf

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After receiving a packet, a device searches the multicast routing table for an optimal route to the source IP address of the packet as the Reverse Path Forwarding (RPF) route. If the interface that the packet reaches is the outbound interface of the optimal route, the packet passes the RPF check. Otherwise, the packet fails the RPF check and is discarded, which prevents loops. You can run the display trill rpf command to check the TRILL multicast RPF table.

Example

# Display the TRILL multicast RPF table.

<HUAWEI> display trill rpf
 
TRILL Multicast RPF Table
------------------------------------------------------
Total: 4

Ingress  Root  Interface       Neighbor Mac  OuterVlan  
------------------------------------------------------
   8335  8335  10GE3/0/4       360a-a821-1220      100    
   8335  8352  10GE3/0/6       360a-a831-1220      100    
   8352  8335  10GE3/0/4       360a-a821-1220      100    
   8352  8352  10GE3/0/6       360a-a831-1220      100   
Table 14-18  Description of the display trill rpf command output

Item

Description

Ingress

Nickname of the ingress RB

Root

Nickname of an MDT root

Interface

Interface name

Neighbor Mac

MAC address of the neighbor

OuterVlan

Outer VLAN ID

display trill spf

Function

The display trill spf command displays information about TRILL SPF.

Format

display trill spf [ verbose ]

Parameters

Parameter Description Value
verbose Displays detailed information about TRILL SPF. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After all the LSDBs on a TRILL network are synchronized, each RB performs the SPF algorithm to generate nickname unicast and multicast routing tables. You can run the display trill spf command to view information about TRILL SPF and relationships between nodes. Based on such information, you can check whether the topology is correct.

To view detailed information, specify verbose in this command.

Example

# Display information about TRILL SPF.

<HUAWEI> display trill spf
TRILL Unicast Shortest Path Tree                                                
--------------------------------------------------------------------------------
                                                                                
Flags:   *-Self Node, T-Node is on tree, R-Node is root,                        
         U-Link is upward, D-Link is downward                                   
                                                                                
Node/Trill Name     NodeFlag   Distance  Link/Trill Name      LinkFlag  LinkCost
--------------------------------------------------------------------------------
0000.0000.1111.00*  R                 0                                         
                                                                                
                                         ->0000.0000.2222.00  D            20000
                                                                                
0000.0000.2222.00   T             20000                                         
                                                                                
                                         ->0000.0000.1111.00  U            20000
                                                                                

# Display detailed information about TRILL SPF.

<HUAWEI> display trill spf verbose
 
TRILL Unicast Shortest Path Tree
--------------------------------

 0000.0000.0001.00*
   Distance : 0
   Flags    : SPT
   Hop      : 0
   Nexthops : 0
   Neighbors: 4 (Children:4  Parents:0)
      (1) 0000.0000.0003.03
                     Cost  : 30
                     Flags : Child
      (2) 0000.0000.0003.02
                     Cost  : 30
                     Flags : Child
      (3) 0000.0000.0002.01
                     Cost  : 30
                     Flags : Child
      (4) 0000.0000.0002.03
                     Cost  : 30
                     Flags : Child
 0000.0000.0002.00
   Distance : 30
   Flags    : SPT
   Hop      : 1
   Nexthops : 2
      (1) MAC: 360a-a821-1220      IF: 10GE1/0/1
          NBR ID/Trill Name: 0000.0000.0002.00   
      (2) MAC: 360a-a821-1220      IF: 10GE1/0/2
          NBR ID/Trill Name: 0000.0000.0002.00   
   Neighbors: 3 (Children:1  Parents:2)
      (1) 0000.0000.0002.03
                     Cost  : 10
                     Flags : Parent
      (2) 0000.0000.0002.01
                     Cost  : 10
                     Flags : Parent
      (3) 0000.0000.0003.01
                     Cost  : 10
                     Flags : Child
 0000.0000.0002.01
   Distance : 30
   Flags    : SPT
   Hop      : 0
   Nexthops : 0
   Neighbors: 2 (Children:1  Parents:1)
      (1) 0000.0000.0001.00
                     Cost  : 0
                     Flags : Parent
      (2) 0000.0000.0002.00
                     Cost  : 0
                     Flags : Child
 0000.0000.0002.03
   Distance : 30
   Flags    : SPT
   Hop      : 0
   Nexthops : 0
   Neighbors: 2 (Children:1  Parents:1)
      (1) 0000.0000.0001.00
                     Cost  : 0
                     Flags : Parent
      (2) 0000.0000.0002.00
                     Cost  : 0
                     Flags : Child
 0000.0000.0003.00
   Distance : 30
   Flags    : SPT
   Hop      : 1
   Nexthops : 2
      (1) MAC: 360a-a831-1220      IF: 10GE1/0/3
          NBR ID/Trill Name: 0000.0000.0003.00   
      (2) MAC: 360a-a831-1220      IF: 10GE1/0/4
          NBR ID/Trill Name: 0000.0000.0003.00   
   Neighbors: 3 (Children:1  Parents:2)
      (1) 0000.0000.0003.03
                     Cost  : 10
                     Flags : Parent
      (2) 0000.0000.0003.02
                     Cost  : 10
                     Flags : Parent
      (3) 0000.0000.0003.01
                     Cost  : 10
                     Flags : Child
 0000.0000.0003.01
   Distance : 40
   Flags    : SPT
   Hop      : 1
   Nexthops : 0
   Neighbors: 2 (Children:0  Parents:2)
      (1) 0000.0000.0003.00
                     Cost  : 0
                     Flags : Parent
      (2) 0000.0000.0002.00
                     Cost  : 0
                     Flags : Parent
 0000.0000.0003.02
   Distance : 30
   Flags    : SPT
   Hop      : 0
   Nexthops : 0
   Neighbors: 2 (Children:1  Parents:1)
      (1) 0000.0000.0001.00
                     Cost  : 0
                     Flags : Parent
      (2) 0000.0000.0003.00
                     Cost  : 0
                     Flags : Child
 0000.0000.0003.03
   Distance : 30
   Flags    : SPT
   Hop      : 0
   Nexthops : 0
   Neighbors: 2 (Children:1  Parents:1)
      (1) 0000.0000.0001.00
                     Cost  : 0
                     Flags : Parent
      (2) 0000.0000.0003.00
                     Cost  : 0
                     Flags : Child
Table 14-19  Description of the display trill spf command output

Item

Description

Node/Trill Name

Node ID/TRILL dynamic hostname

NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the node ID is displayed.

NodeFlag

Node flag:
  • T: The node is on the SPT.
  • R: The node is the root of the SPT.

Distance

Cost of the route from the root to this node

Flags

If this field displays SPT, this node resides on the shortest path tree.

If this field displays -, this node does not reside on the shortest path tree.

Link/Trill Name

Link/TRILL dynamic hostname

NOTE:

If a TRILL dynamic hostname is configured, it is displayed. If no TRILL dynamic hostname is configured, the link name is displayed.

LinkCost

Link cost

LinkFlag

Link flag:
  • U: Upstream link to a parent node
  • D: Downstream link to a child node

Hop

Number of hops from the root to the destination node

Nexthops

Number of hops from this node to the destination node

MAC

Next hop MAC address

IF

Outbound interface to the next hop

NBR ID/Trill Name

System ID of the next hop/TRILL dynamic hostname

NOTE:

If a dynamic hostname is configured for the next hop, the hostname is displayed. If no dynamic hostname is configured, the next hop's system ID is displayed.

Neighbors

Information about all neighbors (including this node)

Cost

Link cost

Flags

Relationship between the neighbor and this node
  • Parent: The neighbor is a parent node.
  • Child: The neighbor is a child node.

display trill spf-log

Function

The display trill spf-log command displays TRILL SPF calculation logs.

Format

display trill spf-log

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the SPT calculated by TRILL is incorrect, you can run the display trill spf-log command to diagnose the fault. The command displays information about SPF calculation, such as the start time and duration of the SPF calculation, number of nodes, and events that trigger the SPF calculation. You can determine whether the events are the cause of the SPF calculation fault based on the start time of the SPF calculation.

Example

# Display TRILL SPF calculation logs.

<HUAWEI> display trill spf-log
SPF Log information for TRILL                                                   
--------------------------------------------------------------------------------
                                                                                
 StartTime  Duration(ms)  Nodes  Count  Last Trigger LSP      Trigger Event     
--------------------------------------------------------------------------------
2014-07-03  0             2      1      0000.0000.2222.00-00  LSP_UPDATE        
                                                                                
21:24:28                                                                        
                                                                                
2014-07-03  1             2      2      0000.0000.2222.00-00  LSP_UPDATE        
                                                                                
21:24:13                                                                        
Table 14-20  Description of the display trill spf-log command output

Item

Description

StartTime

Start time of the SPF calculation

Duration(ms)

Duration of the SPF calculation

Nodes

Number of nodes calculated by SPF

Count

Number of events that trigger the SPF calculation

Last Trigger LSP

Last LSP that triggers the SPF calculation

Trigger Event

Most recent event that triggers the SPF calculation

display trill statistics

Function

The display trill statistics command displays statistics about a TRILL process, such as the packet information and the number of unicast and multicast routes, remote nicknames, and neighbors.

Format

display trill statistics [ packet [ interface interface-type interface-number ] ]

Parameters

Parameter Description Value
packet Displays statistics about TRILL packets. -
interface interface-type interface-number Indicates the source interface of the packet. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display trill statistics command displays statistics about a TRILL process. If you specify packet in this command, you can view TRILL packet statistics, such as the number of received and sent Hello packets, LSPs, SNPs, number of times for an RB to be elected as the DRB, and the interval at which Hello packets are sent. If you specify packet in this command, you can also view statistics about packets on a specified interface.

Example

# Display statistics about a TRILL process.

<HUAWEI> display trill statistics
Statistics Information for TRILL
--------------------------------------------------------------------------------

Interfaces        : 2      (UP:2      / Down:0     )
Broadcast Peers   : 1      (Report:1      / Detect:0      / 2-way:0     )
P2P Peers         : 1      (UP:1      / Init:0     )
Unicast Routes    : 1
Multicast Routes  : 22
RPF Entries       : 2
Remote Nicknames  : 1
LSDB LSPs         : 4
Self LSPs         : 2
Multicast Trees   : 2
Unicast Nodes     : 2      (SPT:2      / Isolated:0     )
Multicast Nodes   : 2      (Root 111   , SPT:2      / Isolated:0     )
                    2      (Root 222   , SPT:2      / Isolated:0     )
Table 14-21  Description of the display trill statistics command output

Item

Description

Interfaces

Number of TRILL-capable interfaces
  • UP: Number of TRILL-capable interfaces that are Up
  • Down: Number of TRILL-capable interfaces that are Down

Broadcast Peers

Number of neighbors on the broadcast network
  • Report: Number of neighbors in the Report state
  • Detect: Number of neighbors in the Detect state
  • 2-way: Number of neighbors in the 2-way state

P2P Peers

Number of neighbors on the P2P network
  • UP: Number of P2P neighbors in the UP state
  • Init: Number of P2P neighbors in the Init state

Unicast Routes

Number of unicast routes

Multicast Routes

Number of multicast routes

RPF Entries

Number of RPF entries

Remote Nicknames

Number of remote nicknames

LSDB LSPs

Number of LSPs in the LSDB

Self LSPs

Number of local LSPs

Multicast Trees

Number of multicast distribution trees

Unicast Nodes

Number of nodes of the unicast SPTs
  • SPT: Number of nodes on the unicast SPTs
  • Isolated: Number of nodes that are not on the unicast SPTs

Multicast Nodes

Number of nodes on the MDTs
  • Root: Nickname of the multicast root
  • SPT: Number of nodes on the MDTs
  • Isolated: Number of nodes that are not on the MDTs

# Display statistics about TRILL packets.

<HUAWEI> display trill statistics packet interface 10GE1/0/1
Statistic for TRILL Packets
---------------------------
Interface 10GE1/0/1
P2P     Hellos(sent/received) : 40579/60692
MaxHelloInterval              : 10 s
LSP     Retransmissions       : 0
Level-1 LSPs  (sent/received) : 766/928
Level-1 CSNPs (sent/received) : 3/3
Level-1 PSNPs (sent/received) : 557/740
Table 14-22  Description of the display trill statistics packet command output

Item

Description

Level-1 LSPs (sent/received)

Number of received and sent Level-1 LSPs

Level-1 CSNPs (sent/received)

Number of received and sent Level-1 CSNPs

Level-1 PSNPs (sent/received)

Number of received and sent Level-1 PSNPs

P2P Hellos(sent/received)

Number of received and sent Hello packets by P2P interfaces

MaxHelloInterval

Maximum interval at which Hello packets are sent by P2P interfaces

LSP Retransmissions

Number of LSPs retransmit

display trill troubleshooting

Function

The display trill troubleshooting command displays the cause of TRILL neighbor relationship disconnection or flapping.

Format

display trill troubleshooting

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If a TRILL neighbor relationship is disconnected or flaps, you can run the display trill troubleshooting command to check the cause. The command output helps diagnose the fault.

Example

# Display the cause of TRILL neighbor relationship disconnection or flapping.

<HUAWEI> display trill troubleshooting
Total counts: 1                                                                 
--------------------------------------------------------------------------------
Sequence   Time                      Event Description                          
--------------------------------------------------------------------------------
1          2015-12-07 09:34:38       The TRILL peer 0000.0000.1111 went Down bec
                                     ause the interface 10GE1/0/13 went Down. Pl
                                     ease check the status of the interface.    
                                                                                
--------------------------------------------------------------------------------
Table 14-23  Description of the display trill troubleshooting command output

Item

Description

Total counts

Number of TRILL neighbor relationship disconnection times.

Sequence

Sequence number of a record.

Time

Time when a TRILL neighbor relationship was disconnected.

Event Description

Description of the event that a TRILL neighbor relationship was disconnected.

lsp-remaining-lifetime refresh disable (TRILL)

Function

The lsp-remaining-lifetime refresh disable command disables automatic TRILL LSP Remaining Lifetime adjustment.

The undo lsp-remaining-lifetime refresh disable command enables automatic TRILL LSP Remaining Lifetime adjustment.

By default, automatic TRILL LSP Remaining Lifetime adjustment is enabled.

Format

lsp-remaining-lifetime refresh disable

undo lsp-remaining-lifetime refresh disable

Parameters

None

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

The LSP remaining lifetime specifies the remaining validity time of an LSP. When the remaining lifetime of an LSP is 0, this LSP is deleted. If the LSP remaining lifetime is incorrect, LSPs will be too fast or too slow to be aged out. As a result, routes cannot be converged. To address this issue, manually set the LSP remaining lifetime.

Example

# Disable automatic TRILL LSP Remaining Lifetime adjustment.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] lsp-remaining-lifetime refresh disable

lsp-remaining-lifetime refresh timer (TRILL)

Function

The lsp-remaining-lifetime refresh timer command configures a TRILL LSP Remaining Lifetime value.

The undo lsp-remaining-lifetime refresh timer command restores the default TRILL LSP Remaining Lifetime value.

By default, the TRILL LSP Remaining Lifetime value is the maximum LSP age.

Format

lsp-remaining-lifetime refresh timer { refreshvalue | lsp-max-age }

undo lsp-remaining-lifetime refresh timer [ refreshvalue ]

Parameters

Parameter Description Value
refreshvalue Specifies a TRILL LSP Remaining Lifetime value. The value is an integer ranging from the maximum LSP age to 65535, in seconds. To set the maximum LSP age, run the timer lsp-max-age age-time command.
lsp-max-age Sets the TRILL LSP Remaining Lifetime value to the maximum LSP age. -

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

The LSP remaining lifetime specifies the remaining validity time of an LSP. When the remaining lifetime of an LSP is 0, this LSP is deleted. If the LSP remaining lifetime is incorrect, LSPs will be too fast or too slow to be aged out. As a result, routes cannot be converged. To address this issue, manually set the LSP remaining lifetime.

If automatic TRILL LSP Remaining Lifetime adjustment is enabled and the following conditions are met, the TRILL LSP Remaining Lifetime is set to the configured value:
  • The local device receives an LSP generated by another device, and the LSP is newer than the corresponding LSP stored locally.
  • The Remaining Lifetime of the LSP is non-zero and less than the configured value.

Example

# Set the TRILL LSP Remaining Lifetime value to 60000.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] lsp-remaining-lifetime refresh timer 60000

maximum load-balance (TRILL)

Function

The maximum load-balance command sets the maximum number of equal-cost routes for load balancing.

The undo maximum load-balance command restores the default setting.

By default, a maximum of 16(CE switches excluding CE6870EI) or 32(CE6870EI) equal-cost routes can load-balance traffic.

Format

maximum load-balance number

undo maximum load-balance

Parameters

Parameter Description Value
number Specifies the maximum number of equal-cost routes for load balancing.

(CE6870EI) The value is an integer ranging from 1 to 32. The default value is 32.

(CE switches excluding the CE6870EI) The value is an integer ranging from 1 to 16. The default value is 16.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When multiple equal-cost routes to the same destination are available, they can load-balance traffic to increase the network resource usage and prevent network congestion along overloaded routes. To control traffic, run the maximum load-balance command to set the maximum number of equal-cost routes for load balancing.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

Equal-cost routes load-balance traffic randomly, which may result in poor traffic management.

If equal-cost routes outnumber the configured value on a TRILL network, the TRILL network selects the equal-cost routes in the following sequence:
  • Route with the smaller outbound interface index
  • Route whose next hop RB has the smaller system ID

Example

# Set the maximum number of equal-cost routes for load balancing to 2.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] maximum load-balance 2
Related Topics

multicast-group prune enable

Function

The multicast-group prune enable command enables TRILL multicast group-based pruning.

The undo multicast-group prune enable command disables TRILL multicast group-based pruning.

By default, TRILL multicast group-based pruning is disabled.

Format

multicast-group prune enable

undo multicast-group prune enable

Parameters

None

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a TRILL network, an RB calculates a multicast distribution tree (MDT) to forward multicast or broadcast traffic. If the MDT has more than one next hop, the RB replicates the traffic and forwards one copy to each next hop. As a result, each next hop needs to process the traffic on receiving it, wasting bandwidth and forwarding resources.

To address this issue, TRILL provides multicast group-based pruning to ensure that an RB forwards traffic only to the next hop in the same multicast group. This function improves bandwidth efficiency.

Prerequisites

A TRILL process has been created using the trill command.

Example

# Enable TRILL multicast group-based pruning.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] multicast-group prune enable
Related Topics

network-entity (TRILL)

Function

The network-entity command configures the Network Entity Title ( NET ) for an RB.

The undo network-entity command cancels the configured NET. Then, the automatically generated NET takes effect.

By default, the automatically generated NET takes effect. The system ID in this NET is the MAC address of the current system.

Format

network-entity net

undo network-entity net

Parameters

Parameter Description Value
net Specifies the NET of TRILL. The format is 00.XXXX.XXXX.XXXX.00, in which XXXX.XXXX.XXXX is the system ID of the RB, the first 00 is the area ID, and the last 00 is the SEL.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After basic TRILL functions are configured, the system generates a NET. The automatically generated NET is difficult to memorize. In this situation, run the network-entity command to configure one that is easier to memorize.

A NET is a special Network Service Access Point (NSAP) form. A TRILL NET ranges 8 bytes and comprises the following parts:
  • Area ID. The TRILL area ID is 00.

  • System ID of the local RB (6 bytes). The system ID must be unique in one TRILL VLAN.

  • SEL. The SEL is the last byte and must be 00.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

One RB can have only one NET.

Example

# Set the NET to 00.0000.0000.0001.00, in which 0000.0000.0001 is the system ID.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] network-entity 00.0000.0000.0001.00

nickname

Function

The nickname command configures a nickname, priority, and root priority for an RB.

The undo nickname command cancels the configured nickname and restores the default priority and root priority.

By default, nicknames are generated automatically, with the priority 64 and root priority 32768.

Format

nickname nicknamevalue [ priority priorityvalue ] [ root-priority rootpriorityvalue ]

undo nickname nicknamevalue

Parameters

Parameter Description Value
nicknamevalue

Specifies the nickname value of an RB.

The value is an integer ranging from 1 to 65471.

priority priorityvalue

Indicates the priority value of an RB.

The value is an integer ranging from 128 to 255. The default value is 192.

root-priority rootpriorityvalue

Indicates the root priority of an RB to run for a root.

The value is an integer ranging from 1 to 65535. The default value is 32768.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Each RB on a TRILL network has a unique nickname. Nicknames can be generated automatically or configured. As a part of the MAC forwarding table, nicknames are encapsulated into TRILL packets. RBs search the MAC forwarding table for a route to transmit traffic based on the nickname of the destination RB. To transmit multicast traffic, RBs generate MDTs based on the nickname root priority of each RB and calculate the multicast forwarding table based on the MDTs.

The automatically generated nicknames are irregular numbers, neither friendly to users nor easy to maintain and manage. MDTs calculated based on automatically generated nicknames are not necessarily optimal.

In this situation, configure a nickname that is easier to memorize and manage than the automatically generated nickname and configure a high root priority so that the local RB can be elected as the root of an MDT.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

The nickname must be unique on a network. If a nickname conflict occurs, TRILL performs either of the following operations:
  • If the nickname conflicts with an automatically generated nickname, the RB with the lowest priority generates a new nickname.
  • If the nickname conflicts with a configured nickname, the nickname of the RB with the lowest priority is suppressed and is not advertised to other RBs.

Example

# Configure nickname 200, with the priority 200 and root priority 1000.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] nickname 200 priority 200 root-priority 1000
Related Topics

ping trill

Function

The ping trill command checks unicast forwarding paths and reachability of nodes along paths on a TRILL network.

Format

ping trill [ -c count | -h ttl-value | -m time | -t timeout ] * nickname

Parameters

Parameter Description Value
-c count Specifies the number of times for sending ECHO-REQUEST messages.

The ping trill command labels each ECHO-REQUEST message with a sequence ID that starts from 1 and is increased by 1. By default, five ECHO-REQUEST messages are sent. You can set the number of ECHO-REQUEST messages to send by specifying the parameter count.

You can increase the number of outgoing packets to detect the network quality based on the packet loss rate.

The value is an integer that ranges from 1 to 4294967295. The default value is 5.
-h ttl-value Specifies the TTL value.

If the TTL field is reduced to 0 during message forwarding, the Layer 3 device discards the message.

The value is an integer that ranges from 1 to 63. The default value is 63.
-m time Specifies the time to wait before sending the next ECHO-REQUEST message.

Each time the source sends an ECHO-REQUEST message using the ping trill command, the source waits a period of time (2000 ms by default) before sending the next ECHO-REQUEST message. You can set the time to wait before sending the next ECHO-REQUEST message using the parameter time. In the case of poor network condition, the value should be equal to or larger than 2000, in milliseconds.

The value is an integer that ranges from 1 to 10000, in milliseconds. The default value is 2000.
-t timeout Specifies the timeout period to wait for an ECHO-REPLAY message after an ECHO-REQUEST message is sent.

After the ping trill command is run, the source sends an ECHO-REQUEST message to a destination and waits for an ECHO-REPLAY message. If the destination, after receiving the ECHO-REQUEST message, returns an ECHO-REPLAY message to the source within the period specified by the parameter timeout, the destination is reachable. If the destination does not return an ECHO-REPLAY message within the specified period, the ECHO-REQUEST message is displayed as expired at the source.

Normally, the source receives an ECHO-REPLAY message within 1 to 10 seconds after sending an ECHO-REQUEST message. If the transmission speed is low, properly prolong the timeout period.

The value is an integer that ranges from 0 to 65535, in milliseconds. The default value is 2000.
nickname Specifies the destination nickname.

The destination nickname cannot be the same as the local nickname.

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

Views

All views

Default Level

0: Visit level

Usage Guidelines

Usage Scenario

The ping trill command is a widely used debugging tool for checking network connectivity and host reachability on a network by transmitting ICMP messages. It can detect the following items:
  • Availability of the remote device
  • Round-trip delay in communication between the local and remote devices
  • Packet loss rate
You can run the ping trill command to check the TRILL network connectivity or line quality in the following scenarios:
  • Scenario 1: Check whether the destination TRILL host is reachable on a TRILL network. You can run the ping trill nickname command to send an ECHO-REQUEST message to the destination host. If a reply is received, the destination host is reachable.

  • Scenario 2: In the case of an unstable network, you can run the ping trill -c count -t timeout nickname command to check the quality of the TRILL network between the local device and the peer. By analyzing the packet loss rate and average delay in the command output, you can evaluate the TRILL network quality. If the network is unreliable, set the packet transmission count (-c) and timeout (-t) to the upper limits. This makes the test result accurate.

Prerequisites

  • TRILL has been enabled globally using the trill command.

Precautions

If a fault occurs in the Trill ping process, you can press Ctrl+C to terminate the Trill ping operation.

Example

# Detect whether the node whose nickname is 4327 on the TRILL network is reachable.

<HUAWEI> ping trill -c 2 4327
  PING trill 4327:28  data bytes, press CTRL_C to break
    Reply from 4327: bytes=42 Sequence=1 ttl=63 time=2 ms
    Reply from 4327: bytes=42 Sequence=2 ttl=63 time=1 ms
  --- 4327 ping statistics ---
    2 packet(s) transmitted
    2 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/2 ms 
Table 14-24  Description of the ping trill command output

Item

Description

PING trill 4327

Destination nickname.

28 data bytes

Length of a sent ECHO-REQUEST message.

press CTRL_C to break

The ongoing TRILL ping test is terminated after you press Ctrl+C.

Reply from 4327: bytes=42 Sequence=1 ttl=63 time=2 ms

The destination host responds to the ECHO-REQUEST message with an ECHO-REPLAY message that contains the following items:
  • bytes: indicates the length of the ECHO-REPLAY message.

  • sequence: indicates the sequence number of the ECHO-REPLAY message, which identifies whether the message is discarded, disordered, or replicated.

  • ttl: indicates the TTL of the ECHO-REPLAY message.

  • time: indicates the RTT, in milliseconds. When the RTT is less than 1 ms, the system displays "<1ms".

If no ECHO-REPLAY message is received after the timeout period, the system displays "Request time out".

4327 ping statistics

Statistics collected after the TRILL ping test on the destination host. The statistics include the following information:
  • packet(s) transmitted: indicates the number of sent ECHO-REQUEST messages.

  • packet(s) received: indicates the number of received ECHO-REPLAY messages.

  • % packet loss: indicates the percentage of unresponded messages to total sent messages.

  • round-trip min/avg/max: indicates the minimum, average, and maximum RTTs, in milliseconds.

port-mode (TRILL)

Function

The port-mode command configures an interface mode for all TRILL-enabled interfaces on an RB.

The undo port-mode command restores the default setting.

By default, the interface mode is p2p.

Format

port-mode { access | hybrid | p2p | trunk }

undo port-mode

Parameters

Parameter Description Value
access

Sets the interface mode to access. Access interfaces transmit Native Ethernet packets only.

-
hybrid

Sets the interface mode to hybrid. hybrid is a mixed mode of access and trunk. Hybrid interfaces transmit both TRILL data packets and Native Ethernet packets.

-
p2p

Sets the interface mode to p2p. P2P interfaces transmit TRILL data packets and protocol packets only. Therefore, P2P interfaces cannot be elected as the DRB or an AF in a VLAN.

-
trunk

Sets the interface mode to trunk. Trunk interfaces connect switches and transmit TRILL data packets and protocol packets only.

-

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Interfaces of different modes have different roles. Run the port-mode command to configure interface modes for RBs based on their roles on TRILL networks to reduce the number of packets to be processed and to use bandwidth and system resources more efficiently.

An interface in hybrid mode is a hybrid interface and not described here. The following describes the configuration principles of other three interface modes:
  • Configure the interface mode as access if the interface is located at the edge of a TRILL network and connected to the CE VLAN.
  • Configure the interface mode as trunk if the interface is located within a TRILL network and you want the interface to transmit TRILL packets.
  • Configure the interface mode as p2p if the interface connects RBs on a P2P network.

Prerequisites

The TRILL function has been enabled and the TRILL view has been displayed using the trill command in the interface view.

Precautions

Access interfaces cannot transmit TRILL packets and are not selected as outbound interfaces of TRILL routes. Therefore, if access is configured as the interface mode of an interface, the interface is not available in route selection.

A trunk interface cannot function as an AF, and the trunk interface discards received Ethernet packets. If you configure trunk as the interface mode for an interface that is connected to a CE VLAN, user traffic cannot flow to the TRILL network.

P2P interfaces function the same as trunk interfaces except that P2P interfaces cannot be elected as DRBs.

In TOR stacking scenarios, the interface mode cannot be set to hybrid. Otherwise, loops may occur.

The priority of the port-mode command is lower than that of the trill enable port-mode command. If both the commands are run, the one run in the interface view takes effect.

Example

# Set the interface mode to access for all interfaces of an RB.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] port-mode access 
Related Topics

reset mac-address nickname

Function

The reset mac-address nickname command deletes dynamic MAC address entries with a specified nickname.

Format

reset mac-address nickname nickname-value

Parameters

Parameter Description Value
nickname-value Specifies the nickname value of the remote end. The value is an integer that ranges from 1 to 65471.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To delete dynamic MAC address entries learned by the device, for example, useless MAC address entries, you can run the reset mac-address nickname command to delete dynamic MAC address entries with a specified nickname.

Precautions

After the reset mac-address nickname command is executed, dynamic MAC address entries learned by the device are deleted and cannot be restored. Therefore, use this command with caution.

Example

# Delete MAC address entries learned by the device based on the nickname of the destination RB.

<HUAWEI> reset mac-address nickname 200

reset trill all

Function

The reset trill all command clears statistics about a TRILL process.

Format

reset trill all

Parameters

None

Views

User views

Default Level

2: Configuration level

Usage Guidelines

When you want to refresh LSPs, run the reset trill all command to clear current LSPs.

This command clears all statistics about a TRILL process, such as the neighbor status, LSDB, and neighbor nicknames.

Example

# Clear all statistics about a TRILL process.

<HUAWEI> reset trill all

reset trill peer

Function

The reset trill peer command deletes TRILL neighbor status information.

Format

reset trill peer { system-id | interface interface-type interface-number }

Parameters

Parameter Description Value
system-id Deletes status information about the TRILL neighbor with a specified system ID. -
interface interface-type interface-number Deletes TRILL neighbor status information on a specified interface. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When existing LSPs need to be deleted and network-wide information does not need to be updated, run the reset trill peer command to delete TRILL neighbor status information.

Configuration Impact

After the reset trill peer command is run, the system deletes TRILL neighbor status information, LSDB data, and neighbor nickname-related data in a TRILL process.

Example

# Delete TRILL neighbor status information on 10GE1/0/1.

<HUAWEI> reset trill peer interface 10ge 1/0/1

rfc7180 compatible

Function

The rfc7180 compatible command configures TRILL to calculate multicast distribution trees (MDTs) in compliance with RFC 7180.

The undo rfc7180 compatible command restores the default configuration.

By default, TRILL follows RFC 6325 to calculate MDTs.

Format

rfc7180 compatible

undo rfc7180 compatible

Parameters

None

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, TRILL follows RFC 6325 to calculate MDTs. To allow devices following RFC 6325 to interoperate with devices following RFC 7180, run the rfc7180 compatible command to configure TRILL to calculate MDTs in compliance with RFC 7180. The undo rfc7180 compatible command restores the default configuration.

Precautions

  • Devices on a TRILL network can communicate with each other only when they use the same RFC standard to calculate MDTs.
  • Devices following RFC 6325 to calculate MDTs cannot communicate with those following RFC 7180.

Example

# Configure TRILL to calculate MDTs in compliance with RFC 7180.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] rfc7180 compatible
Related Topics

set-overload (TRILL)

Function

The set-overload command configures an overload bit for the RB.

The undo set-overload command restores the default configurations.

By default, no overload bit is configured for the RB.

Format

set-overload [ on-startup [ timeout1 ] [ send-sa-bit [ timeout2 ] ] ] max-reachable-cost

undo set-overload

Parameters

Parameter Description Value
on-startup Indicates that the RB stays in the overload state after the RB restarts or fails. -
timeout1 Specifies the period during which the RB stays in the overload state. The value is an integer ranging from 5 to 86400, in seconds. The default value is 600 seconds.
send-sa-bit Indicates that the packets sent by the RB carry SA bit with value 1. -
timeout2 Specifies the period during which the SA bit carried in Hello packets sent by the RB stays at 1. The value is an integer ranging from 5 to 120, in seconds. The default value is 30 seconds.
max-reachable-cost Indicates that the cost of the route to be advertised by the RB is the maximum link cost allowed (16777215) so that the optimal route does not travel through the RB. -

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the RB cannot store new LSPs or synchronize the LSDB because of insufficient memory resources, the routes calculated by this RB are incorrect. Then the RB enters the overload state automatically and notifies other RBs that it no longer forwards traffic.

If the RB restarts or fails, you can run the set-overload command to configure an overload bit for the RB. After the overload bit is configured, the cost of the route to be advertised by the RB is the maximum link cost allowed (16777214) so that the optimal route does not travel through the RB, which prevents traffic interruption.

If send-sa-bit is specified in the command, the SA bit carried in Hello packets sent by the RB is 1 so that neighbors of the RB will not advertise the neighbor relationship with the RB to others after receiving the Hello packets.

Prerequisites

A TRILL process has been created using the trill command.

Example

# Enable the RB to advertise the routes with max-reachable-cost.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] set-overload max-reachable-cost

# Enable the RB to advertise the routes with max-reachable-cost within 500s after the RB restarts.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] set-overload on-startup 500 max-reachable-cost

snmp-agent trap enable feature-name trill

Function

The snmp-agent trap enable feature-name trill command enables the trap function on the TRILL module.

The undo snmp-agent trap enable feature-name trill command disables the trap function on the TRILL module.

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

Format

snmp-agent trap enable feature-name trill [ trap-name { trillnicknameconflict | trillnicknameconflictclear | trillauthenticationfailure | trillauthenticationtypefailure | hwtrilllspremaininglifetimerefresh } ]

undo snmp-agent trap enable feature-name trill [ trap-name { trillnicknameconflict | trillnicknameconflictclear | trillauthenticationfailure | trillauthenticationtypefailure | hwtrilllspremaininglifetimerefresh } ]

Parameters

Parameter Description Value
trap-name Enables the trap function for the specified event. -
trillnicknameconflict Enables the trap function for a nickname conflict. -
trillnicknameconflictclear Enables the trap function for nickname conflict resolution. -
trillauthenticationfailure Enables the alarm function for authentication failures due to different passwords. -
trillauthenticationtypefailure Enables the alarm function for authentication failures due to different authentication modes. -
hwtrilllspremaininglifetimerefresh Enables the alarm function for too less remaining lifetime. -

Views

System view

Default Level

3: Management level

Usage Guidelines

To enable the trap function for one or more specific events, specify the trap-name parameter.

Example

# Enable the trap function for a nickname conflict.

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

tree-number

Function

The tree-number command configures the number of MDTs to be calculated by an RB.

The undo tree-number command deletes the configured number of MDTs to be calculated by an RB.

By default, an RB calculates two MDTs.

Format

tree-number compute compute-number

undo tree-number compute compute-number

Parameters

Parameter Description Value
compute compute-number Specifies the number of MDTs to be calculated by an RB. The value is 1 or 2.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, an RB calculates two MDTs for load balancing. However, configuring an RB to calculate only one MDT in the following scenarios is recommended:
  • One of the two RBs that function as Spine nodes fails, but you do not want other non-Spine-node RBs to be selected as MDT roots.
  • The network is simple or forwarding resources are limited.

Precautions

  • If some RBs on the network do not support the tree-number command, retain the default configuration of the command on all RBs; otherwise, traffic forwarding may be interrupted.
  • In a TRILL active-active scenario, two MDTs are required.
  • The entire TRILL network calculates and delivers only one MDT only after the tree-number compute 1 command is run on the RB with the highest root priority.

Example

# Configure an RB to calculate only one MDT in a TRILL process.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] tree-number compute 1

timer lsp-generation (TRILL)

Function

The timer lsp-generation command configures the maximum interval at which LSPs are generated.

The undo timer lsp-generation command restores the default setting.

By default, the maximum interval at which LSPs are generated is 2s.

Format

timer lsp-generation max-interval [ init-interval [ incr-interval ] ]

undo timer lsp-generation

Parameters

Parameter Description Value
max-interval Specifies the maximum interval at which LSPs are generated. The value is an integer ranging from 1 to 120, in seconds. The default value is 2.
init-interval Specifies the delay in generating an LSP for the first time. The value is an integer ranging from 1 to 60000 in milliseconds. The default value is 0.
incr-interval Specifies the incremental interval at which the same LSP is generated. The value is an integer ranging from 1 to 60000 in milliseconds. The default value is 0.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the local routing information changes, the local RB sends LSPs to advertise these changes on TRILL networks. If the local routing information changes frequently, a large number of LSPs are generated, which consumes a lot of system resources.

An intelligent timer adjusts the delay based on the route change frequency automatically. This ensures fast route convergence, without affecting system performance. You can run the timer lsp-generation command to configure parameters for an intelligent timer.

The parameters are described as follows:
  • If you specify max-interval only, the intelligent timer functions as an ordinary one-time triggering timer, and LSPs are generated at the interval specified by max-interval.

  • If you specify both max-interval and init-interval, init-interval determines the delay in generating an LSP for the first time, and from the second time on, max-interval determines the delay in generating an LSP. After the delay remains at the value specified by max-interval for three times or the TRILL process is restarted, the delay decreases to the value specified by init-interval.

  • If you specify max-interval, init-interval, and incr-interval, init-interval determines the delay in generating an LSP for the first time, and incr-interval determines the delay in generating the same LSP for the second time. From the third time on, the delay in generating an LSP doubles each time until the delay reaches the value specified by max-interval. After the delay remains at the value specified by max-interval for three times or the TRILL process is restarted, the delay decreases to the value specified by init-interval.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

If the delay in generating an LSP is too long, the local RB cannot advertise the changes to its neighbors immediately. This slows down network convergence.

Example

# Set the maximum interval at which LSPs are generated to 5s.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] timer lsp-generation 5

# Set max-interval to 20s, init-interval to 50 ms, and incr-interval to 2000 ms.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] timer lsp-generation 20 50 2000
Related Topics

timer lsp-max-age (TRILL)

Function

The timer lsp-max-age command configures the maximum lifetime for TRILL LSPs.

The undo timer lsp-max-age command restores the default setting.

By default, the maximum lifetime for TRILL LSPs is 1200s.

Format

timer lsp-max-age age-time

undo timer lsp-max-age

Parameters

Parameter Description Value
age-time Specifies the maximum lifetime for TRILL LSPs. The value is an integer ranging from 2 to 65535, in seconds.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When generating the system LSP, a switch fills in the maximum lifetime of this LSP which decreases with time. If an RB does not receive any updated LSP 60s after the lifetime of this LSP decreases to 0, the RB deletes this LSP from the LSDB.

If the maximum lifetime is too small, a local RB may discard an LSP whose lifetime decreases to 0 before the RB receives an updated LSP, which may lead to LSDB asynchronization. If the maximum lifetime is too great, LSDBs cannot be refreshed immediately when network status changes, which slows down network convergence.

Therefore, when running the timer lsp-max-age command, specify an appropriate age-time.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

The maximum LSP lifetime must be longer than the LSP refresh interval so that new LSPs can reach all RBs before the existing LSPs are deleted.
NOTE:

The timer lsp-refresh command configures the LSP refresh interval.

Example

# Set the maximum lifetime for TRILL LSPs to 25 minutes (1500s).

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] timer lsp-max-age 1500

timer lsp-refresh (TRILL)

Function

The timer lsp-refresh command configures the LSP refresh interval.

The undo timer lsp-refresh command restores the LSP refresh interval to the default value.

By default, the TRILL LSP refresh interval is 900s.

Format

timer lsp-refresh refresh-time

undo timer lsp-refresh

Parameters

Parameter Description Value
refresh-time Specifies the TRILL LSP refresh interval. The value is an integer ranging from 1 to 65534, in seconds.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Each RB maintains its Link state database (LSDB) on a TRILL network. The LSDB is used to generate the nickname forwarding table. Therefore, LSDBs must be synchronized through LSP flooding to ensure that data packets can be transmitted properly. After LSDBs are synchronized on a TRILL network, new LSPs are generated if the network status changes. Then LSPs are refreshed periodically to synchronize the LSDBs again.

By default, the TRILL LSP refresh interval is 900s. If the refresh interval is too long, LSDBs cannot be synchronized immediately. If the refresh interval is too short, LSPs are refreshed frequently, which consumes a large number of memory resources. Therefore, run the timer lsp-refresh command to configure an appropriate LSP refresh interval.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

The LSP refresh interval must be shorter than the maximum LSP lifetime so that new LSPs can reach all RBs before the existing LSPs are deleted.

NOTE:

The timer lsp-max-age command configures the maximum LSP lifetime.

The deviation between the maximum LSP lifetime and the refresh interval depends on the size of a network.

Example

# Set the LSP refresh interval of the current system to 1500s.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] timer lsp-refresh 1500

timer spf (TRILL)

Function

The timer spf command configures the SPF calculation interval.

The undo timer spf command restores the default configuration.

By default, SPF calculation interval of TRILL is 5 seconds.

Format

timer spf max-interval [ init-interval [ incr-interval ] ]

undo timer spf

Parameters

Parameter Description Value
max-interval Specifies the maximum delay in SPF calculation. The value is an integer ranging from 1 to 120, in seconds. The default value is 5.
init-interval Specifies the delay in SPF calculation for the first time. The value is an integer ranging from 1 to 60000 in milliseconds. The default value is 50.
incr-interval Specifies the incremental interval between two times of SPF calculation. One incr-interval is increased each time. The value is an integer ranging from 1 to 60000 in milliseconds. The default value is 200.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On TRILL networks, RBs perform the SPF algorithm to refresh route information after LSDBs are synchronized. If the network is unstable, TRILL performs frequent route calculation, which consumes a large number of CPU resources and degrades system performance. Delaying SPF calculation can improve the efficiency of route calculation. However, if the delay is too long, the calculated routes may be incorrect.

To accelerate route convergence without affecting system efficiency, deploy the intelligent timer. Run the timer spf command to configure parameters for the intelligent timer so that the intelligent timer adjusts the delay based on the route change frequency automatically.

The parameters are described as follows:
  • If you specify max-interval only, the intelligent timer functions as an ordinary one-time triggering timer, and TRILL performs the SPF algorithm after routes are converged and max-interval expires.

  • If you specify both max-interval and init-interval, init-interval determines the delay in SPF calculation for the first time, and from the second time on, max-interval determines the delay in SPF calculation. After the delay remains at the value specified by max-interval for three times or the TRILL process is restarted, the delay decreases to the value specified by init-interval.

  • If you specify max-interval, init-interval, and incr-interval, init-interval determines the delay in SPF calculation for the first time, and incr-interval determines the delay in SPF calculation for the second time. From the third time on, the delay in SPF calculation doubles each time until the delay reaches the value specified by max-interval. After the delay remains at the value specified by max-interval for three times or the TRILL process is restarted, the delay decreases to the value specified by init-interval.

Prerequisites

A TRILL process has been created using the trill command.

Precautions

If the delay in SPF calculation is too long, the routes in the routing table may not be optimal. If the delay in SPF calculation is too short, SPF calculation is frequently performed, which consumes a large number of memory resources. Therefore, configure appropriate parameters for the intelligent timer.

Example

# Set max-interval to 15s, init-interval to 10 ms, and incr-interval to 5000 ms.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] timer spf 15 10 5000
Related Topics

topology notify

Function

The topology notify command enables a device to send a Flush packet to the gateway if the AF changes and configures a transmit control VLAN ID to be carried in the Flush packet.

The undo topology notify command disables a device from sending a Flush packet to the gateway if the AF changes.

By default, a device does not send a Flush packet to the gateway if the AF changes.

Format

topology notify vlan vlan-id

undo topology notify vlan [ vlan-id ]

Parameters

Parameter Description Value
vlan vlan-id

Specifies a transmit control VLAN ID to be carried in the Flush packet.

vlan-id must be a CE VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TRILL dual-homing or multi-homing scenario, traffic flows from a gateway to the user side through a TRILL network. If the AF in a CE VLAN changes, the gateway is unaware of the change. As a result, the gateway cannot update MAC address and ARP entries in time, which causes a traffic interruption. Smart Link Flush packets can address this problem. When the AF changes, TRILL instructs the Smart Link to send a Flush packet to the gateway. After receiving the Flush packet, the gateway deletes the MAC address and ARP entries. When traffic reaches the gateway, the gateway finds that no corresponding MAC and ARP entries are available and then learns the MAC address and ARP entries by broadcasting packets. To enable a device to send a Flush packet to the gateway if the AF changes and configure a transmit control VLAN ID to be carried in the Flush packet, run the topology notify command. After receiving the packet, the gateway checks whether the transmit control VLAN ID carried in the Flush packet is within the local receive control VLAN list. If the transmit control VLAN ID is not in the receive control VLAN list, the device directly forwards the Flush packet. If the transmit control VLAN ID is in the receive control VLAN list, the device processes the Flush packet, deletes local MAC address and ARP entries, and updates its MAC address and ARP entries.

Prerequisites

The VLAN to be specified in the topology notify vlan vlan-id command has been configured as a CE VLAN and the RB's interface has been added to the VLAN.

The gateway has been enabled to receive Flush packets using the smart-link flush receive command. In addition, no authentication or password has been configured.

Precautions

The topology notify command does not add the interface to the control VLAN. You need to add the interface to the control VLAN.

The Flush packet can be accepted by the gateway only when the receive control VLAN ID configured on the gateway is the same as the transmit control VLAN ID carried in the Flush packet and the Flush packet does not carry a password; otherwise, the gateway discards the Flush packet.

The format of a Flush packet varies with vendors. Therefore, the topology notify command takes effect only on Huawei devices.

If you attempt to delete the VLAN from an interface on which the topology notify command has been run, a message is displayed, indicating that the operation fails.

Example

# Enable a device to send a Flush packet to the gateway if the AF changes and set the transmit control VLAN ID to be carried in the Flush packet to 10.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] ce-vlan 10
[*HUAWEI-trill] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] topology notify vlan 10

trace trill

Function

The trace trill command checks link connectivity and locates faults on a TRILL network.

Format

# Ordinary TRILL unicast tracert

trace trill [ -h hop-count-value | -t timeout ] * nickname [ interface interface-type interface-number ]

# User flow-based TRILL unicast tracert

trace trill [ -h hop-count-value | -t timeout ] * nickname [ source-mac mac-address | destination-mac mac-address | source-ip ip-address | destination-ip ip-address | source-port port-number | destination-port port-number | ce-vlan ce-vlan-id | eth-type eth-type | protocol protocol-type | source-interface interface-type interface-number ] *

Parameters

Parameter Description Value
-h hop-count-value Specifies a value for the TTL.

If the device receives a packet with a TTL value of 0, it discards the packet.

The value is an integer ranging from 1 to 63. The default value is 63.
-t timeout Specifies a timer for a device to receive an Echo Reply packet after an Echo Request packet is sent.

After the command is run on a device, the device sends an Echo Request packet to the destination node. If the device receives an Echo Reply packet before the timeout expires, the destination node is considered reachable. If the device fails to receive an Echo Reply packet before the timeout expires, the tracert operation times out.

In most cases, a device receives an Echo Reply packet within 10 seconds after it sends an Echo Request packet. If the network transmission is slow, increase timeout as required (within the value range).

The value is an integer ranging from 1 to 65535, in ms. The default value is 2000 ms.
nickname

Specifies the nickname of a destination node.

The nickname of a destination node must be different from the local one.

The value is an integer ranging from 1 to 65471.

interface interface-type interface-number Specifies the name of an outbound interface. The value range depends on the device configuration.
source-mac mac-address Specifies a source MAC address. The value is in the format of H-H-H, in which H is a hexadecimal number of 1 to 4 digits. The source MAC address cannot be set as a multicast MAC address.
destination-mac mac-address Specifies a destination MAC address. The value is in the format of H-H-H, in which H is a hexadecimal number of 1 to 4 digits.
source-ip ip-address Specifies a source IP address. The value is in dotted decimal notation and in X.X.X.X format.
destination-ip ip-address Specifies a destination IP address. The value is in dotted decimal notation and in X.X.X.X format.
source-port port-number Specifies a source interface number. The value is an integer ranging from 1 to 65535.
destination-port port-number Specifies a destination interface number. The value is an integer ranging from 1 to 65535.
ce-vlan ce-vlan-id Specifies a CE VLAN ID. The value is an integer ranging from 1 to 4095.
eth-type eth-type Specifies an Ethernet type. The value is an integer ranging from 600 to FFFF in hexadecimal notation, including but not limited to the following:
  • 0x0800: IPv4
  • 0x0806: Address Resolution Protocol (ARP)
  • 0x8035: Reverse Address Resolution Protocol (RARP)
  • 0x8100: IEEE 802.1Q
  • 0x86DD: IPv6
  • 0x8809: IEEE 802.3
  • 0x9100: 802.1Q-in-802.1Q (QinQ)
protocol protocol-type Specifies a protocol type. The value is an integer ranging from 0 to 255, including but not limited to the following:
  • 1: ICMP
  • 2: IGMP
  • 6: TCP
  • 9: IGRP
  • 17: UDP
  • 47: GRE
  • 50: ESP
  • 51: AH
  • 88: EIGRP
  • 89: OSPF
  • 115: L2TP
source-interface interface-type interface-number Specifies the name of a source interface. The value range depends on the device configuration.

Views

All views

Default Level

0: Visit level

Usage Guidelines

Usage Scenario

The trace trill command is used to check whether a remote device is reachable and locate the fault along a link.

Precautions

If an error occurs when you run the trace trill command, press Ctrl+C to abort the command.

On theCE8860EI, CE8850EI or a CE6860EI, if you want to use flow-based TRILL unicast trace, specify the source-interface parameter to obtain a correct outbound interface. If the source-interface parameter indicates a TRILL user-side port or TRILL user-side Eth-Trunk member port, you must specify the destination-mac and ce-vlan parameters and ensure that the device's MAC entries include the entries with the specified destination-mac and ce-vlan. Otherwise, the correct traffic forwarding path cannot be obtained.

NOTE:

The input parameter must be consistent with the actual hash factor so that a correct outbound interface can be obtained.

(CE switches excluding the CE6870EI) If the input hash factor is only the source interface, by default, the device will consider that it processes a Layer 2 packet. If the actual packet is not a Layer 2 packet, the actual Layer 3 hash factors must be input. If the actual Layer 3 hash factor is just the source interface, any one of source-ip, destination-ip, source-port, and destination-port must be input.

Example

# Check connectivity of the link to the node with the nickname 200 on the TRILL network.

<HUAWEI> trace trill 200
Press Ctrl+C to break trill traceroute facility                                 
traceroute to 200,  max hops: 63, packet length: 106                            
Hops   Nickname  InPort                    Previous   Time                      
                                           Nickname                             
------------------------------------------------------------------------------- 
   0        100  --                              --   --                        
   1        300  10GE1/0/2                      100   802ms                     
   2        200  10GE1/0/8                      300   334ms                     
                                                                                
Info: Succeed in tracing the destination nickname.               
Table 14-25  Description of the trace trill command output
Item Description

Press Ctrl+C to break

You can press Ctrl+C to abort the ongoing tracert test.

traceroute to 200, max hops: 63, packet length: 106

Nickname, maximum number of hops, and reply packet size of the destination device.

Hops

Number of hops.

Nickname

Nickname of a node.

InPort

Inbound interface name.

Previous Nickname

Nickname of the previous node.

Time

Period during which packets are responded with.

Info: Succeed in tracing the destination nickname.

The tracert operation succeeds.

trill

Function

The trill command creates a TRILL process and enters the TRILL view.

The undo trill command disables a TRILL process and exits from the TRILL view.

By default, no TRILL process is created.

Format

trill

undo trill

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before configuring TRILL functions, enable TRILL in the system view. The trill command creates a TRILL process and enters the TRILL view.

Follow-up Procedure

Run the carrier-vlan command to specify carrier VLANs and run the trill enable command to enable TRILL on interfaces.

Precautions

One RB supports only one TRILL process.

Example

# Start a TRILL process that runs in VLAN 10.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] carrier-vlan 10

trill adjacency-check disable

Function

The trill adjacency-check disable command allows the device to have the following two functions configured simultaneously:
  • TRILL and MAC address limiting
  • TRILL and FCoE
  • TRILL and port security
  • TRILL and URPF
  • TRILL and DHCP Snooping
  • TRILL and 802.1x

The undo trill adjacency-check disable command prevents the device from having the preceding two functions configured simultaneously.

By default, the preceding two functions cannot be configured on the device simultaneously.

NOTE:

Only CE6870EI supports this command.

Format

trill adjacency-check disable

undo trill adjacency-check disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, TRILL cannot be used together with any of these functions: MAC address limiting, FCoE, port security, URPF, DHCP Snooping, and 802.1x. To use TRILL and any of these functions, run the trill adjacency-check disable command.

Example

# Allow the device to have the following functions configured simultaneously:
  • TRILL and MAC address limiting
  • TRILL and FCoE
<HUAWEI> system-view
[~HUAWEI] trill adjacency-check disable

trill authentication-mode

Function

The trill authentication-mode command configures a TRILL interface to authenticate Hello packets using the specified authentication mode and password.

The undo trill authentication-mode command cancels the authentication and deletes the password.

By default, no passwords are configured for TRILL interfaces to authenticate received Hello packets.

Format

trill authentication-mode { simple { [ cipher ] plain-cipher-text | plain plain-text } | md5 { [ cipher ] plain-cipher-text | plain plain-text } } [ send-only ]

trill authentication-mode keychain keychain-name [ send-only ]

trill authentication-mode hmac-sha256 key-id key-id { [ cipher ] plain-cipher-text | plain plain-text } [ send-only ]

undo trill authentication-mode

Parameters

Parameter Description Value
simple Indicates that the password is transmitted in plaintext.
NOTE:

Simple authentication mode has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
cipher plain-cipher-text Indicates that the password is in ciphertext. You can enter a plaintext or ciphertext password, and when you check the configuration file, the ciphertext password is displayed.
NOTE:

A ciphertext password is used for configuration restoration. The value of plain-cipher-text must be the same as the ciphertext password in the configuration file.

The value is a string of characters.

  • For simple authentication, a simpletext is 1 to 16 characters, and a ciphertext password is 24 to 128 characters.
  • For MD5 or HMAC-SHA256 authentication, a simpletext is 1 to 255 characters, and a ciphertext password is 24 to 432 characters.
NOTE:

Except the question mark (?) and space. However, when quotation marks (") are used around the password, spaces are allowed in the password.

plain plain-text Indicates that the password is in plaintext. You can only enter a plaintext password, and when you check the configuration file, the plaintext password is displayed.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. This brings security risks. It is recommended that you select cipher to save the password in cipher text.

The value is a string of case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. The password range varies with the authentication mode.
  • When the authentication mode is simple, the password ranges from 1 to 16 characters.
  • When the authentication mode is md5, the password ranges from 1 to 255 characters.
md5 Indicates that the password is transmitted after encryption by MD5.
NOTE:

MD5 cipher text authentication mode has potential risks. HMAC-SHA256 cipher text authentication is recommended.

-
send-only Indicates that RBs encapsulate authentication information into Hello packets before sending them but do not authenticate received Hello packets. -
keychain keychain-name Indicates that the password is a keychain which varies with time.
NOTE:

If keychain authentication is used, the encryption algorithm must be configured to HMAC-MD5 algorithm.

The name is a string of 1 to 47 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
hmac-sha256

Encapsulates generated packets with the HMAC-SHA256 authentication and a password encrypted by the HMAC-SHA256 algorithm and authenticates received packets.

-
key-id key-id

Indicates key ID of the HMAC-SHA256 algorithm.

It is an integer ranging from 0 to 65535.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

To ensure network security, you can enable the device to authenticate the received packets based on the pre-defined authentication rule or add authentication information to the packets to be sent. Only the packets that pass the authentication can be forwarded on the network.

The trill authentication-mode command configures the local RB to discard received Hello packets whose authentication passwords are different from the one set using this command and encapsulate the set authentication password into Hello packets before sending them.

Example

# Set the TRILL authentication mode to HMAC-SHA256 with the password hello which is transmitted in ciphertext on 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill authentication-mode hmac-sha256 key-id 1 cipher hello

trill cost

Function

The trill cost command sets the link cost for all TRILL interfaces.

The undo trill cost command cancels the configured link cost from all TRILL interfaces.

By default, the link cost of TRILL interfaces is calculated automatically based on the interface bandwidth.

Format

trill cost { cost | maximum }

undo trill cost

Parameters

Parameter Description Value
cost

Specifies the link cost for TRILL interfaces.

The value is an integer ranging from 1 to 16777214.

maximum

Indicates the link cost for TRILL interfaces is 16777215.

NOTE:

If the link cost of an interface is set to 16777215, the link connected to the interface is unavailable in route selection.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On large Layer-2 networks, there may be multiple valid routes to the same destination. TRILL uses the SPF algorithm to calculate an optimal route and transmits traffic over it, which brings the following problems:
  • All traffic is transmitted over the optimal route, causing load imbalance.

  • If the optimal route is faulty, traffic will get lost.

To solve the preceding problems, run the trill cost command to set link costs for interfaces so that traffic can be transmitted over different physical links.

If you do not want a local RB to learn routes from a remote RB, set maximum so that the route from the remote RB will not reach the local RB.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

If the link cost of an interface is changed, routes will be re-calculated on the whole network, causing the changes in traffic forwarding paths.

The priority of the circuit-cost (TRILL) command is lower than that of the trill cost command.

If no link cost is configured either in the system view or interface view, the calculation formula of the link cost is as follows: Link cost of the interface = Bandwidth reference value/Interface bandwidth. For example, if the bandwidth reference value is 20000000 Mbit/s, the cost of a 1 Gbit/s interface is 20000 (20000000/1000).
NOTE:

The bandwidth-reference value can be set using the bandwidth-reference (TRILL) command.

Example

# Set the link cost to 15 for 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill cost 15

trill egress mode

Function

The trill egress mode command configures an Eth-Trunk load balancing mode on egress and transit nodes of the TRILL network.

The undo trill egress mode command restores the default Eth-Trunk load balancing mode on egress and transit nodes of the TRILL network.

By default, the Eth-Trunk load balancing mode on egress and transit nodes of the TRILL network is ipv4.
NOTE:

Only CE6870EI supports this command.

Format

trill egress mode { l2 | ipv4 | ipv6 }

undo trill egress mode [ l2 | ipv4 | ipv6 ]

Parameters

Parameter Description Value
l2

Indicates the Eth-Trunk load balancing mode is l2.

-
ipv4

Indicates the Eth-Trunk load balancing mode is ipv4.

-
ipv6

Indicates the Eth-Trunk load balancing mode is ipv6.

-

Views

Load balancing profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the Eth-Trunk load balancing mode on egress and transit nodes of the TRILL network is ipv4. That is, load balancing is performed based on the source MAC address, destination MAC address, source IPv4 address, destination IPv4 address, and VLAN ID. You can change the load balancing mode to l2 or ipv6 on egress and transit nodes of the TRILL network. The three load balancing modes are described as follows:
  • l2: indicates load balancing based on the source MAC address, destination MAC address, and VLAN ID. The items used in load balancing depend on the l2 command.
  • ipv4: indicates load balancing based on the source MAC address, destination MAC address, source IPv4 address, destination IPv4 address, and VLAN ID. The items used in load balancing depend on the l2 and ip commands.
  • ipv6: indicates load balancing based on the source MAC address, destination MAC address, source IPv6 address, destination IPv6 address, and VLAN ID. The items used in load balancing depend on the l2 and ipv6 commands.

Example

# Set the Eth-Trunk load balancing mode on egress and transit nodes of the TRILL network to l2.

<HUAWEI> system-view
[~HUAWEI] load-balance profile 1
[*HUAWEI-load-balance-profile-1] trill egress mode l2

trill designated-vlan

Function

The trill designated-vlan command selects a DVLAN for a TRILL interface.

The undo trill designated-vlan command cancels DVLAN from a TRILL interface.

By default. the Carrier VLAN with the smallest ID functions as the DVLAN.

Format

trill designated-vlan vlan-id

undo trill designated-vlan

Parameters

Parameter Description Value
vlan-id

Specifies the VLAN ID used by TRILL interfaces.

The value is an integer ranging from 1 to 4094, except reserved VLAN IDs, which can be configured using the vlan reserved command.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before sending protocol packets or forwarding TRILL packets, an interface adds a DVLAN to the VLAN field in the outer Ethernet header. The DVLAN can be automatically selected by the system or configured using the trill designated-vlan command.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

The DVLAN must be a Carrier VLAN.

Example

# Create a TRILL process, configure Carrier VLANs, enable TRILL on 10GE 1/0/1, and specify the DVLAN.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] carrier-vlan 10
[*HUAWEI-trill] carrier-vlan 20
[*HUAWEI-trill] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill designated-vlan 10
Related Topics

trill drb-priority

Function

The trill drb-priority command sets the priority for a TRILL interface to run for the DRB.

The undo trill drb-priority command restores the default priority.

By default, the DRB priority of an interface is 64.

Format

trill drb-priority priority

undo trill drb-priority

Parameters

Parameter Description Value
priority

Specifies the priority of a TRILL interface to run for the DRB.

The value is an integer ranging from 0 to 127. The default value is 64.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If N RBs exist on a TRILL broadcast network, then n * (n-1)/2 adjacencies need to be established. If the status of one RB changes, the RB needs to send a large number of packets, wasting bandwidth resources. To address this problem, TRILL introduces the concept of DRB election. After the DRB is selected, RBs send packets to the DRB only, and the DRB is responsible for broadcasting the packets.

The interface with the highest DRB priority is elected as the DRB. The trill drb-priority command sets the priority for a TRILL interface to run for the DRB.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

If the DRB priority of an interface is modified, DRBs on the network change.

P2P interfaces cannot be elected as the DRB.
NOTE:

The trill enable port-mode command configures an interface type for an interface.

Example

# Set the DRB priority to 80 for 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type trunk
[*HUAWEI-10GE1/0/1] trill enable port-mode access
[*HUAWEI-10GE1/0/1] trill drb-priority 80
Related Topics

trill-name

Function

The trill-name command configures a dynamic hostname for an RB and enables the RB to identify the hostname in an LSP and advertise the dynamic hostname in an LSP.

The undo trill-name command deletes the configured dynamic hostname.

By default, the local TRILL system does not have a dynamic hostname.

Format

trill-name symbolic-name

undo trill-name

Parameters

Parameter Description Value
symbolic-name Specifies the dynamic hostname. The value is a string of 1 to 64 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On TRILL networks, an RB is identified by its nickname or system ID. In most cases, the nickname and system ID are generated by the system automatically. As a result, the nickname and system ID are irregular numbers or a combination of irregular letters and numbers, neither friendly to users nor easy to maintain and manage. To address this problem, run the trill-name command to configure a dynamic hostname that is easier to memorize.

Prerequisites

A TRILL process has been created using the trill command, and VLANs have been configured.

Example

# Configure a dynamic hostname LocalA.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] trill-name LocalA
Related Topics

trill enable

Function

The trill enable command enables TRILL on an interface and configures the interface mode.

The undo trill enable command disables TRILL from an interface.

By default, TRILL is disabled on an interface.

Format

trill enable [ port-mode { access | hybrid | p2p | trunk } ]

undo trill enable

Parameters

Parameter Description Value
port-mode

Sets the interface mode for the specified TRILL interface.

-
access

Sets the interface mode to access. Access interfaces transmit Native Ethernet packets only.

-
hybrid

Sets the interface mode to hybrid. hybrid is a mixed mode of access and trunk. Hybrid interfaces transmit both TRILL data packets and Native Ethernet packets.

-
p2p

Sets the interface mode to p2p. P2P interfaces transmit TRILL data packets and protocol packets only. Therefore, P2P interfaces cannot be elected as the DRB or an AF in a VLAN.

By default, the interface mode is p2p.

-
trunk

Sets the interface mode to trunk. Trunk interfaces connect switches and transmit TRILL data packets and protocol packets only.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After creating a TRILL process in the system view, run the trill enable command on TRILL-capable interfaces to enable TRILL.

Interfaces of different modes have different roles. Run the trill enable port-mode command to configure interface modes for RBs based on their roles on TRILL networks to reduce the number of packets to be processed and to use bandwidth and system resources more efficiently.

Configure an interface mode based on the following rules:
  • Configure the interface mode as access if the interface is located at the edge of a TRILL network and connected to the CE VLAN.
  • Configure the interface mode as trunk if the interface is located within a TRILL network and you want the interface to transmit TRILL packets.
  • Configure the interface mode as p2p if the interface connects RBs on a P2P network.

Prerequisites

A TRILL process has been enabled using the trill command in the system view.

Precautions

Access interfaces cannot transmit TRILL packets and are not selected as outbound interfaces of TRILL routes. Therefore, if access is configured as the interface mode of an interface, the interface is not available in route selection.

A trunk interface cannot function as an AF, and the trunk interface discards received Ethernet packets. If you configure trunk as the interface mode for an interface that is connected to a CE VLAN, user traffic cannot flow to the TRILL network.

P2P interfaces function the same as trunk interfaces except that P2P interfaces cannot be elected as DRBs.

In TOR stacking scenarios, the interface mode cannot be set to hybrid. Otherwise, loops may occur.

If the mode of an interface has been set to access through the port link-type command, the interface can work only as an access interface, and TRILL cannot be enabled on the interface.

When you run the trill enable command several times, the latest configuration overrides the previous configurations.

Example

# Create a TRILL process, enable TRILL on 10GE 1/0/1 and configure the port-mode to access.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] network-entity 00.0000.0000.0001.00
[*HUAWEI-trill] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable port-mode access
Related Topics

trill gateway enable (CE Switches Excluding CE6870EI)

Function

The trill gateway enable command enables the TRILL gateway function in internal loopback mode.

The undo trill gateway enable command disables the TRILL gateway function in internal loopback mode.

By default, the TRILL gateway function in internal loopback mode is disabled.

Format

trill gateway enable bind interface eth-trunk trunk-id

undo trill gateway enable bind interface eth-trunk trunk-id

Parameters

Parameter Description Value
bind interface eth-trunk trunk-id Binds an internal loopback interface to the TRILL gateway. The internal loopback interface must be an Eth-Trunk interface. The value range depends on the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

It is costly and complex to deploy independent gateway devices or configure virtual systems (VSs) as gateways on a TRILL network. You can deploy the TRILL centralized gateway function to reduce deployment cost and complexity.

The TRILL gateway function can be implemented in internal loopback or external loopback mode. If only unicast traffic needs to be forwarded through the TRILL gateway, you can configure the TRILL gateway function in internal loopback mode.

When enabling the TRILL gateway function in internal loopback mode, you must specify an Eth-Trunk interface as the internal loopback interface for the TRILL gateway.

Precautions

The TRILL gateway function in internal loopback mode supports only Layer 3 unicast traffic forwarding but not Layer 3 multicast traffic forwarding.

Prerequisites

Before binding an Eth-Trunk interface to the TRILL gateway, run the service type trill unicast command to specify the Eth-Trunk interface as the internal loopback interface for the TRILL gateway.

Example

# Enable the TRILL gateway function in internal loopback mode and bind Eth-Trunk 2 to the TRILL gateway as its internal loopback interface.
<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 2
[*HUAWEI-Eth-Trunk2] trunkport 10ge 1/0/1
[*HUAWEI-Eth-Trunk2] service type trill unicast
[*HUAWEI-Eth-Trunk2] quit
[*HUAWEI] trill gateway enable bind interface eth-trunk 2

trill gateway enable (CE6870EI)

Function

The trill gateway enable command enables the TRILL gateway function in internal loopback mode.

The undo trill gateway enable command disables the TRILL gateway function in internal loopback mode.

By default, the TRILL gateway function in internal loopback mode is disabled.

Format

trill gateway enable

undo trill gateway enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

It is costly and complex to deploy independent gateway devices or configure virtual systems (VSs) as gateways on a TRILL network. You can deploy the TRILL centralized gateway function to reduce deployment cost and complexity.

The TRILL gateway function can be implemented in internal loopback or external loopback mode. If only unicast traffic needs to be forwarded through the TRILL gateway, you can configure the TRILL gateway function in internal loopback mode.

Configuration Impact

After you run the trill gateway enable command, the TRILL gateway function in internal loopback mode is enabled, and the system assigns an internal loopback interface to the TRILL gateway.

Precautions

The TRILL gateway function in internal loopback mode supports only Layer 3 unicast traffic forwarding but not Layer 3 multicast traffic forwarding.

Example

# Enable the TRILL gateway function in internal loopback mode.
<HUAWEI> system-view
[~HUAWEI] trill gateway enable

trill load-balance

Function

The trill load-balance command designates an RB as an AF for a VLAN or VLANs.

The undo trill load-balance command restores the default configurations.

By default, all RBs in a VLAN are designated as AFs in order for load balancing.

Format

trill load-balance systemid vlan { vlan-id1 [ to vlan-id2 ] }&<1–10>

undo trill load-balance systemid vlan { vlan-id1 [ to vlan-id2 ] }&<1–10>

Parameters

Parameter Description Value
systemid

Specifies that the RB whose system ID is the specified systemid is designated as an AF for the specified VLAN or VLANs.

The value is in XXXX.XXXX.XXXX format.
vlan vlan-id1

Specifies the start CE VLAN ID.

The value is an integer ranging from 1 to 4094.
to vlan-id2

Specifies the end CE VLAN ID.

The value of vlan-id2 must be greater than that of vlan-id1.

The value is an integer ranging from 1 to 4094.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, all RBs in a VLAN are designated as AFs in order for load balancing. To designate an RB as an AF for a VLAN or VLANs, run the trill load-balance command. After the command is run, the RB whose system ID is the specified systemid is designated as an AF for the specified VLAN or VLANs.

Configuration Impact

After the trill load-balance command is run, the RB is always used as an AF by the VLAN or VLANs specified in the command, and all RBs in other VLANs are designated as AFs based on the AF priority in order for load balancing.

Precautions

The trill load-balance command takes effect only on DRB interfaces.

Example

# Designate the RB with system ID 0000.0000.0001 as an AF for VLANs 2, 3, 4, 5, and 9.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable port-mode hybrid
[*HUAWEI-10GE1/0/1] trill load-balance 0000.0000.0001 vlan 2 to 5 9
Related Topics

trill local-preference enable

Function

The trill local-preference enable command enables local preferential forwarding of TRILL traffic in a stack.

The undo trill local-preference enable command disables local preferential forwarding of TRILL traffic in a stack.

By default, local preferential forwarding of TRILL traffic is disabled in a stack.

Format

trill local-preference enable

undo trill local-preference enable

Parameters

None

Views

(CE switches excluding CE6870EI)ECMP view

(CE6870EI)Load balancing profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a stack, to ensure reliable TRILL traffic transmission, an inter-device interface may act as the outbound interface of TRILL traffic for ECMP load balancing. When forwarding TRILL traffic, a stacked device may select the inter-device outbound interface based on the hash algorithm. This occupies bandwidth resources between stacked devices and reduces traffic forwarding efficiency.

To address this issue, you can run the trill local-preference enable command to enable the device to preferentially forward local TRILL traffic. Then TRILL traffic arriving at the local device is preferentially forwarded through the outbound interface of the local device. If there is no outbound interface on the local device, traffic is forwarded through the outbound interface on another device. This effectively saves inter-device bandwidth resources and improves TRILL traffic forwarding efficiency.

Precautions

Before configuring a stacked device to preferentially forward local TRILL traffic, ensure that the local outbound interface has sufficient bandwidth to forward local traffic. Otherwise, traffic may be discarded.

Example

(CE switches excluding CE6870EI)# Enable local preferential forwarding of TRILL traffic in a stack.
<HUAWEI> system-view
[~HUAWEI] load-balance ecmp
[~HUAWEI-ecmp] trill local-preference enable
(CE6870EI)# Enable local preferential forwarding of TRILL traffic in a stack in load balancing profile cl.
<HUAWEI> system-view
[~HUAWEI] load-balance profile cl
[*HUAWEI-load-balance-profile-cl] trill local-preference enable

trill port-inhibited

Function

The trill port-inhibited command sets a period for an interface to delay Hello packet exchange and AF election when the interface goes Up.

The undo trill port-inhibited command restores the default period for an interface to delay Hello packet exchange and restores AF election when the interface goes Up.

By default, a TRILL interface receives and sends Hello packets immediately after going Up.

Format

trill port-inhibited delay-time

undo trill port-inhibited

Parameters

Parameter Description Value
delay-time Specifies a period for an interface to delay Hello packet exchange and AF election. The value is an integer ranging from 1 to 300, in seconds.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On the network shown in Figure 14-1, a TRILL AF is single-homed to an EVN. CE1 and CE2 are located on the edge of the TRILL network, and CE1 functions as the AF. PE1 and PE2 are located on the edge of the EVN. If PE1 fails, the tunnel between PE1 and PE3 goes Down, and CE1's 10GE1/0/1 interface that is connected to PE1 goes Down accordingly. Then CE2 is elected as the AF for traffic forwarding. If PE1 recovers, CE1's 10GE1/0/1 interface that is connected to PE1 goes Up, and CE1 is elected as the AF again for traffic forwarding. However, the tunnel between PE1 and PE3 has not gone Up yet. As a result, traffic is lost. To prevent this problem, run the trill port-inhibited command on each CE to configure a period for the CE to delay Hello packet exchange and AF election.

After the trill port-inhibited command is run on a CE, the CE does not exchange Hello packets nor runs for the AF during delay-time. If a TRILL neighbor relationship has been established between CE1 and CE2 when delay-time expires, the CE runs for the AF immediately; if no TRILL neighbor relationship has been established when delay-time expires, the CE starts the Hold timer and runs for the AF when the Hold timer expires.

Figure 14-1  Networking where the trill port-inhibited command is run

Prerequisites

The type of a TRILL interface has been set to access or hybrid using the trill enable command. This is because the trill port-inhibited command can only be configured on a TRILL interface with the type access or hybrid.

Example

# Set the period to 100s for 10GE1/0/1 to delay Hello packet exchange and AF election when 10GE1/0/1 goes Up.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] quit
[*HUAWEI] commit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] trill enable port-mode access
[*HUAWEI-10GE1/0/1] trill port-inhibited 100
Related Topics

trill timer csnp

Function

The trill timer csnp command sets an interval at which CSNPs are sent.

The undo trill timer csnp command restores the default setting.

By default, CSNPs are sent at an interval of 10s.

Format

trill timer csnp csnp-interval

undo trill timer csnp

Parameters

Parameter Description Value
csnp-interval Specifies the interval at which CSNPs are sent. The value is an integer ranging from 1 to 65535, in seconds.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On TRILL networks, the DRB sends CSNPs at intervals for LSDB synchronization. After receiving the CSNP, each RB checks whether its LSDB is synchronous with the CSNP. If they are asynchronous, the RB sends a PSNP to request the LSPs that are unavailable in its LSDB. Run the trill timer csnp command to adjust an appropriate interval at which CSNPs are sent. Then, LSDBs can be synchronized immediately and the DRB will not send CSNPs frequently.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

A short interval at which CSNPs are sent speeds up LSDB synchronization and TRILL route convergence. However, if the interval at which CSNPs are sent is too short, the DRB sends CSNPs frequently, which wastes a large number of CPU, memory, and bandwidth resources. As a result, services are affected.

Only a DRB sends CSNPs periodically. Therefore, run the trill timer csnp command only on non-P2P interfaces of the DRB.

Example

# Set the interval at which CSNPs are sent to 15s on 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill timer csnp 15
Related Topics

trill timer hello

Function

The trill timer hello command sets an interval at which an RB sends Hello packets.

The undo trill timer hello command restores the default setting.

By default, Hello packets are sent at an interval of 10 seconds.

Format

trill timer hello hello-interval

undo trill timer hello

Parameters

Parameter Description Value
hello-interval Specifies the interval at which an interface sends Hello packets. The value is an integer ranging from 3 to 255, in seconds.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

RBs exchange Hello packets to establish neighbor relationships on TRILL networks. After establishing neighbor relationships, RBs send Hello packets at intervals to maintain the neighbor relationships and detect neighbor status. By default, if a local RB does not receive any Hello packets from a neighbor within 30s, the local RB considers the neighbor Down. Run the trill timer hello command to adjust the interval based on network requirements.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

If the interval is too short, Hello packets are sent frequently, which consumes a lot of system resources. If the interval is too long, the local RB cannot detect the neighbor status immediately, which may cause traffic loss.

Example

# Enable 10GE1/0/1 to send Hello packets at an interval of 20s.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill timer hello 20
Related Topics

trill timer holding-multiplier

Function

The trill timer holding-multiplier command sets the number of consecutive Hello packets that an RB sends to a neighbor before the RB considers the neighbor Down.

The undo trill timer holding-multiplier command restores the default setting.

By default, an RB considers a neighbor Down if the RB does not receive any response from the neighbor after sending three consecutive Hello packets.

Format

trill timer holding-multiplier number

undo trill timer holding-multiplier

Parameters

Parameter Description Value
number

Specifies the number of consecutive Hello packets that an RB sends to a neighbor before the RB considers the neighbor Down.

The value is an integer ranging from 3 to 1000.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Devices at both ends of a link establish a neighbor relationship by sending Hello packets to each other. After the neighbor relationship is established, both devices need to send Hello packets at a specified interval to maintain the neighbor relationship. If a device does not receive any Hello packet from its neighbor within a specified period of time, the device considers the neighbor to be Down. The specified time period is known as the neighbor holdtime.

For example, run the trill timer hello 20 command on a local device to set the interval at which Hello packets are sent to 20s. Then, run the trill timer holding-multiplier 4 command. The holdtime is 80s (four times the interval at which Hello packets are sent). If you run the trill timer hello command to change the interval at which Hello packets are sent, the holdtime changes accordingly.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

If the number value is too large, the local device needs to wait for a long time before detecting the status change of its neighbor. This slows down TRILL route convergence. If the value of number is too small, the neighbor relationship will alternate between Up and Down when some Hello packets are lost due to transmission delays and errors on the network. This causes route flapping on the TRILL network. Therefore, exercise caution when setting the value of number.

Set the same interval at which Hello packets are sent and the same neighbor holdtime for all devices on the TRILL network. This is to ensure that all devices detect link failures at the same time and guarantee timely TRILL route convergence.

Example

# Set the number of consecutive Hello packets that 10GE 1/0/1 sends to a neighbor before 10GE 1/0/1 considers the neighbor Down to 5.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill timer holding-multiplier 5

trill timer lsp-retransmit

Function

The trill timer lsp-retransmit command configures a TRILL LSP retransmission interval for a P2P link.

The undo trill timer lsp-retransmit command restores the default setting.

By default, the TRILL LSP retransmission interval is 5s on a P2P link.

Format

trill timer lsp-retransmit retransmit-interval

undo trill timer lsp-retransmit

Parameters

Parameter Description Value
retransmit-interval Specifies the TRILL LSP retransmission interval. The value is an integer ranging from 1 to 300, in seconds.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a P2P network, devices at both ends of a link synchronize LSDBs with each other by flooding LSPs. The local device sends an LSP. After receiving this LSP, the other end replies with a PSNP. If the device does not receive any PSNP from the other end after sending an LSP, the device re-transmits the LSP.

The trill timer lsp-retransmit command configures a TRILL LSP retransmission interval for a P2P link. After you run the isis timer lsp retransmit command on a device, the device re-transmits an LSP after retransmit-interval elapses. If the device receives a PSNP from the other end before retransmit-interval elapses, the device will not re-transmit the LSP.

Prerequisites

TRILL has been enabled on the interface using the trill enable port-mode p2p command, and the interface mode has been set to p2p.

Precautions

If the value of retransmit-interval is too small, an LSP will be re-transmitted even though it is not necessary, causing high CPU, memory, and network bandwidth usage.

This command takes effect on P2P interfaces only because only devices on a P2P network send PSNPs.

Example

# Set the LSP retransmission interval to 10s on 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable port-mode p2p
[*HUAWEI-10GE1/0/1] trill timer lsp-retransmit 10
Related Topics

trill timer lsp-throttle

Function

The trill timer lsp-throttle command configures the minimum interval at which LSPs are sent and the maximum number of LSPs that can be sent each time.

The undo trill timer lsp-throttle command restores the default setting.

By default, the minimum interval at which LSPs are sent is 50 ms, and the maximum number of LSPs that can be sent each time is 10.

Format

trill timer lsp-throttle throttleinterval [ count countnumber ]

undo trill timer lsp-throttle

Parameters

Parameter Description Value
throttleinterval Specifies the minimum interval at which LSPs are sent. The value is an integer ranging from 1 to 10000 in milliseconds.
count countnumber Indicates the maximum number of LSPs that can be sent each time. The value is an integer ranging from 1 to 1000. The default value is 10.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

RBs exchange LSPs that carry link-state information to synchronize LSDBs on a TRILL network. When a large number of LSPs exist on an RB, the RB needs to send multiple LSPs at intervals. If the interval is too short or the maximum number of LSPs that can be sent each time is too large, a large number of memory resources will be consumed. To address this problem, run the trill timer lsp-throttle command and specify an appropriate throttleinterval and countnumber.

Prerequisites

The TRILL function has been enabled using the trill enable command in the interface view.

Precautions

If the interval is too short, LSPs are sent frequently, which consumes a large number of memory resources.

Example

# Set throttleinterval to 500 ms and countnumber to 20 on 10GE 1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type hybrid
[*HUAWEI-10GE1/0/1] trill enable
[*HUAWEI-10GE1/0/1] trill timer lsp-throttle 500 count 20
Related Topics

trust upstream (TRILL)

Function

The trust upstream command configures the DiffServ profile trusted by a carrier VLAN. Priority mapping then is performed based on the rules defined in the configured profile.

The undo trust upstream command restores the default setting.

By default, priority mapping is performed based on the rules defined in the default DiffServ profile.

Format

trust upstream ds-domain-name [ carrier-vlan { vlan-id } &<1-3> ]

undo trust upstream ds-domain-name [ carrier-vlan { vlan-id } &<1-3> ]

Parameters

Parameter

Description

Value

ds-domain-name

Specifies the name of a DiffServ domain.

The name of a DiffServ domain must already exist.

carrier-vlan vlan-id

Specifies the ID of a carrier VLAN.

The value is an integer that ranges from 1 to 4094 except the reserved VLAN ID configured using the vlan reserved command.

Views

TRILL view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to configure some carrier VLANs to trust the specified DiffServ profile so that priority mapping can be performed based on the rules defined in this profile.

Example

# Configure the DiffServ profile trusted by carrier VLAN 200 as test.

<HUAWEI> system-view
[~HUAWEI] trill
[*HUAWEI-trill] trust upstream test carrier-vlan 200

service type trill unicast

Function

The service type trill unicast command specifies an Eth-Trunk interface as the internal loopback interface for the TRILL gateway.

The undo service type trill unicast command deletes the configuration.

By default, no Eth-Trunk interface is specified as the internal loopback interface for the TRILL gateway.
NOTE:
CE6870EI does not support the command.

Format

service type trill unicast

undo service type trill unicast

Parameters

None

Views

Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement the TRILL gateway function in internal loopback mode, you must specify an Eth-Trunk interface as the internal loopback interface for the RILL gateway. TRILL headers are then removed from TRILL packets on the internal loopback interface. Layer 2 packets decapsulated from the TRILL packets enter the device from the internal loopback interface and then forwarded to the gateway for processing.

Configuration Impact

After you run the service type trill unicast command on an Eth-Trunk interface, the Eth-Trunk interface and its physical member interface can only be used for the TRILL gateway and cannot be configured with other services.

Precautions

To specify an Eth-Trunk interface as the internal loopback interface for the TRILL gateway, ensure that the Eth-Trunk interface has physical member interfaces in Up state.
NOTE:

Add sufficient physical member interfaces to the Eth-Trunk interface to ensure that the internal loopback interface can provide sufficient bandwidth to send TRILL packets to the gateway. For example, if traffic is sent from users to the gateway across the TRILL network at a rate of 10 Gbit/s, add a 10GE interface or ten GE interfaces to the Eth-Trunk interface that you want to use as the internal loopback interface.

Example

# Add 10GE 1/0/1 to Eth-Trunk 1 and specify Eth-Trunk 1 as the internal loopback interface for the TRILL gateway.

<HUAWEI> system-view
[~HUAWEI] interface eth-trunk 1
[*HUAWEI-Eth-Trunk1] trunkport 10ge 1/0/1
[*HUAWEI-Eth-Trunk1] service type trill unicast
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 70168

Downloads: 374

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