Typical CSS Configuration of Modular Switches
CSS Support
CSS Version Requirements
Product |
Product Model |
Version Supporting CSS Card Clustering |
Version Supporting Service Port Clustering |
---|---|---|---|
S7700 |
S7703 S7703 PoE |
Not supported |
Not supported |
S7706 S7712 |
V200R001(C00&C10), V200R002C00, V200R003C00, V200R005C00, V200R006C00, V200R007C00, V200R008C00, V200R009C00, V200R010C00, V200R011C10, V200R012C00, V200R013C00, V200R019C00, V200R019C10, V200R020C00, V200R020C10, V200R021C00, V200R021C01 |
V200R002C00, V200R003C00, V200R005C00, V200R006C00, V200R007C00, V200R008C00, V200R009C00, V200R010C00, V200R011C10, V200R012C00, V200R013C00, V200R013C02, V200R019C00, V200R019C10, V200R020C00, V200R020C10, V200R021C00, V200R021C01 |
|
S7706 PoE |
V200R013C00, V200R019C00, V200R019C10, V200R020C00, V200R020C10, V200R021C00, V200R021C01 |
V200R013C00, V200R019C00, V200R019C10, V200R020C00, V200R020C10, V200R021C00, V200R021C01 |
|
S9700 |
S9703 |
Not supported |
Not supported |
S9706 S9712 |
V200R003C00, V200R005C00, V200R006C00, V200R007C00, V200R008C00, V200R009C00, V200R010C00, V200R011C10, V200R012C00, V200R013C00 |
V200R001C01, V200R002C00, V200R003C00, V200R005C00, V200R006C00, V200R007C00, V200R008C00, V200R009C00, V200R010C00, V200R011C10, V200R012C00, V200R013C00 |
Software and Hardware Support for S7700 CSS Card Clustering
Device Model |
|
||
---|---|---|---|
CSS Card and Installation Slot |
CSS card and MPU models are abbreviated to VSTSA, SRUA, and SRUB respectively. |
CSS card and MPU models are abbreviated to VS04, SRUHA1, SRUH, SRUHD, SRUH1, SRUE1, SRUED, and SRUE respectively. |
|
Hot Swap of CSS Cards |
Not supported |
Supported |
|
Number of CSS Cards Supported by Each Chassis |
2 |
2 |
|
Number of CSS Ports on Each CSS Card and Bandwidth of a Single CSS Port |
Four 16G ports |
Four 10G ports |
|
Pluggable Modules for Ports on CSS Cards |
NOTE:
1-to-4 QSFP+ high-speed cable, 1-to-4 QSFP+ AOC cable, and QSFP+ optical modules that connect a 40GE port to four 10GE ports using a 1-to-4 cable do not support CSS. |
|
|
Hardware Configuration |
|
|
|
License Required |
No |
Software and Hardware Support for S9700 CSS Card Clustering
Device Model |
|
---|---|
CSS Card and Installation Slot |
CSS card: EH1D2VS08000 (Eight ports on a CSS card are divided into two groups, each of which must have at least one cable connected.) Installation slot: subcard slot of EH1D2SRUC000 CSS card and MPU models are abbreviated to VS08 and SRUC respectively. |
Hot Swap of CSS Cards |
Not supported |
Number of CSS Cards Supported by Each Chassis |
2 |
Number of CSS Ports on Each CSS Card and Bandwidth of a Single CSS Port |
Eight 10G ports |
Pluggable Modules for Ports on CSS Cards |
|
Hardware Configuration |
|
License Required |
No |
Software and Hardware Support for S7700 Service Port Clustering
- Only two S7706 switches, two S7706 PoE switches, two S7712 switches, one S7706 and one S7706 PoE, one S7706 and one S7712, or one S7706 PoE and one S7712 can set up a CSS.
SRUs in the same chassis must be the same model. To set up a stack, the local and remote chassis must use SRUs of the same model, use SRUA and SRUB respectively, or use SRUH and SRUE respectively, or use SRUH1 and SRUE respectively, or use SRUH1 and SRUE1 respectively, or use SRUH and SRUE1 respectively, or use SRUE and SRUE1 respectively, or use SRUH and SRUH1 respectively(both chassis must run V200R010C00 or a later version).
Each chassis can have at most two LPUs for CSS connection. It is recommended that you use the same type of LPUs in a chassis for CSS connection. The two chassis must use the same type of ports for CSS connection, for example, 10GE SFP+ optical ports.
Each LPU allows only one logical CSS port. Each logical CSS port supports a maximum of 32 physical member ports.
Some ports on an LPU can function as CSS ports, while other ports on the LPU function as service ports.
A CSS can be set up as long as a logical CSS port has one CSS member port in Up state.
- Ports do not support the CSS function after being split.
- S7700 service port clustering is not under license control.
MPU model |
LPU Model |
Pluggable Modules on Service Ports |
Usage Constraints |
---|---|---|---|
SRUA/SRUB/SRUE/SRUE1/SRUH/SRUH1/SRUHA1 |
|
NOTE:
The ES0D0X12SA00 and ES0D0X12SA01 do not support 3 m and 5 m SFP+ high-speed cables. |
|
ES1D2L02QFC0 |
|
None |
|
SRUHX1 |
|
|
The SRUHX1 is available in V200R019C10 and later versions. |
|
|
||
|
|
||
|
Category 6A or higher network cables (If Category 6 cables are used, ensure that the cables meet requirements of TSB-155.) |
The SRUHX1 is available in V200R021C00 and later versions. |
Software and Hardware Support for S9700 Service Port Clustering
Device Model |
|
|
---|---|---|
Service Card Model NOTE:
For details about service cards, see "Cards" in the Hardware Description of the specific product model. |
|
|
Pluggable Modules on Service Ports |
NOTE:
The EH1D2X12SSA0 does not support 3 m and 5 m SFP+ high-speed cables. |
|
Usage Constraints |
|
The interconnected CSS physical member ports on the two member switches must be both 40GE ports. XGE ports derived from a 40GE port cannot be added to a logical CSS port. |
Hardware Configuration |
|
|
|
||
License Required |
No |
Example for Setting Up a CSS of Two Member Switches Using CSS Cards
Overview of CSS
- High reliability: Member switches in a CSS work in redundancy mode. Link redundancy can also be implemented between member switches through link aggregation.
- High scalability: Switches can set up a CSS to increase the number of ports, bandwidth, and packet processing capabilities.
- Simplified configuration and management: After two switches set up a CSS, they are virtualized into one device. You can log in to the CSS from either member switch to configure and manage the entire CSS.
In CSS card connection mode, member switches are connected using CSS cards on MPUs and cluster cables. Compared with the service port connection mode, the CSS card connection mode does not occupy common service ports, is easy to configure, ensures high stability and low latency, but has higher hardware requirements.
To simplify network configuration, increase uplink bandwidth, and improve reliability, configure inter-device Eth-Trunks in the CSS, connect downstream devices to the CSS in dual-homing mode, and add uplink and downlink ports of the CSS to the Eth-Trunks.
Configure the multi-active detection (MAD) function in the CSS. Two member switches in a CSS use the same IP address and MAC address (CSS system MAC address). Therefore, after the CSS splits, two CSSs using the same IP address and MAC address exist. To prevent this situation, a mechanism is required to check for IP address and MAC address conflicts after a split. MAD is a CSS split detection protocol that provides split detection, multi-active handling, and fault recovery mechanisms when a CSS splits due to a link failure. This minimizes the impact of a CSS split on services.
MAD can be implemented in direct or relay mode, but these modes cannot be configured simultaneously in a CSS. You can configure MAD in relay mode for a CSS when an inter-device Eth-Trunk is configured in the CSS. The direct mode occupies additional ports, and these ports can only be used for MAD after being connected using common cables. In contrast to the direct mode, the relay mode does not occupy additional ports.
Guidelines
- After two switches set up a CSS, the following features cannot be configured in the CSS:
- Synchronous Ethernet clock
- Precision Time Protocol (PTP) (IEEE 1588)
- Web system configuration (In V200R001C00, the web system is not supported. In V200R002C00 and later versions, you can log in to the CSS through the web system to perform configurations.)
When configuring MAD, focus on the differences in the command syntax between V200R002C00 (and earlier versions) and V200R003C00 (and later versions). In V200R002C00 and earlier versions, the split detection function is called dual-active detection (DAD).
- Regardless of how many MAD links exist, ports of the standby switch will be shut down and no longer forward service packets as long as the CSS splits.
Networking Requirements
An enterprise needs to build a network that has a reliable core layer and simple structure to facilitate configuration and management.
To meet requirements of the enterprise, core switches SwitchA and SwitchB set up a CSS in CSS card connection mode. SwitchA is the master switch, and SwitchB is the standby switch. Figure 3-41 shows the network topology. Aggregation switches connect to the CSS through Eth-Trunks, and the CSS connects to the upstream network through an Eth-Trunk. In this example, the core switches are the S9706 switches.
Configuration Roadmap
The configuration roadmap is as follows:
- Install hardware modules on SwitchA and SwitchB.
- Set the CSS connection mode on SwitchA and SwitchB and set their CSS IDs to 1 and 2 and CSS priorities to 100 and 10 respectively. These configurations ensure that SwitchA has a higher probability to become the master switch.
- Enable the CSS function on SwitchA and then on SwitchB to ensure that SwitchA becomes the master switch.
- Check whether a CSS is set up successfully.
- Configure uplink and downlink Eth-Trunks for the CSS to improve forwarding bandwidth and reliability.
- Configure MAD to minimize the impact of a CSS split on the network.
Procedure
- Install hardware modules.
The following describes only the rule for connecting cluster cables between two member switches. If you also need to install MPUs and CSS cards and learn about installation details, see the Switch Cluster Setup Guide.
Select the required connection diagram based on the device model and CSS card model to connect cluster cables.
Figure 3-42 VSTSA CSS card connections (S7706&S7706 PoE&S7712)Follow these rules when connecting VSTSA CSS cards: Each VSTSA CSS card has four ports. All ports with the same port number and color must be connected, as shown in the preceding figure. For example, port 1 in blue on the left chassis must be connected to port 1 in blue on the right chassis.
The CSS set up using VSTSA CSS cards allows at most one faulty cluster cable.
Figure 3-43 VS04 CSS card connections (S7706&S7706 PoE&S7712)Follow these rules when connecting VS04 CSS cards:Each VS04 CSS card has four ports. All ports with the same port number must be connected, as shown in the preceding figure. For example, port 1 in blue on the left chassis must be connected to port 1 in blue on the right chassis. The two chassis can be connected through one cable. However, it is recommended that the two chassis be connected through multiple cables.
Each CSS card on the local chassis can be connected to only one CSS card on the peer chassis.
- Configure the CSS connection mode, CSS ID, and CSS priority.
# Configure the CSS function on SwitchA. Retain the default CSS connection mode (CSS card connection) and the default CSS ID 1, and set the CSS priority to 100.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] set css priority 100
# Configure the CSS function on SwitchB. Retain the default CSS connection mode (CSS card connection), and set the CSS ID to 2 and CSS priority to 10.
<HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] set css id 2 [SwitchB] set css priority 10
# Check the CSS configuration.
After the configuration is complete, run the display css status saved command to check the CSS configuration.
Check the CSS configuration on SwitchA.
[SwitchA] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 1 Off CSS card 100 Off
Check the CSS configuration on SwitchB.
[SwitchB] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 2 Off CSS card 10 Off
- Enable the CSS function.
# Enable the CSS function on SwitchA and restart SwitchA.
[SwitchA] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is CSS card. Reboot now? [Y/N]:y
# Enable the CSS function on SwitchB and restart SwitchB.
[SwitchB] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is CSS card. Reboot now? [Y/N]:y
- Check whether a CSS is set up successfully.
# View the indicator status.
The MASTER indicator on a CSS card of SwitchA is steady on, indicating that the MPU with the CSS card installed is the active MPU of the CSS and SwitchA is the master switch.
The MASTER indicators on the CSS cards of SwitchB are off, indicating that SwitchB is the standby switch.
# Log in to the CSS through the console port on any MPU to check whether the CSS has been set up successfully. In versions earlier than V200R005C00, you must log in to the CSS through the console port on the active MPU.
<SwitchA> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 1 EH1D2VS08000 Present PowerOn Registered Normal NA 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA Chassis 2 (Standby Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 1 EH1D2VS08000 Present PowerOn Registered Normal NA 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present PowerOn Registered Normal NA CMU1 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Normal NA FAN2 - - Present PowerOn Registered Normal NA
The command output shows the card status of both member switches, indicating that the CSS has been set up successfully.
# Check whether CSS links are normal.
<SwitchA> display css channel Chassis 1 || Chassis 2 ================================================================================ Num [SRUC HG] [VS08 Port(Status)] || [VS08 Port(Status)] [SRUC HG] 1 1/7 0/12 -- 1/7/0/1(UP 10G) ---||--- 2/7/0/1(UP 10G) -- 2/7 0/12 2 1/7 0/16 -- 1/7/0/2(UP 10G) ---||--- 2/7/0/2(UP 10G) -- 2/7 0/16 3 1/7 0/13 -- 1/7/0/3(UP 10G) ---||--- 2/7/0/3(UP 10G) -- 2/7 0/13 4 1/7 0/17 -- 1/7/0/4(UP 10G) ---||--- 2/7/0/4(UP 10G) -- 2/7 0/17 5 1/7 0/14 -- 1/7/0/5(UP 10G) ---||--- 2/8/0/5(UP 10G) -- 2/8 0/14 6 1/7 0/18 -- 1/7/0/6(UP 10G) ---||--- 2/8/0/6(UP 10G) -- 2/8 0/18 7 1/7 0/15 -- 1/7/0/7(UP 10G) ---||--- 2/8/0/7(UP 10G) -- 2/8 0/15 8 1/7 0/19 -- 1/7/0/8(UP 10G) ---||--- 2/8/0/8(UP 10G) -- 2/8 0/19 9 1/8 0/12 -- 1/8/0/1(UP 10G) ---||--- 2/8/0/1(UP 10G) -- 2/8 0/12 10 1/8 0/16 -- 1/8/0/2(UP 10G) ---||--- 2/8/0/2(UP 10G) -- 2/8 0/16 11 1/8 0/13 -- 1/8/0/3(UP 10G) ---||--- 2/8/0/3(UP 10G) -- 2/8 0/13 12 1/8 0/17 -- 1/8/0/4(UP 10G) ---||--- 2/8/0/4(UP 10G) -- 2/8 0/17 13 1/8 0/14 -- 1/8/0/5(UP 10G) ---||--- 2/7/0/5(UP 10G) -- 2/7 0/14 14 1/8 0/18 -- 1/8/0/6(UP 10G) ---||--- 2/7/0/6(UP 10G) -- 2/7 0/18 15 1/8 0/15 -- 1/8/0/7(UP 10G) ---||--- 2/7/0/7(UP 10G) -- 2/7 0/15 16 1/8 0/19 -- 1/8/0/8(UP 10G) ---||--- 2/7/0/8(UP 10G) -- 2/7 0/19
The command output shows that all the CSS links are Up, indicating that the CSS has been set up successfully.
- Configure Eth-Trunks between the CSS and its upstream
and downstream devices.
# Configure an Eth-Trunk in the CSS and add uplink ports to the Eth-Trunk.
<SwitchA> system-view [SwitchA] sysname CSS //Rename the CSS. [CSS] interface eth-trunk 10 [CSS-Eth-Trunk10] quit [CSS] interface gigabitethernet 1/1/0/4 [CSS-GigabitEthernet1/1/0/4] eth-trunk 10 [CSS-GigabitEthernet1/1/0/4] quit [CSS] interface gigabitethernet 2/1/0/4 [CSS-GigabitEthernet2/1/0/4] eth-trunk 10 [CSS-GigabitEthernet2/1/0/4] quit
# Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchC to the Eth-Trunk.
[CSS] interface eth-trunk 20 [CSS-Eth-Trunk20] quit [CSS] interface gigabitethernet 1/1/0/3 [CSS-GigabitEthernet1/1/0/3] eth-trunk 20 [CSS-GigabitEthernet1/1/0/3] quit [CSS] interface gigabitethernet 2/1/0/5 [CSS-GigabitEthernet2/1/0/5] eth-trunk 20 [CSS-GigabitEthernet2/1/0/5] quit
# Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchD to the Eth-Trunk.
[CSS] interface eth-trunk 30 [CSS-Eth-Trunk30] quit [CSS] interface gigabitethernet 1/1/0/5 [CSS-GigabitEthernet1/1/0/5] eth-trunk 30 [CSS-GigabitEthernet1/1/0/5] quit [CSS] interface gigabitethernet 2/1/0/3 [CSS-GigabitEthernet2/1/0/3] eth-trunk 30 [CSS-GigabitEthernet2/1/0/3] return
# Configure an Eth-Trunk on SwitchE and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchE [SwitchE] interface eth-trunk 10 [SwitchE-Eth-Trunk10] quit [SwitchE] interface gigabitethernet 1/0/1 [SwitchE-GigabitEthernet1/0/1] eth-trunk 10 [SwitchE-GigabitEthernet1/0/1] quit [SwitchE] interface gigabitethernet 1/0/2 [SwitchE-GigabitEthernet1/0/2] eth-trunk 10 [SwitchE-GigabitEthernet1/0/2] quit
# Configure an Eth-Trunk on SwitchC and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchC [SwitchC] interface eth-trunk 20 [SwitchC-Eth-Trunk20] quit [SwitchC] interface gigabitethernet 1/0/1 [SwitchC-GigabitEthernet1/0/1] eth-trunk 20 [SwitchC-GigabitEthernet1/0/1] quit [SwitchC] interface gigabitethernet 1/0/2 [SwitchC-GigabitEthernet1/0/2] eth-trunk 20 [SwitchC-GigabitEthernet1/0/2] quit
# Configure an Eth-Trunk on SwitchD and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchD [SwitchD] interface eth-trunk 30 [SwitchD-Eth-Trunk30] quit [SwitchD] interface gigabitethernet 1/0/1 [SwitchD-GigabitEthernet1/0/1] eth-trunk 30 [SwitchD-GigabitEthernet1/0/1] quit [SwitchD] interface gigabitethernet 1/0/2 [SwitchD-GigabitEthernet1/0/2] eth-trunk 30 [SwitchD-GigabitEthernet1/0/2] quit
# Verify the configuration.
After the configuration is complete, run the display trunkmembership eth-trunk command in any view to check information about Eth-Trunk member ports. For example:
The command output shows information about member ports in Eth-Trunk 10.
<CSS> display trunkmembership eth-trunk 10 Trunk ID: 10 Used status: VALID TYPE: ethernet Working Mode : Normal Number Of Ports in Trunk = 2 Number Of Up Ports in Trunk = 2 Operate status: up Interface GigabitEthernet1/1/0/4, valid, operate up, weight=1 Interface GigabitEthernet2/1/0/4, valid, operate up, weight=1
- Configure the MAD function. The following procedure
configures MAD in relay mode and configures SwitchC as the relay agent
using the commands applicable to V200R003C00 and later versions.
# In the CSS, configure MAD in relay mode for the inter-device Eth-Trunk.
<CSS> system-view [CSS] interface eth-trunk 20 [CSS-Eth-Trunk20] mad detect mode relay //In V200R002C00 and earlier versions, the command is dual-active detect mode relay. [CSS-Eth-Trunk20] quit [CSS] quit
# Configure the MAD proxy function on SwitchC.
[SwitchC] interface eth-trunk 20 [SwitchC-Eth-Trunk20] mad relay //In V200R002C00 and earlier versions, the command is dual-active relay. [SwitchC-Eth-Trunk20] quit [SwitchC] quit
# Verify the configuration.
Check the MAD configuration in the CSS.
<CSS> display mad //In V200R002C00 and earlier versions, the command is display dual-active. Current MAD domain: 0 MAD direct detection enabled: NO MAD relay detection enabled: YES
Check MAD proxy information on SwitchC.
<SwitchC> display mad proxy //In V200R002C00 and earlier versions, the command is display dual-active proxy. Mad relay interfaces configured: Eth-Trunk20
Configuration Files
CSS configuration file
# sysname CSS # interface Eth-Trunk10 # interface Eth-Trunk20 mad detect mode relay # interface Eth-Trunk30 # interface GigabitEthernet1/1/0/3 eth-trunk 20 # interface GigabitEthernet1/1/0/4 eth-trunk 10 # interface GigabitEthernet1/1/0/5 eth-trunk 30 # interface GigabitEthernet2/1/0/3 eth-trunk 30 # interface GigabitEthernet2/1/0/4 eth-trunk 10 # interface GigabitEthernet2/1/0/5 eth-trunk 20 # return
SwitchC configuration file
# sysname SwitchC # interface Eth-Trunk20 mad relay # interface GigabitEthernet1/0/1 eth-trunk 20 # interface GigabitEthernet1/0/2 eth-trunk 20 # return
SwitchD configuration file
# sysname SwitchD # interface Eth-Trunk30 # interface GigabitEthernet1/0/1 eth-trunk 30 # interface GigabitEthernet1/0/2 eth-trunk 30 # return
SwitchE configuration file
# sysname SwitchE # interface Eth-Trunk10 # interface GigabitEthernet1/0/1 eth-trunk 10 # interface GigabitEthernet1/0/2 eth-trunk 10 # return
Example for Setting Up a CSS Using Service Ports
Overview of CSS
- High reliability: Member switches in a CSS work in redundancy mode. Link redundancy can also be implemented between member switches through link aggregation.
- High scalability: Switches can set up a CSS to increase the number of ports, bandwidth, and packet processing capabilities.
- Simplified configuration and management: After two switches set up a CSS, they are virtualized into one device. You can log in to the CSS from either member switch to configure and manage the entire CSS.
In service port connection mode, member switches are connected using service ports, without a need for CSS cards. The service ports must be configured as physical member ports of logical CSS ports. Figure 3-44 shows physical member ports and logical CSS ports in a CSS.
Physical member port
A physical member port is a service port used to set up a CSS link between CSS member switches. Physical member ports forward service packets or CSS protocol packets between member switches.
Logical CSS port
A logical CSS port is bound to physical member ports for CSS connection. Each CSS member switch supports two logical CSS ports.
Compared with the CSS card connection mode, the service port connection mode is more flexible but is complex to configure and needs to occupy service ports on LPUs.
To simplify network configuration, increase uplink bandwidth, and improve reliability, configure inter-device Eth-Trunks in the CSS, connect downstream devices to the CSS in dual-homing mode, and add uplink and downlink ports of the CSS to the Eth-Trunks.
Configure the multi-active detection (MAD) function in the CSS. Two member switches in a CSS use the same IP address and MAC address (CSS system MAC address). Therefore, after the CSS splits, two CSSs using the same IP address and MAC address exist. To prevent this situation, a mechanism is required to check for IP address and MAC address conflicts after a split. MAD is a CSS split detection protocol that provides split detection, multi-active handling, and fault recovery mechanisms when a CSS splits due to a link failure. This minimizes the impact of a CSS split on services.
MAD can be implemented in direct or relay mode, but these modes cannot be configured simultaneously in a CSS. You can configure MAD in relay mode for a CSS when an inter-device Eth-Trunk is configured in the CSS. The direct mode occupies additional ports, and these ports can only be used for MAD after being connected using common cables. In contrast to the direct mode, the relay mode does not occupy additional ports.
Guidelines
When switches using SRUAs, SRUBs, SRUCs, and SRUDs set up a CSS in service port clustering mode, the system software file (system startup package) must be saved in the CF card. If it is saved in the flash memory, the CSS cannot be set up in service port clustering mode.
- After two switches set up a CSS, the following features cannot
be configured in the CSS:
- Synchronous Ethernet clock
- Precision Time Protocol (PTP) (IEEE 1588)
When configuring MAD, focus on the differences in the command syntax between V200R002C00 and V200R003C00 (and later versions). In V200R002C00, the split detection function is called dual-active detection (DAD).
- Regardless of how many MAD links exist, ports of the standby switch will be shut down and no longer forward service packets as long as the CSS splits.
Networking Requirements
An enterprise needs to build a network that has a reliable core layer and simple structure to facilitate configuration and management and reduce deployment costs.
To meet requirements of the enterprise, core switches SwitchA and SwitchB set up a CSS in service port connection mode. SwitchA is the master switch, and SwitchB is the standby switch. Figure 3-45 shows the network topology. Aggregation switches connect to the CSS through Eth-Trunks, and the CSS connects to the upstream network through an Eth-Trunk. In this example, the core switches are the S9706 switches.
Configuration Roadmap
The configuration roadmap is as follows:
- Install LPUs on SwitchA and SwitchB, and connect cluster cables. Connect four service ports on two LPUs of each switch to improve bandwidth and reliability.
- Set the CSS connection mode on SwitchA and SwitchB and set their CSS IDs to 1 and 2 and CSS priorities to 100 and 10 respectively. These configurations ensure that SwitchA has a higher probability to become the master switch.
- Configure two logical CSS ports on each of SwitchA and SwitchB and add two physical member ports to each logical CSS port.
- Enable the CSS function on SwitchA and then on SwitchB to ensure that SwitchA becomes the master switch.
- Check whether a CSS is set up successfully.
- Configure uplink and downlink Eth-Trunks for the CSS to improve forwarding bandwidth and reliability.
- Configure MAD to minimize the impact of a CSS split on the network.
Procedure
- Install hardware modules.
The following describes only the rule for connecting cluster cables between two member switches. If you also need to install LPUs and learn about installation details, see the Switch Cluster Setup Guide.
Connect cluster cables according to the connection rule shown in Figure 3-46.
Service ports are connected in two ways according to link distribution:1+0 networking
Each member switch has one logical CSS port and connects to the other member switch through physical member ports on one service card.
1+1 networking
Each member switch has two logical CSS ports, and physical member ports of the logical CSS ports are located on two service cards. CSS links on the two service cards implement link redundancy. The preceding figure shows the cable connections in this networking.
When connecting cluster cables, pay attention to the following points:- Physical member ports of a logical CSS port on one switch must connect to physical member ports of a logical CSS port on the other switch.
- In 1+1 networking, it is recommended that two service cards have the same number of CSS links.
To ensure reliability, pay attention to the following points when using the preceding two service port clustering networkings:- You are advised to install MPUs in between CSS cards.
- To ensure high reliability, you are advised to use 1+1 networking and configure multi-active detection (MAD).
- At least two physical member ports on an LPU must be added to one logical CSS port.
- It is recommended that the cards where uplink ports and MAD-enabled port are located be the LPUs that are not used for CSS connections.
- Configure the CSS connection mode, CSS ID, and CSS priority.
# Configure the CSS function on SwitchA. Configure the service port connection mode, set the CSS priority to 100, and retain the default CSS ID 1.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] set css mode lpu [SwitchA] set css priority 100
# Configure the CSS function on SwitchB. Configure the service port connection mode, and set the CSS ID to 2 and CSS priority to 10.
<HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] set css mode lpu [SwitchB] set css id 2 [SwitchB] set css priority 10
# Check the CSS configuration.
After the configuration is complete, run the display css status saved command to check the CSS configuration.
Check the CSS configuration on SwitchA.
[SwitchA] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 1 Off LPU 100 Off
Check the CSS configuration on SwitchB.
[SwitchB] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 2 Off LPU 10 Off
- Configure logical CSS ports.
# On SwitchA, configure service ports XGE1/0/1 and XGE1/0/2 as physical member ports and add them to CSS port 1, and configure service ports XGE2/0/1 and XGE2/0/2 as physical member ports and add them to CSS port 2.
[SwitchA] interface css-port 1 [SwitchA-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable [SwitchA-css-port1] quit [SwitchA] interface css-port 2 [SwitchA-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable [SwitchA-css-port2] quit
# On SwitchB, configure service ports XGE1/0/1 and XGE1/0/2 as physical member ports and add them to CSS port 1, and configure service ports XGE2/0/1 and XGE2/0/2 as physical member ports and add them to CSS port 2.
[SwitchB] interface css-port 1 [SwitchB-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable [SwitchB-css-port1] quit [SwitchB] interface css-port 2 [SwitchB-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable [SwitchB-css-port2] quit
After the configuration is complete, run the display css css-port saved command to check whether the ports are Up.
- Enable the CSS function.
# Enable the CSS function on SwitchA and restart SwitchA.
[SwitchA] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y
# Enable the CSS function on SwitchB and restart SwitchB.
[SwitchB] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y
- Check whether a CSS is set up successfully.
# View the indicator status.
The ACT indicator on an MPU of SwitchA is steady green, indicating that the MPU is the active MPU of the CSS and SwitchA is the master switch.
The ACT indicator on an MPU of SwitchB is blinking green, indicating that the MPU is the standby MPU of the CSS and SwitchB is the standby switch.
# Log in to the CSS through the console port on any MPU to check whether the CSS has been set up successfully.
<SwitchA> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 2 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA Chassis 2 (Standby Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 2 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present PowerOn Registered Normal NA CMU1 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Normal NA FAN2 - - Present PowerOn Registered Normal NA
The command output shows the card status of both member switches, indicating that the CSS has been set up successfully.
# Check whether the CSS link topology is the same as the actual hardware connection.
<SwitchA> display css channel all CSS link-down-delay: 500ms Chassis 1 || Chassis 2 ================================================================================ Num [CSS port] [LPU Port] || [LPU Port] [CSS port] 1 1/1 XGigabitEthernet1/1/0/1 XGigabitEthernet2/1/0/1 2/1 2 1/1 XGigabitEthernet1/1/0/2 XGigabitEthernet2/1/0/2 2/1 3 1/2 XGigabitEthernet1/2/0/1 XGigabitEthernet2/2/0/1 2/2 4 1/2 XGigabitEthernet1/2/0/2 XGigabitEthernet2/2/0/2 2/2 Chassis 2 || Chassis 1 ================================================================================ Num [CSS port] [LPU Port] || [LPU Port] [CSS port] 1 2/1 XGigabitEthernet2/1/0/1 XGigabitEthernet1/1/0/1 1/1 2 2/1 XGigabitEthernet2/1/0/2 XGigabitEthernet1/1/0/2 1/1 3 2/2 XGigabitEthernet2/2/0/1 XGigabitEthernet1/2/0/1 1/2 4 2/2 XGigabitEthernet2/2/0/2 XGigabitEthernet1/2/0/2 1/2
The command output shows that the CSS link topology is the same as the actual hardware connection, indicating that the CSS has been set up successfully.
- Configure Eth-Trunks between the CSS and its upstream and
downstream devices.
# Configure an Eth-Trunk in the CSS and add uplink ports to the Eth-Trunk.
<SwitchA> system-view [SwitchA] sysname CSS //Rename the CSS. [CSS] interface eth-trunk 10 [CSS-Eth-Trunk10] quit [CSS] interface xgigabitethernet 1/3/0/4 [CSS-XGigabitEthernet1/3/0/4] eth-trunk 10 [CSS-XGigabitEthernet1/3/0/4] quit [CSS] interface xgigabitethernet 2/3/0/4 [CSS-XGigabitEthernet2/3/0/4] eth-trunk 10 [CSS-XGigabitEthernet2/3/0/4] quit
# Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchC to the Eth-Trunk.
[CSS] interface eth-trunk 20 [CSS-Eth-Trunk20] quit [CSS] interface gigabitethernet 1/4/0/3 [CSS-GigabitEthernet1/4/0/3] eth-trunk 20 [CSS-GigabitEthernet1/4/0/3] quit [CSS] interface gigabitethernet 2/4/0/5 [CSS-GigabitEthernet2/4/0/5] eth-trunk 20 [CSS-GigabitEthernet2/4/0/5] quit
# Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchD to the Eth-Trunk.
[CSS] interface eth-trunk 30 [CSS-Eth-Trunk30] quit [CSS] interface gigabitethernet 1/4/0/5 [CSS-GigabitEthernet1/4/0/5] eth-trunk 30 [CSS-GigabitEthernet1/4/0/5] quit [CSS] interface gigabitethernet 2/4/0/3 [CSS-GigabitEthernet2/4/0/3] eth-trunk 30 [CSS-GigabitEthernet2/4/0/3] return
# Configure an Eth-Trunk on SwitchE and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchE [SwitchE] interface eth-trunk 10 [SwitchE-Eth-Trunk10] quit [SwitchE] interface xgigabitethernet 1/0/1 [SwitchE-XGigabitEthernet1/0/1] eth-trunk 10 [SwitchE-XGigabitEthernet1/0/1] quit [SwitchE] interface xgigabitethernet 1/0/2 [SwitchE-XGigabitEthernet1/0/2] eth-trunk 10 [SwitchE-XGigabitEthernet1/0/2] quit
# Configure an Eth-Trunk on SwitchC and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchC [SwitchC] interface eth-trunk 20 [SwitchC-Eth-Trunk20] quit [SwitchC] interface gigabitethernet 1/0/1 [SwitchC-GigabitEthernet1/0/1] eth-trunk 20 [SwitchC-GigabitEthernet1/0/1] quit [SwitchC] interface gigabitethernet 1/0/2 [SwitchC-GigabitEthernet1/0/2] eth-trunk 20 [SwitchC-GigabitEthernet1/0/2] quit
# Configure an Eth-Trunk on SwitchD and add member ports to the Eth-Trunk.
<HUAWEI> system-view [HUAWEI] sysname SwitchD [SwitchD] interface eth-trunk 30 [SwitchD-Eth-Trunk30] quit [SwitchD] interface gigabitethernet 1/0/1 [SwitchD-GigabitEthernet1/0/1] eth-trunk 30 [SwitchD-GigabitEthernet1/0/1] quit [SwitchD] interface gigabitethernet 1/0/2 [SwitchD-GigabitEthernet1/0/2] eth-trunk 30 [SwitchD-GigabitEthernet1/0/2] quit
# Verify the configuration.
After the configuration is complete, run the display trunkmembership eth-trunk command in any view to check information about Eth-Trunk member ports. For example:
The command output shows information about member ports in Eth-Trunk 10.
<CSS> display trunkmembership eth-trunk 10 Trunk ID: 10 Used status: VALID TYPE: ethernet Working Mode : Normal Number Of Ports in Trunk = 2 Number Of Up Ports in Trunk = 2 Operate status: up Interface XGigabitEthernet1/3/0/4, valid, operate up, weight=1 Interface XGigabitEthernet2/3/0/4, valid, operate up, weight=1
- Configure the MAD function. The following procedure configures
MAD in relay mode and configures SwitchC as the relay agent using
the commands applicable to V200R003C00 and later versions.
# In the CSS, configure MAD in relay mode for the inter-device Eth-Trunk.
<CSS> system-view [CSS] interface eth-trunk 20 [CSS-Eth-Trunk20] mad detect mode relay //In V200R002C00, the command is dual-active detect mode relay. [CSS-Eth-Trunk20] quit [CSS] quit
# Configure the MAD proxy function on SwitchC.
[SwitchC] interface eth-trunk 20 [SwitchC-Eth-Trunk20] mad relay //In V200R002C00, the command is dual-active relay. [SwitchC-Eth-Trunk20] quit [SwitchC] quit
# Verify the configuration.
Check the MAD configuration in the CSS.
<CSS> display mad //In V200R002C00, the command is display dual-active. Current MAD domain: 0 MAD direct detection enabled: NO MAD relay detection enabled: YES
Check MAD proxy information on SwitchC.
<SwitchC> display mad proxy //In V200R002C00, the command is display dual-active proxy. Mad relay interfaces configured: Eth-Trunk20
Configuration Files
CSS configuration file
# sysname CSS # interface Eth-Trunk10 # interface Eth-Trunk20 mad detect mode relay # interface Eth-Trunk30 # interface GigabitEthernet1/4/0/3 eth-trunk 20 # interface XGigabitEthernet1/3/0/4 eth-trunk 10 # interface GigabitEthernet1/4/0/5 eth-trunk 30 # interface GigabitEthernet2/4/0/3 eth-trunk 30 # interface XGigabitEthernet2/3/0/4 eth-trunk 10 # interface GigabitEthernet2/4/0/5 eth-trunk 20 # return
SwitchC configuration file
# sysname SwitchC # interface Eth-Trunk20 mad relay # interface GigabitEthernet1/0/1 eth-trunk 20 # interface GigabitEthernet1/0/2 eth-trunk 20 # return
SwitchD configuration file
# sysname SwitchD # interface Eth-Trunk30 # interface GigabitEthernet1/0/1 eth-trunk 30 # interface GigabitEthernet1/0/2 eth-trunk 30 # return
SwitchE configuration file
# sysname SwitchE # interface Eth-Trunk10 # interface XGigabitEthernet1/0/1 eth-trunk 10 # interface XGigabitEthernet1/0/2 eth-trunk 10 # return
Combining Standalone Switches into a CSS
Networking Requirements
Two modular switches at the aggregation layer use VRRP and STP to implement gateway backup. To simplify the configuration, the two modular switches need to be combined into a logical CSS.
In Figure 3-47, S1 and S2 at the aggregation layer are two standalone switches and need to be combined into a CSS to simplify configuration and facilitate maintenance and management.
- The VRRP gateway backup protocol deployed at the aggregation layer is not required and its configuration needs to be deleted.
- The STP loop prevention protocol deployed at the access layer is not required and its configuration needs to be deleted.
- The links at the access, aggregation, and core layers are changed to Eth-Trunks, and related interface configurations need to be changed, including basic VLAN configuration, QoS configuration, and ACL configuration.
Guidelines
- This operation applies to CSS card clustering and service port clustering. Before combining two standalone switches into a CSS, ensure that the hardware and software of the two switches meet CSS requirements. For CSS card clustering, CSS cards and cluster cables have been prepared. For service port clustering, service cards that support service port clustering and cluster cables have been prepared.
- After the CSS function is enabled on a standalone switch, configurations on the interfaces of the switch will be lost. Therefore, back up the configuration file before enabling the CSS function.
- The following procedure provides only the related configurations. Whether other configurations need to be changed depends on the actual networking.
Procedure
- In the original networking, traffic at the access layer is load-balanced among multiple links through STP and VRRP. In Figure 3-48, some traffic is forwarded through S1 and some traffic is forwarded through S2.
- Manually shut down the uplink and downlink ports of S2 to change the STP and VRRP status so that S2 is isolated from the network and all traffic is forwarded through S1, as shown in Figure 3-49.
- Back up the configuration file of S2. After the CSS function is enabled on a standalone switch, the interface number format on the switch is changed from slot ID/subcard ID/port number to stack member ID/slot ID/subcard ID/port number, and the configurations on the interfaces of the switch are lost.
- Change S2 to the CSS state.
- Procedure for configuring service port clustering
- Power off S2, install service cards, and power on S2.
- Configure the CSS connection mode and CSS priority on S2.
<S2> system-view [S2] set css mode lpu [S2] set css priority 200 // Set the CSS priority to 200 to make S2 become the CSS master. The default CSS priority is 1. [S2] display css status saved // Check whether the configuration is correct. Current Id Saved Id CSS Enable CSS Mode Priority Master Force ------------------------------------------------------------------------------ 1 1 Off LPU 200 On
- Configure service ports as CSS ports. For example, configure service ports XGE1/0/1, XGE1/0/2, XGE2/0/1, and XGE2/0/2 as CSS ports.
[S2] interface css-port 1 [S2-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable [S2-css-port1] quit [S2] interface css-port 2 [S2-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable [S2-css-port2] quit
- Enable the CSS function on S2 and restart S2.
[S2] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y
- After S2 is restarted, check its CSS status. If the following output is displayed, S2 has been changed to the CSS state:
<S2> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 2 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA
- Procedure for configuring CSS card clustering
- Power off S2, install CSS cards, and power on S2.
- Configure the CSS priority on S2.
<S2> system-view [S2] set css priority 200 // Set the CSS priority to 200 to make S2 become the CSS master. The default CSS priority is 1. [S2] display css status saved // Check whether the configuration is correct. Current Id Saved Id CSS Enable CSS Mode Priority Master Force ------------------------------------------------------------------------------ 1 1 Off CSS card 200 On
- Enable the CSS function on S2 and restart S2.
[S2] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is CSS card. Reboot now? [Y/N]:y
- After S2 is restarted, check its CSS status. If the following output is displayed, S2 has been changed to the CSS state:
<S2> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 1 EH1D2VS08000 Present PowerOn Registered Normal NA 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA
- Procedure for configuring service port clustering
- Change the configuration of S2, which has been changed to a single-chassis cluster CSS-1. Alternatively, change the configuration after S1 and S2 are combined into a CSS. Changing the configuration of S2 before S1 and S2 are combined into a CSS can reduce the traffic loss.Figure 3-50 Single-chassis CSS
Bind uplink ports XGE1/4/0/1 and XGE1/4/0/2 of CSS-1 to Eth-Trunks and move the configurations of these ports to the Eth-Trunks.
For example: The configurations on the original ports (connecting CSS-1 to devices at the core layer) are as follows:# interface XGigabitEthernet4/0/1 undo portswitch ip address 192.168.4.2 255.255.255.0 # interface XGigabitEthernet4/0/2 port link-type trunk port trunk allow-pass vlan 100 200 #
Change the configurations.<S2> system-view [S2] sysname CSS // Change the device name to facilitate maintenance. [CSS] interface eth-trunk 20 // Add the port connecting the CSS to a core device to Eth-Trunk 20. [CSS-Eth-Trunk20] trunkport xgigabitethernet1/4/0/1 [CSS-Eth-Trunk20] ip address 192.168.4.2 255.255.255.0 [CSS-Eth-Trunk20] quit [CSS] interface eth-trunk 10 // Add the port connecting the CSS to another core device to Eth-Trunk 10. [CSS-Eth-Trunk10] trunkport xgigabitethernet1/4/0/2 [CSS-Eth-Trunk10] port link-type trunk [CSS-Eth-Trunk10] port trunk allow-pass vlan 100 200 [CSS-Eth-Trunk10] quit
Change the configurations of devices at the core layer and access layer and bind physical ports to Eth-Trunks. The procedure is similar to the preceding procedure.
Delete the VRRP configuration on CSS-1.
For example, the configurations of VLANIF interfaces are as follows:# interface Vlanif100 ip address 10.1.10.1 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.10.111 vrrp vrid 1 priority 120 # interface Vlanif200 ip address 10.1.20.1 255.255.255.0 vrrp vrid 2 virtual-ip 10.1.20.111 #
Delete the configurations of VLANIF interfaces.[CSS] interface vlanif 100 [CSS-Vlanif100] undo vrrp vrid 1 [CSS-Vlanif100] undo ip address [CSS-Vlanif100] quit [CSS] interface vlanif 200 [CSS-Vlanif200] undo vrrp vrid 2 [CSS-Vlanif200] undo ip address [CSS-Vlanif200] quit
- Delete unnecessary network segments from the OSPF routing domain.
- Change the configurations of the interfaces on which QoS and ACLs are configured to bind these interfaces to Eth-Trunks.
- Change the STP priority of CSS-1 so that CSS-1 becomes the root switch of all VLANs.
- Run the undo shutdown command to disable the interfaces on CSS-1 to check whether Layer 2 and Layer 3 forwarding between CSS-1 and devices at the access layer and core layer is normal.
- After confirming that Layer 2 and Layer 3 forwarding between CSS-1 and devices at the access layer and core layer is normal, shut down interfaces on S1 so that S1 is isolated from the network and all traffic is forwarded through CSS-1.Figure 3-51 Traffic switched to CSS-1
- Change S1 to the CSS state. After S1 is added to CSS-1, S1 uses the configuration file of CSS-1.
- Procedure for configuring service port clustering
- Power off S1, install service cards, connect the cluster cables between S1 and CSS-1, and power on S1.
- Configure the cluster connection mode and CSS ID and retain the default CSS priority 1 on S1.
<S1> system-view [S1] set css mode lpu [S1] set css id 2 [S1] display css status saved // Check whether the configuration is correct. Current Id Saved Id CSS Enable CSS Mode Priority Master Force ------------------------------------------------------------------------------ 1 2 Off LPU 1 On
- Configure service ports as CSS ports. For example, configure service ports XGE1/0/1, XGE1/0/2, XGE2/0/1, and XGE2/0/2 as CSS ports.
[S1] interface css-port 1 [S1-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable [S1-css-port1] quit [S1] interface css-port 2 [S1-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable [S1-css-port2] quit
- Enable the CSS function on S1 and restart S1.
[S1] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y
- After S1 is restarted, check its CSS status. If the following output is displayed, S1 has joined the CSS.
<CSS> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 2 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA Chassis 2 (Standby Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 2 - EH1D2X12SSA0 Present PowerOn Registered Normal NA 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA
- Procedure for configuring CSS card clustering
- Power off S1, install CSS cards, connect the cluster cables between S1 and CSS-1, and power on S1.
- Configure the CSS ID and retain the default CSS priority 1 on S1.
<S1> system-view [S1] set css id 2
- Enable the CSS function on S1 and restart S1.
[S1] css enable Warning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is CSS card. Reboot now? [Y/N]:y
- After S1 is restarted, check its CSS status. If the following output is displayed, S1 has joined the CSS.
<CSS> display device Chassis 1 (Master Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 1 EH1D2VS08000 Present PowerOn Registered Normal NA 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA Chassis 2 (Standby Switch) S9706's Device status: Slot Sub Type Online Power Register Status Role - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3 - EH1D2S04SX1E Present PowerOn Registered Normal NA 4 - EH1D2S04SX1E Present PowerOn Registered Normal NA 7 - EH1D2SRUC000 Present PowerOn Registered Normal Master 1 EH1D2VS08000 Present PowerOn Registered Normal NA 8 - EH1D2SRUC000 Present PowerOn Registered Normal Slave 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present - Unregistered - NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Abnormal NA FAN2 - - Present - Unregistered - NA
- Procedure for configuring service port clustering
- S1 is changed to CSS-2 and becomes the stack standby.Figure 3-52 Two CSS systems merging into one
- Change the configurations of CSS-2 and add interfaces of CSS-2 to Eth-Trunks.
Add uplink ports XGE2/4/0/1 and XGE2/4/0/2 of CSS-2 to Eth-Trunks.
[CSS] interface eth-trunk 20 [CSS-Eth-Trunk20] trunkport xgigabitethernet2/4/0/1 [CSS-Eth-Trunk20] quit [CSS] interface eth-trunk 10 [CSS-Eth-Trunk10] trunkport xgigabitethernet2/4/0/2 [CSS-Eth-Trunk10] quit
- Change the configurations of devices at the core layer and access layer and bind physical ports to Eth-Trunks. The procedure is similar to the preceding procedure.
- Run the undo shutdown command to disable the interfaces of CSS-2 and check whether Layer 2 and Layer 3 forwarding between CSS-2 and devices at the core layer and access layer is normal. In this case, S1 and S2 have been combined into a CSS, as shown in Figure 3-53.