Page 3
Preface The TRILL Configuration Guide describes the background, fundamentals, and configuration of TRILL. This preface includes: Audience • Conventions • About the H3C S6300 documentation set • • Obtaining documentation Technical support • Documentation feedback • Audience This documentation is intended for: Network planners •...
Page 4
Convention Description The argument or keyword and argument combination before the ampersand (&) sign can &<1-n> be entered 1 to n times. A line that starts with a pound (#) sign is comments. GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears;...
Page 5
Pluggable transceiver modules Guides you through installing SFP/SFP+/QSFP+ installation guide transceiver modules. Describes the hot-swappable modules available for Pluggable modules manual the H3C switches, their external views, and specifications. Describe software features and configuration Configuration guides procedures. Software configuration...
Page 6
Solutions]—Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download]—Provides the documentation released with the software version. Technical support service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
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.
Page 9
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.
How TRILL works TRILL establishes and maintains adjacencies between RBs by periodically advertising Hello frames, distributes LSPs among RB neighbors, and generates an LSDB for all RBs in the network. Based on the LSDB, each RB uses the SPF algorithm to calculate forwarding entries destined to other RBs. TRILL forwarding mechanisms Different types of frames are forwarded by using different forwarding mechanisms.
Page 11
Compute a TRILL distribution tree for each VLAN based on the LSDB. • • Guide the forwarding of multidestination frames in each VLAN by using its TRILL distribution tree. As shown in Figure 3, when a multicast frame from VLAN 10 enters the TRILL network, RB 1, which is an ingress RB, encapsulates the multicast frame into a TRILL frame.
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. This improves the load sharing performance.
For more information about spanning tree protocols, see Layer 2—LAN Switching Configuration Guide. H3C recommends not enabling loop detection on TRILL ports, because TRILL avoids loops. For more • information about loopback detection, see Layer 2—LAN Switching Configuration Guide. If IRF is used, retain the IRF bridge MAC address permanently. Otherwise, traffic interruption might •...
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 restrictions and guidelines When you enable TRILL, follow these guidelines: To enable TRILL on a port, first enable TRILL globally. •...
Configuration procedure To enable TRILL: Step Command Remarks Enter system view. system-view Enable TRILL globally trill By default, TRILL is disabled globally. and enter TRILL view. Return to system view. quit Enter Layer 2 Ethernet interface interface-type or aggregate interface interface-number view.
participate in DRB election or AVF negotiation. Access ports without the alone attribute can process only local data frames and Hello frames. 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.
The system automatically calculates the link cost of a TRILL port by using the following formula: link cost = 20000000000000/interface baud rate. To set the link cost for a TRILL port: Step Command Remarks Enter system view. system-view Enter TRILL view. trill By default, automatic link cost Enable automatic link cost...
By default, no announcing VLAN is Configure announcing trill announcing-vlan { vlan-list | null } configured, and announcing VLANs. VLANs are enabled VLANs. By default, no designated VLAN is Configure the designated configured. The system trill designated-vlan vlan-id VLAN. automatically selects an enabled VLAN as the designated VLAN.
Step Command Remarks Configure the AVF trill timer avf-inhibited time The default setting is 30 seconds. inhibition time. Configure the CSNP trill timer csnp interval The default setting is 10 seconds. interval. Configuring TRILL LSP parameters and features Setting TRILL LSP parameters 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 •...
To set TRILL LSP parameters: Step Command Remarks Enter system view. system-view Enter TRILL view. trill Set the LSP maximum timer lsp-max-age time The default setting is 1200 seconds. age. Set the LSP refresh timer lsp-refresh time The default setting is 900 seconds. interval.
Step Command Remarks Enter TRILL view. trill Enable TRILL LSP flash-flood [ flood-count flooding-count | By default, TRILL LSP fast fast advertisement. max-timer-interval flooding-interval ] * advertisement is disabled. Enabling TRILL pseudonode bypass This feature disables a DRB from generating LSPs for the pseudonode when the DRB has only one neighbor on a broadcast network.
Configuring TRILL distribution trees Setting basic distribution tree parameters In a TRILL network, RBs perform the following tasks: Compute TRILL distribution trees according to the LSDB. • Use the TRILL distribution trees to guide the forwarding of multidestination frames. • An RB with a higher priority is selected as the root bridge of a TRILL distribution tree.
Enabling load balancing over TRILL distribution trees By default, ingress traffic is not load balanced over TRILL distribution trees after a forwarding VLAN is deleted on the RB. To load balance ingress traffic of the remaining forwarding VLANs over the existing distribution trees, you can enable load balancing over TRILL distribution trees.
Configure the maximum max-unicast-load-balancing number of TRILL unicast ECMP The default maximum number is 8. number routes. By default, TRILL multicast ECMP is disabled. multicast-ecmp enable Enable TRILL multicast ECMP. Make sure the status of TRILL multicast [ p2p-ignore ] ECMP is the same across the TRILL network.
Step Command Remarks Enter TRILL view. trill Enable logging of TRILL By default, logging of TRILL neighbor changes log-peer-change enable neighbor changes. is enabled. Configuring SNMP for TRILL To report critical TRILL events to an NMS, enable SNMP notifications for TRILL. For TRILL event notifications to be sent correctly, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.
Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet or interface interface-type aggregate interface interface-number view. Configure the link type of port link-type trunk The default link type of a port is access. the port as trunk. Enable EVB. evb enable By default, EVB is disabled on a port.
To associate a TRILL port with a track entry: Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. Associate a track entry with By default, an interface is not trill track track-entry-number the interface.
The H3C S6300 switches can only act as the access devices because they do not support Layer 3 multicast features. This example can use the H3C S5820V2, S5830V2, or S6800 switch series as the distribution layer devices.
Page 29
# 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. (Details not shown.) Configure the uplink ports of access layer devices: # Enable TRILL on uplink ports Ten-GigabitEthernet 1/0/2 through Ten-GigabitEthernet 1/0/5 of RB 1, and configure these ports as trunk ports.
Page 30
[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...
Verifying the configuration Suppose that the nicknames of RB 1 through RB 9 are 0x5801 through 0x5809, respectively. Use display trill unicast-route to display the TRILL unicast routing table. For example: # Display brief information about all entries in the TRILL unicast routing table on RB 1. [RB1] display trill unicast-route Destination Interface...
Index TRILL CSNP interval, access TRILL access port link, designated advertisement TRILL designated routing bridge, TRILL LSP fast advertisement, displaying algorithm TRILL, TRILL SPF algorithm parameter, distributing appointed VLAN-x forwarder. See load balancing over TRILL distribution trees, associating TRILL distribution tree, TRILL port+track entry, TRILL distribution tree basics, TRILL distribution tree multithread calculation,...
Page 34
frame TRILL control frame format, maintaining TRILL data frame format, TRILL, TRILL multidestination forwarding, TRILL unicast forwarding, naming TRILL RB nickname, Graceful Restart (GR) neighbor TRILL configuration, TRILL neighbor change logging, TRILL GR helper, network TRILL GR restarter, incremental flush for TRILL multicast routing entries, load balancing over TRILL distribution trees, hello...
Page 35
setting TRILL SPF algorithm parameters, protocols and standards parameter TRILL, TRILL LSP max age parameter, 12, pseudonode TRILL LSP max number transmitted, 12, TRILL pseudonode bypass, TRILL LSP min interval, 12, TRILL LSP refresh interval, 12, port TRILL link cost configuration, TRILL nickname, TRILL port DRB priority, TRILL system ID,...
Page 36
displaying, distribution tree configuration, distribution tree multithread calculation, ECMP route configuration, enable, EVB S-channel traffic forwarding, forwarding mechanisms, frame formats, frame forwarding (multidestination), frame forwarding (unicast), GR configuration, how it works, incremental flush for TRILL multicast routing entries, load balancing over TRILL distribution trees, LSP fast advertisement, LSP parameter, LSP parameter and feature,...
Need help?
Do you have a question about the TRILL S6300 Series and is the answer not in the manual?
Questions and answers