Page 2
The information in this document is subject to change without notice. All contents in this document, including statements, information, and recommendations, are believed to be accurate, but they are presented without warranty of any kind, express or implied. H3C shall not be liable for technical or editorial errors or omissions contained herein.
Page 3
Preface This configuration guide describes the TRILL fundamentals and configuration procedures. This preface includes the following topics about the documentation: • Audience. • Conventions. • Documentation feedback. Audience This documentation is intended for: • Network planners. • Field technical support and servicing engineers. •...
Page 4
Symbols Convention Description An alert that calls attention to important information that if not understood or followed WARNING! can result in personal injury. An alert that calls attention to important information that if not understood or followed CAUTION: can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information.
Page 5
Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Page 6
Contents Configuring TRILL·························································································· 1 About TRILL ······················································································································································· 1 Basic concepts ··········································································································································· 1 TRILL frame formats ·································································································································· 1 How TRILL works ······································································································································· 2 Layer 2 forwarding mechanisms ················································································································ 3 Ping TRILL and tracert TRILL ···················································································································· 5 Protocols and standards ···························································································································· 7 Restrictions: Licensing requirements for TRILL ·································································································...
Page 7
Configuring TRILL About TRILL TRansparent Interconnection of Lots of Links (TRILL) uses IS-IS to provide transparent Layer 2 forwarding. TRILL combines the simplicity and flexibility of Layer 2 switching with the stability, scalability, and rapid convergence capability of Layer 3 routing. All these advantages make TRILL very suitable for large Layer 2 networks in data centers.
Page 8
Figure 1 TRILL data frame format Outer Destination MAC Address Outer Ethernet Outer Source MAC Address header Ethertype = 802.1Q Outer VLAN Tag Information Ethertype = TRILL Op-Length Hop Count TRILL Egress RB Nickname Ingress RB Nickname header Options Inner Destination MAC Address Inner Ethernet Inner Source MAC Address...
Page 9
Layer 2 forwarding mechanisms TRILL forwards the traffic within a VLAN by using the following mechanisms: Unicast frame forwarding mechanism As shown in Figure 2, a unicast frame is forwarded as follows: When a unicast frame enters the TRILL network, the ingress RB encapsulates the original Ethernet frame with the following headers: A TRILL header (similar to an IP header).
Page 10
• The maximum number of TRILL distribution trees that the RB can compute (this number is fixed at 15). • The number of TRILL distribution trees that the RB has computed. • The priority for the RB to be a TRILL distribution tree root. Each RB can compute a maximum of m TRILL distribution trees.
Page 11
TRILL selects distribution trees for forwarding multidestination frames based on the VLANs to which the frames belong. Because the topologies of TRILL distribution trees are different, traffic can be load shared. However, equal-cost links are not used for load sharing. When N equal-cost links exist in the network, each TRILL distribution tree selects the link with the largest pseudonode ID for forwarding packets.
Page 14
Restrictions and guidelines: TRILL configuration Restrictions and guidelines for TRILL configuration on an interface When you configure TRILL settings on an interface, follow these restrictions and guidelines: • Configuration in Layer 2 Ethernet interface view takes effect only on the current port. Configuration in Layer 2 aggregate interface view takes effect on the current interface and its member ports.
Page 15
e. (Optional.) Configuring the link cost settings for a TRILL port f. (Optional.) Configuring announcing VLANs and the designated VLAN (Optional.) Optimizing the TRILL network Configuring TRILL timers Configuring TRILL LSP parameters and features Setting the SPF algorithm parameters ...
Page 16
Figure 7 Two TRILL neighbors are established for a port (1) RB 1 Traditional Ethernet switch RB 2 RB 3 TRILL enabled port Figure 8 Two TRILL neighbors are established for a port (2) RB 1 RB 2 RB 3 TRILL enabled port TRILL disabled port Procedure...
Page 17
same priority, the RB with the highest system ID uses the nickname. The system automatically assigns new nicknames to the other RBs. Restrictions and guidelines Changing the system ID of an RB causes the system to reset the TRILL process. As a best practice, do not change the system ID of an RB when a TRILL network operates correctly.
Page 18
Configuring the DRB priority of a TRILL port About this task On a broadcast network, TRILL must elect a DRB. An RB with a higher DRB priority is preferred in DRB election. When two RBs have the same DRB priority, the RB with a higher MAC address takes precedence.
Page 19
The default setting is 2000. Make sure a TRILL port and its peer TRILL port use the same link cost. Configuring announcing VLANs and the designated VLAN About this task The concepts and symbols used to describe a VLAN on port are as follows: •...
Page 20
Hello multiplier. The RB advertises the adjacency holding time to neighbors through Hello frames. If a neighbor does not receive any Hello frame from the RB within the adjacency holding time, it removes the TRILL adjacency with the RB. AVF inhibition time As the AVF of a VLAN, the RB guarantees that frames of the VLAN enter and leave a broadcast network through the same port.
Page 21
Configuring TRILL LSP parameters and features Setting TRILL LSP parameters About this task You can set the following LSP parameters: • LSP maximum age—The RB uses the LSP maximum age as the remaining lifetime of the LSPs that it originates. When the RB detects that the remaining lifetime of an LSP reaches 0 seconds in the LSDB, the RB performs the following operations: Removes the LSP's content.
Page 22
Set the LSP refresh interval. timer lsp-refresh time The default setting is 900 seconds. Set the TRILL LSP generation timer parameters. timer lsp-generation maximum-interval [ minimum-interval [ incremental-interval ] ] By default, the maximum LSP generation interval is 2 seconds, the minimum interval is 10 milliseconds, and the incremental interval is 20 milliseconds.
Page 23
By default, TRILL LSP fast advertisement is disabled. Enabling TRILL pseudonode bypass About this task This feature disables a DRB from generating LSPs for the pseudonode when the DRB has only one neighbor on a broadcast network. This reduces the number of LSPs in the network. Procedure Enter system view.
Page 24
trill Set a priority for the RB. tree-root priority priority The default setting is 32768. Configure the number of TRILL distribution trees that the RB wants all RBs to compute. trees calculate count The default setting is 1. Enabling TRILL distribution tree multithread calculation About this task This feature enables a multicore CPU device to improve TRILL distribution tree calculation efficiency by using each thread to calculate a distribution tree.
Page 25
ingress assign-rule load-balancing Disable load balancing over TRILL distribution trees. undo ingress assign-rule By default, load balancing over TRILL distribution trees is disabled. Set the delay timer for the RB to switch ingress traffic to a new TRILL distribution tree. seconds ingress assign-delay The default delay timer is 300 seconds.
Page 26
The incremental flush feature enables the device to compare the outgoing port list and local receiving flag of an entry with its next higher level entry. If the two entries have the same outgoing port list and local receiving flag, the higher level entry is issued to the TRILL FIB. For example, if entry RB 2 and entry RB 2+VLAN 10 have the same outgoing port list and local receiving flag, entry RB 2 is issued.
Page 27
Configuring TRILL GR About this task Graceful Restart (GR) ensures the continuity of packet forwarding when a protocol restarts or an active/standby switchover occurs on the RB. The RB advertises the restart status to its neighbors, and allows the neighbors to re-establish connections. GR involves the following roles: •...
Page 28
Enabling logging of TRILL neighbor changes About this task Perform this task to output logs of TRILL neighbor changes to the configuration terminal. Procedure Enter system view. system-view Enter TRILL view. trill Enable logging of TRILL neighbor changes. log-peer-change enable By default, logging of TRILL neighbor changes is enabled.
Page 29
Using ping TRILL and tracert TRILL to test network connectivity About this task Use ping TRILL to test the network connectivity to an RB. After identifying network failure by using ping TRILL, use tracert TRILL to locate failed nodes. Procedure •...
Page 31
Procedure This section provides only TRILL-related configurations. Configure the downlink ports of access layer devices: # Enable TRILL globally on RB 1, and enable TRILL on downlink port Ten-GigabitEthernet 1/0/1 of RB 1. <RB1> system-view [RB1] trill [RB1-trill] quit [RB1] interface ten-gigabitethernet 1/0/1 [RB1-Ten-GigabitEthernet1/0/1] trill enable [RB1-Ten-GigabitEthernet1/0/1] quit # Configure RB 2 through RB 5 in the same way RB 1 is configured.
Page 32
[RB6-Ten-GigabitEthernet1/0/3] trill link-type trunk [RB6-Ten-GigabitEthernet1/0/3] quit [RB6] interface ten-gigabitethernet 1/0/4 [RB6-Ten-GigabitEthernet1/0/4] trill enable [RB6-Ten-GigabitEthernet1/0/4] trill link-type trunk [RB6-Ten-GigabitEthernet1/0/4] quit [RB6] interface ten-gigabitethernet 1/0/5 [RB6-Ten-GigabitEthernet1/0/5] trill enable [RB6-Ten-GigabitEthernet1/0/5] trill link-type trunk [RB6-Ten-GigabitEthernet1/0/5] quit # Configure RB 7 through RB 9 in the same way RB 6 is configured. (Details not shown.) Configure the uplink ports of the distribution layer devices: # Enable TRILL on uplink ports Ten-GigabitEthernet 1/0/6 and Ten-GigabitEthernet 1/0/7 of RB [RB6] interface ten-gigabitethernet 1/0/6...
Page 33
# Display brief information about all entries in the TRILL unicast routing table on an access layer device (for example, RB 1). [RB1] display trill unicast-route Destinations: 9 Unicast routes: 21 Destination Interface NextHop ----------------------------------------------- 0x5801 0x5802 XGE1/0/2 0x5806 XGE1/0/3 0x5807 XGE1/0/4 0x5808...
Need help?
Do you have a question about the S6800 Series and is the answer not in the manual?
Questions and answers