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 The H3C S5830V2 & S5820V2 documentation set describes 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
Convention Description Asterisk marked braces enclose a set of required syntax choices separated by vertical { x | y | ... } * bars, from which you select at least one. Asterisk marked square brackets enclose optional syntax choices separated by vertical [ x | y | ...
Page 5
Represents a security card, such as a firewall, load balancing, NetStream, SSL VPN, IPS, or ACG card. About the H3C S5830V2 & S5820V2 documentation set The H3C S5830V2 & S5820V2 documentation set includes the following categories of documents: Category Documents Purposes...
Page 6
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 11
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 13
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 16. Enter system view. system-view 17. Enter TRILL view. trill By default, automatic link cost 18. Enable automatic link cost calculation is enabled for TRILL auto-cost enable calculation for TRILL ports. ports. 19. Return to system view. quit 20.
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 21
• 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 The default setting is 1458 bytes. To prevent the system from generating 37. Configure the error messages, do not set the maximum maximum length of lsp-length originate size length of originated LSPs to be greater originated LSPs. than the maximum length of received LSPs.
Step Command Remarks 46. Enter system view. system-view 47. Enter Layer 2 Ethernet interface interface-type interface view or Layer 2 interface-number aggregate interface view. 48. Enable the pseudonode By default, the pseudonode trill bypass-pseudonode enable bypass feature. bypass feature is disabled. 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 smallest m value across the TRILL network. The RB selects the first n nicknames from the nickname list advertised by the highest-priority RB. The RB uses the selected nicknames as the root nicknames for computing distribution trees. To set basic TRILL distribution tree parameters: Step Command Remarks...
Step Command Remarks 60. Enter TRILL view. trill By default, load balancing over 61. Enable load balancing over ingress assign-rule TRILL distribution trees is TRILL distribution trees. load-balancing disabled. 62. Set the delay timer for the RB to switch ingress traffic The default delay timer is 300 ingress assign-delay seconds to a new TRILL distribution...
• RB+VLAN+MAC—Root bridge and VLAN of a TRILL distribution tree and a MAC address. An entry that is identified by fewer keys is at a higher level. 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.
Step Command Remarks 83. Enter system view. system-view 84. Enter TRILL view. trill 85. Enable GR for TRILL. By default, GR is disabled for TRILL. graceful-restart 86. (Optional.) Configure graceful-restart interval the GR interval for The default setting is 300 seconds. interval TRILL.
Task Command Remarks tracert trill [ -f first-ttl | -i interface-type interface-number | Display the route to an RB -m max-ttl | -priority priority | -q Execute this command in any view. with the specified nickname. packet-number | -t timeout | -v [ -name ] ] * nickname Displaying and maintaining TRILL Execute the display commands in any view and the reset command in user view.
• Enable TRILL on the downlink ports of access layer devices to connect terminal devices to the TRILL network. • Enable TRILL on the uplink ports of access layer devices, and configure these uplink ports as trunk ports to pass TRILL frames to the TRILL network. •...
[RB6-Ten-GigabitEthernet1/0/6] quit [RB6] interface ten-gigabitethernet 1/0/7 [RB6-Ten-GigabitEthernet1/0/7] trill enable [RB6-Ten-GigabitEthernet1/0/7] quit # Configure RB 7 through RB 9 in the same way RB 6 is configured. (Details not shown.) Configure TRILL distribution trees: # Set the RB 6's priority to 65535, and set the number of TRILL distribution trees that the RB wants all RBs to compute to 4.
Page 33
0x5804 XGE1/0/2 0x5806 XGE1/0/3 0x5808 XGE1/0/4 0x5808 XGE1/0/5 0x5809 0x5805 XGE1/0/2 0x5806 XGE1/0/3 0x5807 XGE1/0/4 0x5808 XGE1/0/5 0x5809 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.
Index TRILL, distributing access load balancing over TRILL distribution trees, TRILL access port link, TRILL distribution tree, advertisement TRILL distribution tree basics, TRILL LSP fast advertisement, TRILL distribution tree multithread calculation, algorithm TRILL SPF algorithm parameter, TRILL port priority, appointed VLAN-x forwarder. See associating TRILL port+track entry, enabling...
Page 35
hello ping TRILL connectivity test, TRILL hello interval, pseudonode bypass, TRILL hello multiplier, tracert TRILL node failure identification, hybrid TRILL announcing VLAN, TRILL hybrid port link, TRILL designated VLAN, TRILL distribution tree, TRILL distribution tree basics, TRILL distribution tree multithread calculation, TRILL RB system ID, TRILL ECMP route configuration, identifying...
Page 36
RB reachability determination, 5, TRILL nickname, port TRILL system ID, TRILL link cost configuration, restrictions TRILL port DRB priority, TRILL configuration, TRILL port link type, route priority TRILL ECMP route configuration, TRILL distribution tree, 16, routing bridge TRILL port DRB priority, TRILL, procedure TRILL distribution tree,...
Page 37
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, maintaining, neighbor change logging,...