Page 3
The H3C S12500 documentation set includes 17 configuration guides. These guides describe the software features for the H3C S12500 Series 10G Core Routing Switches 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
Guide Adjustable Slider Rail Guides you through installing adjustable slider rails Installation Guide to a rack. H3C High-End Network Describes the hot-swappable modules available for Products Hot-Swappable the H3C high-end network products, their external Module Manual views, and specifications.
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 links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents]—Provides hardware installation, software...
Page 8
Configuring the SPSource ID ································································································································ 21 Configuring the bridge priority ···························································································································· 21 Configuring a link metric value for a provider network port ············································································ 21 Mapping B-VLANs to an ECT algorithm ············································································································· 22 Performing ECT migration for an SPB VSI ·········································································································· 23 ...
SPBM overview IEEE 802.1aq Shortest Path Bridging (SPB) enables multipath routing in an Ethernet mesh network by using IS-IS as the control protocol. The technology allows all paths to be active, supports equal cost paths, and provides shortest path forwarding in an Ethernet mesh network. IEEE 802.1aq SPB provides faster convergence, higher link efficiency, and larger Layer 2 topologies than conventional spanning tree protocols such as MSTP.
Backbone core bridges (BCBs) are core nodes of an SPBM network. They are identical to the P devices in an MPLS VPN network. BCBs forward MAC-in-MAC frames based on the B-MAC and B-VLAN. They do not learn customer MAC (C-MAC) addresses. Backbone edge bridges (BEBs) are edge nodes of the SPBM network.
LSDB A link state database (LSDB) contains the states of all links in an SPBM network. MAC-in-MAC SPBM encapsulates Ethernet frames into MAC-in-MAC frames by using 802.1ah PBB encapsulation. For more information about the MAC-in-MAC frame format, see "Data paths." Customer frames are encapsulated in MAC-in-MAC format at edges of the SPBM network before they are forwarded from one customer site to another.
SPBM data packet SPBM data packets use the IEEE 802.1ah MAC-in-MAC frame format, as shown in Figure Figure 2 IEEE 802.1ah-compliant MAC-in-MAC frame format Table 1 IEEE 802.1ah encapsulated frame header fields Field Description B-DA Destination B-MAC that identifies the destination BEB. Source B-MAC.
Each node runs SPF to calculate the shortest path from itself to each of the other nodes. If equal-cost paths are available, each node runs ECT to choose the best forwarding path. The nodes populate their respective FDB and FIB tables with the forwarding path. BEBs establish PWs over the SPBM network for transmitting customer traffic.
Page 14
Figure 3 MAC-in-MAC unicast traffic over an SPBM network Forward based on Remove outer header Encapsulate frame destination B-MAC (B-MACs, B-VLAN, with B-MACs, B- VLAN, and I-SID and B-VLAN and I-SID) B-DA B-SA B-VLAN I-SID B-DA B-SA B-VLAN I-SID Data Data BEB2 BEB1...
Page 15
Figure 4 Head-end replication Customer network Data B-MAC B-VLAN Port BEB1 GE1/0/1 BEB 3 BEB2 GE1/0/2 BEB3 GE1/0/3 B-MAC B-VLAN Port BEB2 GE1/0/1 B-MAC B-VLAN Port BEB3 GE1/0/1 BEB1 GE1/0/1 BEB2 GE1/0/1 B-DA B-SA B-VLAN I-SID Data BEB3 BEB1 BEB 1 GE 1/0/1 GE 1/0/1 B-MAC...
Figure 5 Tandem replication Customer network Data B-MAC B-VLAN Port M-BEB1 GE1/0/2,GE1/0/3 M-BEB2 GE1/0/1,GE1/0/3 BEB 3 GE1/0/1,GE1/0/2 M-BEB3 B-MAC B-VLAN Port M-BEB3 GE1/0/1 B-DA B-SA B-VLAN I-SID Data M-BEB1 BEB1 BEB 1 GE 1/0/1 GE 1/0/1 B-MAC B-VLAN Port Data M-BEB2 GE1/0/1 B-MAC...
Table 2 SPBM multicast address fields Field Description 1-bit multicast flag. Its value is fixed at 1. 1-bit local flag bit. Its value is fixed at 1. 2-bit SPSource ID type. Its value is fixed at 0. SPSource ID 20-bit SPSource ID. I-SID 24-bit SPB VSI identifier.
Figure 7 Multiple SPB VSIs Customer site B I-SID 300 I-SID 400 Customer site A I-SID 400 I-SID 300 I-SID 500 VSI 1 I-SID 400 Customer site C VSI 2 VSI 3 I-SID 300 I-SID 400 I-SID 500 SPBM network Customer site E Customer site D I-SID 400...
Figure 8 Multiple SPTs in an SPBM network Customer site B Customer site A Customer site C SPBM Customer site D network Customer site F ECT 1 B-VLANs 100-200 Customer site E ECT 2 B-VLANs 300-400 ECT migration ECT migration enables an I-SID to migrate from one ECT algorithm to another with minimum traffic loss. To prevent traffic loss, ECT migration was designed based on the idea of make-before-break.
Loop prevention SPBM nodes collect topology data independently to calculate forwarding paths. Transient loops might occur during SPT recalculation caused by a network flapping because the latency varies for an LSP to reach the SPBM nodes. SPBM uses the Agreement Protocol (AP) to prevent transient loops. AP introduces a delay for ISIS-SPB to issue forwarding entries to the data plane.
Configuring SPBM Configuration restrictions and guidelines For SPBM to operate correctly, follow the restrictions and guidelines in this section when you configure SPBM. Hardware restrictions In an MDC on an SPBM node, a provider network port cannot be in the same port group as an IRF physical port, EVI tunnel source interface, or Layer 3 Ethernet interface.
Port Card type Port assignment groups Group 1—Lowest numbered 20 ports. 40-port 10-Gigabit Ethernet fiber interface card Group 2—Highest numbered 20 ports. Group 1—Ports 1 to 12. Group 2—Ports 13 to 24. 48-port 10-Gigabit Ethernet fiber interface card Group 3—Ports 25 to 36. Group 4—Ports 37 to 48.
Feature Restrictions and guidelines Do not use B-VLANs for other purposes such as EVI extended VLANs or VLAN interfaces. Before specifying a VLAN as a B-VLAN, you must remove all features that have been configured on the VLAN. You must configure the provider network ports on BEBs and BCBs as trunk or VLAN hybrid ports, and assign them to all B-VLANs as tagged VLAN members.
Tasks at a glance Remarks (Optional.) Optimizing the SPBM network: IMPORTANT: • Configuring the SPSource ID To ensure correct path selection and traffic • Optimizing traffic distribution: forwarding, make sure B-VLAN to ECT algorithm Configuring the bridge priority mappings and ISIS-SPB timer settings are Configuring a link metric value for a provider network consistent across the network.
Step Command Remarks Enter system view. system-view Enter MST region view. stp region-configuration Configure the MST The default MST region name is the MAC region-name name region name. address of the device. Configure the MSTP revision-level level The default MSTP revision level is 0. revision level.
Creating an SPB VSI SPBM uses a unique I-SID to identify an SPB VSI. An SPB VSI's I-SID must be the same across the SPBM network. I-SID 255 is reserved for the fast channel. You cannot associate any Ethernet service instance with the VSI that uses I-SID 255.
For more information about Ethernet service instance configuration commands, see MPLS L2VPN commands in MPLS Command Reference. To configure an Ethernet service instance on a customer network port: Step Command Remarks Enter system view. system-view Enter Layer 2 Ethernet interface view or Layer 2 interface interface-type interface-number aggregate interface view.
When you configure the SPBM multicast replication mode, follow these restrictions and guidelines: • Multicast replication mode must be the same across all BEBs. You must enable the multicast B-VLAN feature on all nodes in the SPBM network if the following •...
Configuring the SPSource ID An SPSource ID uniquely identifies a device in an SPBM network. By default, the device generates an SPSource ID automatically. If you configure an SPSource ID manually, make sure the configured ID is unique on the SPBM network. To configure an SPSource ID for the device: Step Command...
Step Command Remarks Set a port-specific link metric By default, automatic link metric spbm cost value value. calculation applies. Setting the global link metric value Step Command Remarks Enter system view. system-view Enter SPBM view. spbm Set a global SPBM link By default, no global SPBM link metric circuit-cost value metric value.
Step Command Remarks Map B-VLANs to an ECT By default, all B-VLANs are mapped ect ect-index b-vlan vlan-id-list algorithm. to ECT algorithm 1. Performing ECT migration for an SPB VSI To move traffic from an overloaded path to a path that has less traffic, you can change B-VLAN to ECT algorithm mappings by using the ect command or by performing ECT migration.
CAUTION: To avoid traffic disruption, you must verify that the new mapping has been added across the SPBM network before you proceed to the next task. Step Command Remarks Skip this step if you choose a Enter SPBM view. spbm VLAN that already exists.
Enable this feature before you re-enable SPBM or perform an active/standby switchover. Graceful Restart ensures nonstop forwarding while ISIS-SPB processes are re-establishing their adjacency. To prevent service interruption during an active/standby switchover, H3C recommends that you enable this feature. To configure Graceful Restart for ISIS-SPB:...
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. The default hello interval is 10 seconds. Configure the ISIS-SPB hello The maximum adjacency hold time spbm timer hello seconds interval.
Page 35
LSP timer Functionality Tuning guidelines Floods the first several LSPs that invoke Enable this feature for quick LSDB LSP fast-flooding SPF before SPF computation is started. synchronization. Configuring the minimum LSP transmit interval and the maximum number of LSPs sent at each interval To control ISIS-SPB traffic on a circuit, tune the minimum interval for the device to transmit LSPs out of the circuit and the maximum number of LSPs sent at each interval.
Page 36
LSP generation timer—Sets the delay for ISIS-SPB to generate a new version of an LSP in response • to an LSP change. For example, an update occurs because of a change in adjacency, interface metric value, system ID, or area address. The LSP generation timer is an exponential generation timer.
Step Command Remarks Enter SPBM view. spbm flash-flood [ flood-count flooding-count | By default, LSP fast-flooding is Configure LSP fast-flooding. max-timer-interval disabled. flooding-interval ] * Tuning the SPF calculation timer The SPF calculation timer sets the delay between consecutive SPF calculations. You can decrease the timer for ISIS-SPB to react quickly to topology changes, and decrease the timer to protect the CPU from frequent SPF calculations.
Setting the LSDB overload bit ISIS-SPB sets the overload bit in LSPs to notify its neighbors that it is experiencing an LSDB error condition and cannot forward traffic correctly. During path calculation, ISIS-SPB does not choose a path as the shortest path if the path includes the device that has the overload bit set.
Configuring ISIS-SPB authentication ISIS-SPB authentication helps improve security in an SPBM network. It includes adjacency authentication and area authentication. Configuring ISIS-SPB adjacency authentication ISIS-SPB adjacency authentication guarantees that SPBM nodes establish adjacencies only with trustworthy neighbors. SPBM nodes send adjacency authentication information (including the authentication method and password) in ISIS-SPB hello packets.
Disable area authentication for incoming ISIS-SPB topology advertisement packets on the neighbor devices. Modify the authentication settings on the local end. Modify the authentication settings on the remote end. Enable area authentication for incoming ISIS-SPB topology advertisement packets on the neighbor devices.
Step Command Remarks Enter SPBM view. spbm By default, no SNMP Configure an SNMP snmp context-name context-name context is configured for context for ISIS-SPB. ISIS-SPB. Configuring the AP mode The Agreement Protocol (AP) prevents temporary loops that might occur when the topologies of SPBM neighbors do not match.
Page 42
Task Command Display B-VLAN to ECT algorithm display spbm b-vlan [ vlan-id ] mappings by B-VLAN. Display SPBM bridge information. display spbm bridge Display SPBM B-VLAN information (in display spbm bvlan-info [ slot slot-number [ cpu cpu-number ] ] standalone mode). Display SPBM B-VLAN information (in IRF display spbm bvlan-info [ chassis chassis-number slot slot-number mode).
SPBM configuration examples By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are down. To bring up the interfaces, execute the undo shutdown command. SPBM with head-end replication configuration example Network requirements As shown in Figure 10, deploy an SPBM network to meet the following requirements: Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, and 3.
Page 45
[BEB1-mst-region]active region-configuration [BEB1-mst-region]quit # Enable SPBM both globally and on the provider network port on BEB 1. Assign the provider network port to B-VLAN 3001. [BEB1]spbm [BEB1-spbm]quit [BEB1]interface Ten-GigabitEthernet1/0/2 [BEB1-Ten-GigabitEthernet1/0/2]port link-type trunk [BEB1-Ten-GigabitEthernet1/0/2]port trunk permit vlan 3001 [BEB1-Ten-GigabitEthernet1/0/2]spbm enable [BEB1-Ten-GigabitEthernet1/0/2]quit # Enable L2VPN.
Page 46
# Enable SPBM both globally and on the provider network ports on the BCB. Assign the provider network ports to B-VLAN 3001. [BCB]spbm [BCB-spbm]quit [BCB]interface Ten-GigabitEthernet2/0/1 [BCB-Ten-GigabitEthernet2/0/1]port link-type trunk [BCB-Ten-GigabitEthernet2/0/1]port trunk permit vlan 3001 [BCB-Ten-GigabitEthernet2/0/1]spbm enable [BCB-Ten-GigabitEthernet2/0/1]quit [BCB]interface Ten-GigabitEthernet2/0/2 [BCB-Ten-GigabitEthernet2/0/2]port link-type trunk [BCB-Ten-GigabitEthernet2/0/2]port trunk permit vlan 3001 [BCB-Ten-GigabitEthernet2/0/2]spbm enable [BCB-Ten-GigabitEthernet2/0/2]quit...
XGE1/0/1 srv1 SPBM with tandem replication configuration example Network requirements As shown in Figure 1 1, deploy an SPBM network to meet the following requirements: Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, and 3. • •...
Page 48
[BEB1]spbm [BEB1-spbm]quit [BEB1]interface Ten-GigabitEthernet1/0/2 [BEB1-Ten-GigabitEthernet1/0/2]port link-type trunk [BEB1-Ten-GigabitEthernet1/0/2]port trunk permit vlan 3001 [BEB1-Ten-GigabitEthernet1/0/2]spbm enable [BEB1-Ten-GigabitEthernet1/0/2]quit # Enable L2VPN. [BEB1]l2vpn enable # Create an SPB VSI (I-SID 3001). [BEB1]vsi test [BEB1-vsi-test]spb i-sid 3001 # Assign B-VLAN 3001 to the SPB VSI. [BEB1-vsi-test-3001]b-vlan 3001 # Enable tandem multicast replication mode for the SPB VSI.
ECT migration example Network requirements As shown in Figure 12, deploy an SPBM network to meet the following requirements: Use I-SID 3001 to extend VLAN 100 across customer sites 1, 2, and 3. • Move I-SID 3001 from the original ECT algorithm to ECT algorithm 9. Change the B-VLAN for I-SID •...
Page 51
[BEB1-mst-region]region-name spb [BEB1-mst-region]instance 4092 vlan 3001 3003 [BEB1-mst-region]active region-configuration [BEB1-mst-region]quit # Enable SPBM globally. [BEB1]spbm # Map B-VLAN 3003 to ECT algorithm 9. [BEB1-spbm]ect 9 b-vlan 3003 [BEB1-spbm]quit # Enable SPBM on the provider network ports on BEB 1. Assign the provider network ports to B-VLAN 3001 and B-VLAN 3003.
Page 52
[BCB1]vlan 3001 [BCB1-vlan3001]vlan 3003 [BCB1-vlan3003]quit # Configure MST region parameters on BCB 1. Make sure B-VLAN 3001 and B-VLAN 3003 are mapped to MSTI 4092. [BCB1]stp region-configuration [BCB1-mst-region]region-name spb [BCB1-mst-region]instance 4092 vlan 3001 3003 [BCB1-mst-region]active region-configuration [BCB1-mst-region]quit # Enable SPBM globally. [BCB1]spbm # Map B-VLAN 3003 to ECT algorithm 9.
Page 53
VSI Name: test VSI Index VSI State : Up : 1500 Bandwidth : 102400 kbps Broadcast Restrain : 5% Multicast Restrain Unknown Unicast Restrain: - MAC Learning : Enabled MAC Table Limit : Unlimited Drop Unknown SPB I-SID : 3001 SPB Connections: BMAC BVLAN...
Need help?
Do you have a question about the S12500 Series and is the answer not in the manual?
Questions and answers