HPE FlexFabric 5950 Series Configuration Manual page 46

Mpls
Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] network 11.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] network 20.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-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[SwitchC-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 21.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
# Verify that the switches have learned the routes to each other. This example uses Switch A.
[SwitchA] display ip routing-table
Destinations : 21
Destination/Mask
0.0.0.0/32
1.1.1.9/32
2.2.2.9/32
3.3.3.9/32
10.1.1.0/24
10.1.1.0/32
10.1.1.1/32
10.1.1.255/32
11.1.1.0/24
11.1.1.0/32
11.1.1.1/32
11.1.1.255/32
20.1.1.0/24
21.1.1.0/24
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32 Direct
Routes : 21
Proto
Pre Cost
Direct
0
0
Direct
0
0
O_INTRA 10
1
O_INTRA 10
2
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
OSPF
10
2
OSPF
10
3
Direct
0
0
Direct
0
0
Direct
0
0
0
0
38
NextHop
Interface
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.1.1.2
Vlan2
10.1.1.2
Vlan2
10.1.1.1
Vlan2
10.1.1.1
Vlan2
127.0.0.1
InLoop0
10.1.1.1
Vlan2
11.1.1.1
Vlan4
11.1.1.1
Vlan4
127.0.0.1
InLoop0
11.1.1.1
Vlan4
10.1.1.2
Vlan2
10.1.1.2
Vlan2
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents