HP HPE FlexNetwork 7500 series Configuration Manual page 361

Table of Contents

Advertisement

Figure 78 Network diagram
Switch A
AS 100
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure OSPF in AS 200 to ensure connectivity among Switch B, Switch C, and Switch D.
(Details not shown.)
3.
Configure BGP connections:
# Configure Switch A to establish EBGP sessions to Switch B and Switch C, and advertise
network 1.1.1.1/32.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp-default] router-id 1.1.1.1
[SwitchA-bgp-default] peer 10.1.1.2 as-number 200
[SwitchA-bgp-default] peer 30.1.1.3 as-number 200
[SwitchA-bgp-default] address-family ipv4 unicast
[SwitchA-bgp-default-ipv4] peer 10.1.1.2 enable
[SwitchA-bgp-default-ipv4] peer 30.1.1.3 enable
[SwitchA-bgp-default-ipv4] network 1.1.1.1 32
# Configure Switch B to establish an EBGP session to Switch A, and an IBGP session to Switch
D.
<SwitchB> system-view
[SwitchB] bgp 200
[SwitchB-bgp-default] router-id 2.2.2.2
[SwitchB-bgp-default] peer 10.1.1.1 as-number 100
[SwitchB-bgp-default] peer 4.4.4.4 as-number 200
[SwitchB-bgp-default] peer 4.4.4.4 connect-interface loopback 0
[SwitchB-bgp-default] address-family ipv4 unicast
[SwitchB-bgp-default-ipv4] peer 10.1.1.1 enable
[SwitchB-bgp-default-ipv4] peer 4.4.4.4 enable
[SwitchB-bgp-default-ipv4] peer 4.4.4.4 next-hop-local
[SwitchB-bgp-default-ipv4] quit
[SwitchB-bgp-default] quit
Vlan-int 100
10.1.1.2/24
Vlan-int 100
10.1.1.1/24
Vlan-int 200
30.1.1.1/24
Vlan-int 200
30.1.1.3/24
Loop0
2.2.2.2/32
Vlan-int 101
20.1.1.2/24
Switch B
Link B
Link A
Switch C
Vlan-int 201
40.1.1.3/24
Loop0
3.3.3.3/32
349
AS 200
Vlan-int 101
20.1.1.4/24
Switch D
Vlan-int 201
40.1.1.4/24

Advertisement

Table of Contents
loading

Table of Contents