Page 3
The H3C S5830V2 & S5820V2 documentation set includes 16 configuration guides. These guides describe the software features for the H3C S5830V2 & S5820V2 Switch Series and guide you through the software configuration procedures. These guides also provide configuration examples to help you apply software features to different network scenarios.
Page 4
Configuration guide Added and modified features Added features: • Fast switching the root of a TRILL distribution tree • Configuring the system ID and nickname for an RB • Configuring the link cost for a TRILL port • Configuring the designated VLANs for exchanging TRILL frames •...
Page 5
Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your switch. About the H3C S5830V2 & S5820V2 documentation set The H3C S5830V2 & S5820V2 documentation set includes: Category Documents Purposes...
Page 6
Provides basic installation instructions. Provides a complete guide to hardware Installation guide installation and hardware specifications. Provides the physical views, H3C LSWM1HFANSC & specifications, installation procedures, LSWM1HFANSCB Fan and removal procedures for Assemblies Installation hot-swappable fan assemblies. Provides physical views, specifications, H3C LSVM1FANSC &...
Page 7
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 Interconnect 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 10
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 using different forwarding mechanisms.
Page 12
Compute a TRILL distribution tree for each VLAN according to the LSDB. • • Use the TRILL distribution tree to guide the forwarding of multi-destination frames, which include multicast, broadcast, and unknown unicast frames in the VLAN. 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 3 RB 2 RB 4 RB 1 Cost = 1 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 different 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 networks prevent loops • from being generated. For more information about loopback detection, see Layer 2—LAN Switching Configuration Guide.
Enable or disable TRILL on all ports in a VLAN, so that the ports in a VLAN have the same TRILL • status (enabled or disabled). Do not enable both TRILL and EVB on a port. The allowed VLAN list of a TRILL-enabled port cannot •...
Step Command Remarks Enable TRILL on the trill enable By default, TRILL is disabled on a port. port. Configuring the system ID and nickname for an RB The system ID and nickname of an RB are identifiers of the RB in the TRILL network. •...
Step Command Remarks Enter Layer 2 Ethernet interface interface-type or aggregate interface-number interface view. Configure the link trill link-type { access [ alone ] | By default, the link type of a TRILL port is type of a TRILL port. hybrid | trunk } access without the alone attribute.
Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. Configure the link cost for a trill cost value The default setting is 2000. TRILL port. Configuring the announcing VLANs and designated VLAN The concepts and symbols used to describe a VLAN on a port are as follows: Enabled VLAN—A VLAN enabled on the port.
Configuring TRILL timers You can configure the following TRILL timers: • Hello interval and Hello multiplier—An 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.
Page 20
keeps the LSP's digest, and purges the LSP from the network by advertising the LSP that has the remaining lifetime set to 0. LSP refresh interval—When the remaining lifetime of a locally originated LSP is no greater than • (maximum age – refresh interval), the LSP is refreshed even if no change occurs to it. This mechanism avoids frequent LSP aging and ensures network stability.
Step Command Remarks By default, the Overload bit is not set. Set the Overload bit of Do not set the Overload bit for LSPs sent by LSPs and set the lifetime set-overload [ timeout ] the root bridge of a TRILL distribution tree. for the set Overload bit.
equal-cost routes as n, the value range for the number argument of the max-unicast-load-balancing command is 1 to n. For more information about the max-ecmp-num command, see Layer 3—IP Routing Command Reference. To configure the maximum number of TRILL unicast equal-cost routes: Step Command Remarks...
Step Command Remarks Configure the number of TRILL distribution trees that trees calculate count The default setting is 1. the RB wants all RBs to compute. By default, multicast ECMP is disabled. Make sure the multicast ECMP status is the same on all RBs in the Enable multicast ECMP.
Figure 7 Network diagram Core layer Distribution layer TRILL network RB 6 RB 7 RB 8 RB 9 Access layer RB 1 RB 2 RB 3 RB 4 RB 5 Configuration 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.
Page 27
[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. 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] 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 # Set the RB 8's priority to 65533, and set the number of TRILL distribution trees that the RB wants all RBs to compute to 4.
Page 29
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 Valid 0x5807 Valid...