Page 2
, H3CS, H3CIE, H3CNE, Aolynk, Care, , IRF, NetPilot, Netflow, SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice.
Page 3
Preface This configuration guide describes the TRILL fundamentals and configuration procedures. This preface includes the following topics about the documentation: • Audience. • Conventions. • Obtaining documentation. • Technical support. • Documentation feedback. Audience This documentation is intended for: • Network planners.
Page 4
GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears; click OK. Multi-level menus are separated by angle brackets. For example, File > Create > > Folder.
Page 5
Represents a security card, such as a firewall, load balancing, NetStream, SSL VPN, IPS, or ACG card. Obtaining documentation Access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the following links to obtain different categories of product documentation: [Technical Documents]—Provides hardware installation, software upgrading, and software feature...
Configuring TRILL TRansparent Interconnection of Lots of Links (TRILL) uses IS-IS to provide transparent Layer 2 forwarding. TRILL requires a license. For information about feature licensing, see Fundamentals Configuration Guide. Overview TRILL combines the simplicity and flexibility of Layer 2 switching with the stability, scalability, and rapid convergence capability of Layer 3 routing.
Figure 1 TRILL data frame format Table 1 describes the fields in the TRILL header. Table 1 TRILL header fields Field Description Ethertype The Ethertype is fixed to TRILL. Version number, which is 0. When an RB receives a TRILL frame, it checks the V field and drops the frame if the V field is not 0.
TRILL forwarding mechanisms Different types of frames are forwarded by using different forwarding mechanisms. The following sections describe these 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
de-encapsulated by RB 3 and sent to the destination station S2. Because the network segment where RB 4 resides does not have a receiver of this frame, RB 4 drops the frame. Figure 3 Multicast frame forwarding flow RB 4 VLAN 200 TRILL network RB 1...
Figure 4 Multicast ECMP RB 1 Cost = 2 RB 2 RB 3 RB 4 TRILL distribution trees support Equal Cost Multiple Path (ECMP), also known as multicast ECMP. When multicast ECMP is enabled, TRILL assigns equal-cost links to multiple TRILL distributions trees.
Page 12
Figure 5 Ping TRILL packet forwarding Tracert TRILL Tracert TRILL enables retrieval of the nicknames of RBs in the path to a destination RB. In the event of network failure, use tracert TRILL to test network connectivity and identify failed nodes. Tracert TRILL operates as shown in Figure RB 1 sends RB 3 an OAM echo request with a hop count value of 0.
Figure 6 Tracert TRILL packet forwarding Protocols and standards • RFC 6325, Routing Bridges (RBridges): Base Protocol Specification • RFC 6326, Transparent Interconnection of Lots of Links (TRILL) Use of IS-IS • RFC 6327, Routing Bridges (RBridges): Adjacency • RFC 1195, Use of OSI IS-IS for Routing in TCP/IP and Dual Environments •...
An edge port is used to connect the spanning tree network to the TRILL network. The edge port can transit to the forwarding state before DRB election is finished. This prevents multiple DRBs from being elected. For more information about spanning tree protocols, see Layer 2—LAN Switching Configuration Guide.
Tasks at a glance (Optional.) Associating a TRILL port with a track entry (Optional.) Using ping TRILL and tracert TRILL to test network connectivity Enabling TRILL After you enable TRILL on a port, TRILL can operate correctly by using default settings. A port with TRILL enabled is called a TRILL port.
Configuration procedure To enable TRILL: Step Command Remarks Enter system view. system-view Enable TRILL globally By default, TRILL is disabled globally. trill and enter TRILL view. Return to system view. quit Enter Layer 2 Ethernet interface interface-type or aggregate interface interface-number view.
• Hybrid—A hybrid port combines the attributes of an access port and a trunk port, and can process local data frames and passing data frames. • Trunk—A trunk port can process passing data frames and some of Layer 2 protocol frames (for example, LLDP frames), but it cannot process local data frames.
Step Command Remarks Enter system view. system-view Enter TRILL view. trill By default, automatic link cost Enable automatic link cost calculation is enabled for TRILL auto-cost enable calculation for TRILL ports. ports. Return to system view. quit Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number...
Configuring TRILL timers You can configure the following TRILL timers: • Hello interval and Hello multiplier—The RB advertises Hello frames at the Hello interval to maintain a TRILL adjacency. The shorter the Hello interval, the faster the network convergence. However, a shorter Hello interval consumes more system resources. The adjacency holding time is obtained by multiplying the Hello interval by the Hello multiplier.
Page 20
• 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 tasks: Removes the LSP's content.
Step Command Remarks LSPs. The default setting is 1492 bytes. To prevent the system from generating Configure the error messages, do not set the maximum maximum length of lsp-length receive size length of originated LSPs to be greater received LSPs. than the maximum length of received LSPs.
Setting the SPF algorithm parameters The RB uses the SPF algorithm to calculate a shortest path tree with itself as the root based on the LSDB. The RB uses the shortest path tree to determine the next hop to a destination network. By adjusting the SPF calculation intervals, you can prevent resource overconsumption when the network is unstable.
Step Command Remarks Enter TRILL view. trill Set a priority for the RB. The default setting is 32768. tree-root priority priority Configure the number of TRILL distribution trees that The default setting is 1. trees calculate count the RB wants all RBs to compute.
Step Command Remarks Perform one-time load Perform this task when load balancing over TRILL balancing over TRILL distribution set ingress-load-balancing distribution trees. trees is disabled. Configuring TRILL ECMP routes TRILL unicast ECMP routes share traffic to the same destination. You can configure the maximum number of TRILL unicast ECMP routes.
This feature reduces the number of flushed entries in the scenarios where an entry and its next higher level entry have the same outgoing port list and local receiving flag. Enabling this feature in other scenarios causes the system to issue a large number of entries at the same time and degrades the device performance.
Step Command Remarks Enter TRILL view. trill Configure the By default, no context name context name for snmp context-name context-name is configured for TRILL. TRILL. Enabling TRILL to forward traffic from EVB S-channels Perform this task on the interface that is directly connected to a server. TRILL will forward the packets received from the EVB S-channels on the interface to the TRILL network.
Step Command Remarks (Optional.) Configure graceful-restart interval the GR interval for The default setting is 300 seconds. interval TRILL. (Optional.) Suppress By default, the SA bit is set during graceful graceful-restart the SA bit during restart. suppress-sa graceful restart. Associating a TRILL port with a track entry Associate a track entry with a TRILL port to fast detect the loss of connectivity to the neighbor on the port.
• In the TRILL network, configure four TRILL distribution trees with RB 6 through RB 9 as the root bridges. RB 6 through RB 9 are in descending priority order. A hierarchical network has three layers (from up to down): the core layer, distribution layer, and access layer.
Page 30
[RB1-Ten-GigabitEthernet1/0/4] trill enable [RB1-Ten-GigabitEthernet1/0/4] trill link-type trunk [RB1-Ten-GigabitEthernet1/0/4] quit [RB1] interface ten-gigabitethernet 1/0/5 [RB1-Ten-GigabitEthernet1/0/5] trill enable [RB1-Ten-GigabitEthernet1/0/5] trill link-type trunk [RB1-Ten-GigabitEthernet1/0/5] quit # Configure RB 2 through RB 5 in the same way RB 1 is configured. (Details not shown.) Configure the downlink ports of distribution layer devices: # Enable TRILL globally on RB 6, enable TRILL on downlink port Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/5 of RB 6, and configure these ports as trunk ports.
[RB6] trill [RB6-trill] tree-root priority 65535 [RB6-trill] trees calculate 4 [RB6-trill] quit # Set the RB 7's priority to 65534, and set the number of TRILL distribution trees that the RB wants all RBs to compute to 4. [RB7] trill [RB7-trill] tree-root priority 65534 [RB7-trill] trees calculate 4 [RB7-trill] quit...
Page 32
0x5806 XGE1/0/2 Direct 0x5807 XGE1/0/3 Direct 0x5808 XGE1/0/4 Direct 0x5809 XGE1/0/5 Direct Use display trill multicast-route to display the TRILL multicast routing table. For example: # Display the TRILL multicast routing table on RB 1. [RB1] display trill multicast-route Root Flag ------------------------------------- 0x5806...
Need help?
Do you have a question about the S6520-EI Series and is the answer not in the manual?
Questions and answers