Page 3
The H3C S12500-X & S12500X-AF documentation set includes 17 configuration guides. These guides describe the software features for the H3C S12500-X & S12500X-AF Switch Series running Release 1135 and later, 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
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
Obtaining documentation Access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents]—Provides hardware installation, software upgrading, and software feature configuration and maintenance documentation.
Configuring TRILL TRansparent Interconnection of Lots of Links (TRILL) uses IS-IS to provide transparent Layer 2 forwarding. TRILL requires a license to run on the device. 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 TRILL uses different mechanisms to forward Layer 2 and Layer 3 traffic. The following sections describe these mechanisms. 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:...
Page 10
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. In the frame, the egress RB is RB 2, the root bridge of the TRILL distribution tree for VLAN 10. When the frame arrives at the root bridge, it is distributed throughout the TRILL distribution tree.
Page 11
Figure 4 Multicast ECMP 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 to improve load sharing performance. When N equal-cost links exist in the network, each TRILL distribution tree selects an equal-cost link for forwarding packets through J mod N in root bridge priority order.
Figure 5 TRILL Layer 3 forwarding IP network Distribution RB 1 RB 2 (Gateway) Access RB 3 RB 4 RB 5 RB 6 TRILL network VLAN 100 VLAN 100 VLAN 200 VLAN 200 When an access RB receives a unicast frame from a terminal device, the RB encapsulates the frame into a TRILL frame and sends it to the gateway RB.
Page 13
Figure 6 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 7 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.
When you set up a TRILL network, avoid the case that multiple TRILL neighbors are established for one TRILL port, for example, the networks in Figure 8 Figure Figure 8 shows a typical network where two TRILL neighbors are established for the same port of an RB.
• System ID—Unique identifier of an RB in the TRILL network. The system ID can be automatically assigned or manually configured. • Nickname—Address of an RB in the TRILL network. The address can be automatically assigned or manually configured. When multiple RBs in the TRILL network have the same nickname, the RB with the highest priority uses the nickname.
Configuring the DRB priority of a TRILL port 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.
Configuring announcing VLANs and the designated VLAN The concepts and symbols used to describe a VLAN on port are as follows: • Enabled VLAN—A VLAN enabled on the port. • Forwarding VLAN—A VLAN for which the port is the appointed port. •...
The RB detects a root bridge change on the broadcast network. Other RBs advertise a different AVF for the VLAN. When the inhibition time expires, the RB restores its AVF role if it is still the AVF of the VLAN. •...
Page 21
• Maximum length of originated LSPs—The RB selects the smallest value from the following values as the actual maximum length of LSPs to be sent to a neighbor: The configured maximum length of originated LSPs. The interface MTU. The maximum originated LSP length carried in the LSPs sent by the neighbor. •...
Step Command Remarks By default, the Overload bit is not set. Do not perform this task on the root RB of Set the Overload bit of a TRILL distribution tree. The root RB LSPs and set the set-overload [ timeout ] cannot forward traffic when the Overload lifetime for the set bit of LSPs is set on the RB.
Step Command Remarks 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.
To set basic TRILL distribution tree parameters: Step Command Remarks Enter system view. system-view 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.
Step Command Remarks Enter system view. system-view Enter TRILL view. trill By default, load balancing over Enable load balancing over ingress assign-rule TRILL distribution trees is TRILL distribution trees. load-balancing disabled. Set the delay timer for the RB to switch ingress traffic to The default delay timer is 300 ingress assign-delay seconds a new TRILL distribution...
• RB—Root bridge of a TRILL distribution tree. • RB+VLAN—Root bridge and VLAN of a TRILL distribution tree. • 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 forwarding for a VLAN, create the VLAN interface for the VLAN and assign an IP address to the VLAN interface. Execute this command on the gateway RBs. Return to system view. quit The Layer 2 Ethernet interface or Layer 2 aggregate interface must be Enter Layer 2 Ethernet a TRILL trunk port on the TRILL...
Step Command Remarks neighbor changes. 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 on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.
Step Command Remarks (Optional.) Configure graceful-restart interval the GR interval for The default setting is 300 seconds. interval TRILL. By default, the SA bit is set during graceful (Optional.) Suppress restart. graceful-restart the SA bit during suppress-sa This command is available in Release graceful restart.
Network requirements As shown in Figure 10, a data center network has two layers: the distribution layer and the access layer. A port connected to a higher layer device is an uplink port, and a port connected to a lower layer device is a downlink port.
Page 32
# Create VLAN 100 and assign Ten-GigabitEthernet 1/0/1 to VLAN 100. [RB3] vlan 100 [RB3-vlan100] quit [RB3] interface ten-gigabitethernet 1/0/1 [RB3-Ten-GigabitEthernet1/0/1] port access vlan 100 [RB3-Ten-GigabitEthernet1/0/1] quit # Configure RB 4 through RB 6 in the similar way RB 3 is configured. Create VLANs and assign the downlink ports to the corresponding VLANs on RB 4 through RB 6 as shown in Figure (Details not shown.)
Page 33
[RB1-if-range] port link-type trunk [RB1-if-range] port trunk pvid vlan 1000 [RB1-if-range] port trunk permit vlan 100 1000 [RB1-if-range] quit # Configure downlink ports Ten-GigabitEthernet 1/0/3 and Ten-GigabitEthernet 1/0/4 as TRILL trunk ports, and configure VLAN 1000 as the designated VLAN. [RB1]interface range Ten-GigabitEthernet 1/0/3 to Ten-GigabitEthernet 1/0/4 [RB1-if-range] trill enable [RB1-if-range] trill link-type trunk...
[RB2-trill] quit Verifying the configuration Suppose that the Layer 2 forwarding nicknames of RB 1 through RB 6 are 0x5801 through 0x5806. The Layer 3 forwarding nickname of RB1 is 0x3001. The system IDs of RB 1 and RB 2 are 0000.0000.0001 and 0000.0000.0002.
100, 200 List of outgoing ports: XGE1/0/2 TRILL configuration example This example is available in Release 1135. Network requirements As shown in Figure 11, a data center network has three layers: the core layer, the distribution layer, and the access layer. A port connected to a higher layer device is an uplink port, and a port connected to a lower layer device is a downlink port.
Page 36
# 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.
[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 38
# Display brief information about all entries in the TRILL Layer 2 unicast routing table on RB 1. [RB1] display trill unicast-route Destination Interface NextHop ----------------------------------------------- 0x5801 0x5802 XGE1/0/2 0x5806 XGE1/0/3 0x5807 XGE1/0/4 0x5808 XGE1/0/5 0x5809 0x5803 XGE1/0/2 0x5806 XGE1/0/3 0x5807 XGE1/0/4 0x5808...
Index distributing TRILL distribution tree, 17 access TRILL distribution tree load balancing, 18 TRILL access port link, 11 TRILL distribution tree multithread calculation, 18 advertisement TRILL distribution tree parameter set, 17 TRILL LSP fast advertisement, 16 algorithm TRILL port priority, 12 TRILL SPF algorithm parameter, 17 appointed VLAN-x forwarder.
Need help?
Do you have a question about the S12500-X Series and is the answer not in the manual?
Questions and answers