Switch A XGE0/0/2 VLANIF 20 3.3.3.1/24
Switch B XGE0/0/1 VLANIF 30 2.2.2.2/24
Switch B XGE0/0/2 VLANIF 20 3.3.3.2/24
Switch B XGE0/0/3 VLANIF 40 172.16.1.1/24
Switch C XGE0/0/1 VLANIF 10 1.1.1.2/24
Switch C XGE0/0/2 VLANIF 30 2.2.2.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the basic OSPF functions on the Switch s.
2. Enable the BFD feature globally.
3. Enable BFD for OSPF on Switch A and Switch B.
Data Preparation
To complete the configuration, you need the following data:
l ID of the VLAN that each interface belongs to, as shown in Figure 4-13
l IP address of each VLANIF interface, as shown in Figure 4-13
l Router ID and OSPF process ID of each Switch and network segments that OSPF interfaces
belong to:
– On Switch A, the router ID is 1.1.1.1; OSPF process ID is 1; the network segments of
Area 0 are 3.1.1.0/24 and 1.1.1.0/24.
– On Switch B, the router ID is 2.2.2.2; OSPF process ID is 1; the network segments of
Area 0 are 3.1.1.0/24, 2.2.2.0/24, and 172.16.1.0/24.
– On Switch C, the router ID is 3.3.3.3; the OSPF process ID is 1; the network segments
of Area 0 are 192.168.1.0/24 and 172.16.1.0/24.
l Minimum interval for sending the BFD packets, minimum interval for receiving the BFD
packets, and local detection time multiplier on Switch A and Switch B
Procedure
Step 1 Create VLANs and add corresponding interfaces to the VLANs.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan 10
[SwitchA-vlan10] quit
[SwitchA] vlan 20
[SwitchA-vlan20] quit
[SwitchA] interface XGigabitEthernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/0/1] port hybrid untagged vlan 10
[SwitchA-XGigabitEthernet0/0/1] quit
[SwitchA] interface XGigabitEthernet 0/0/2
[SwitchA-XGigabitEthernet0/0/2] port hybrid pvid vlan 20
[SwitchA-XGigabitEthernet0/0/1] port hybrid untagged vlan 20
[SwitchA-XGigabitEthernet0/0/2] quit
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 4 OSPF Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
180