H3C S3610-28P Operation Manual page 539

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
II. Network diagram
Device
Switch A
Switch B
Figure 5-22 Network diagram for BGP path selection configuration
III. Configuration procedure
1)
Configure IP addresses for interfaces (omitted).
2)
Configure OSPF on Switch B, C, and D.
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ospf
[SwitchB-ospf] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 192.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] network 194.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 193.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
# Configure Switch D.
<SwitchD> system-view
[SwitchD] ospf
[SwitchD-ospf] area 0
Interface
IP address
Vlan-int101
1.0.0.1/8
Vlan-int100
192.1.1.1/24
Vlan-int200
193.1.1.1/24
Vlan-int100
192.1.1.2/24
Vlan-int300
194.1.1.2/24
Device
Interface
Switch D
Vlan-int400
Vlan-int300
Switch C
Vlan-int400
Vlan-int200
5-58
Chapter 5 BGP Configuration
IP address
195.1.1.1/24
194.1.1.1/24
195.1.1.2/24
193.1.1.2/24

Advertisement

Table of Contents
loading

Table of Contents