HPE 5800 Series Configuration Manual page 53

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
Configure RIP basic functions:
3.
# Configure Switch C.
[SwitchC] rip 1
[SwitchC-rip-1] network 11.3.1.0
[SwitchC-rip-1] version 2
[SwitchC-rip-1] undo summary
# Configure Switch D.
<SwitchD> system-view
[SwitchD] rip 1
[SwitchD-rip-1] network 11.0.0.0
[SwitchD-rip-1] version 2
[SwitchD-rip-1] undo summary
[SwitchD-rip-1] quit
# Configure RIP to redistribute the routes from OSPF process 1 and direct routes on Switch C.
[SwitchC-rip-1] import-route direct
[SwitchC-rip-1] import-route ospf 1
[SwitchC-rip-1] quit
# Display the routing table on Switch D.
[SwitchD] display ip routing-table
Routing Tables: Public
Destinations : 10
Destination/Mask
10.1.1.0/24
10.2.1.0/24
10.5.1.0/24
10.6.1.0/24
11.3.1.0/24
11.3.1.2/32
11.4.1.0/24
11.4.1.2/32
127.0.0.0/8
127.0.0.1/32
Configure route summarization:
4.
# Configure route summarization on Switch C to advertise a single route 10.0.0.0/8.
[SwitchC] interface vlan-interface 300
[SwitchC-Vlan-interface300] rip summary-address 10.0.0.0 8
# Display the routing table on Switch D.
[SwitchD] display ip routing-table
Routing Tables: Public
Routes : 10
Proto
Pre
Cost
RIP
100
1
RIP
100
1
RIP
100
1
RIP
100
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
42
NextHop
Interface
11.3.1.1
Vlan300
11.3.1.1
Vlan300
11.3.1.1
Vlan300
11.3.1.1
Vlan300
11.3.1.2
Vlan300
127.0.0.1
InLoop0
11.4.1.2
Vlan400
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents