HP FlexFabric 12900E Series Configuration Manual page 320

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

[SwitchB] ip route-static 192.168.99.0 24 192.168.212.161
3.
Configure OSPF between Switch B and Switch C and configure OSPF on Switch B to
redistribute static routes:
# Configure OSPF to advertise the local network and enable OSPF to redistribute static routes
on Switch B.
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 172.17.100.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] import-route static
[SwitchB-ospf-1] quit
# Configure OSPF to advertise the local networks on Switch C.
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 172.17.100.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 10.220.2.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
# Display the IP routing table on Switch C.
[SwitchC] display ip routing-table protocol ospf
Summary count : 5
OSPF Routing table Status : <Active>
Summary count : 3
Destination/Mask
192.168.64.0/24
192.168.74.0/24
192.168.99.0/24
OSPF Routing table Status : <Inactive>
Summary count : 2
Destination/Mask
10.220.2.0/24
172.17.100.0/24
The output shows that Switch C has learned routes to 192.168.64.0/24, 192.168.99.0/24, and
192.168.64.0/18 through OSPF.
4.
Configure BGP between Switch C and Switch D and configure BGP on Switch C to redistribute
OSPF routes:
# On Switch C, enable BGP, specify Switch D as an EBGP peer, and configure BGP to
redistribute OSPF routes.
[SwitchC] bgp 65106
[SwitchC-bgp-default] router-id 3.3.3.3
[SwitchC-bgp-default] peer 10.220.2.217 as-number 64631
[SwitchC-bgp-default] address-family ipv4 unicast
[SwitchC-bgp-default-ipv4] peer 10.220.2.217 enable
[SwitchC-bgp-default-ipv4] import-route ospf
Proto
Pre
Cost
OSPF
150
1
OSPF
150
1
OSPF
150
1
Proto
Pre
Cost
OSPF
10
1
OSPF
10
1
308
NextHop
Interface
172.17.100.1
Vlan100
172.17.100.1
Vlan100
172.17.100.1
Vlan100
NextHop
Interface
10.220.2.16
Vlan200
172.17.100.2
Vlan100

Advertisement

Table of Contents
loading

Table of Contents