HP 6125XLG Configuration Manual page 46

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

----------------------------------------------------------------------------
Peer 192.168.1.2
Destination/Mask
10.0.0.0/8
The output shows that RIPv1 uses a natural mask.
3.
Configure a RIP version:
# Configure RIPv2 on Switch A.
[SwitchA] rip
[SwitchA-rip-1] version 2
[SwitchA-rip-1] undo summary
[SwitchA-rip-1] quit
# Configure RIPv2 on Switch B.
[SwitchB] rip
[SwitchB-rip-1] version 2
[SwitchB-rip-1] undo summary
[SwitchB-rip-1] quit
# Display the RIP routing table on Switch A.
[SwitchA] display rip 1 route
Route Flags: R - RIP
A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 192.168.1.2 on Vlan-interface100
Destination/Mask
10.0.0.0/8
10.2.1.0/24
10.1.1.0/24
The output shows that RIPv2 uses classless subnet masks.
NOTE:
After RIPv2 is configured, RIPv1 routes might still exist in the routing table until they are aged out.
# Display the RIP routing table on Switch B.
[SwitchB] display rip 1 route
Route Flags: R - RIP
A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 192.168.1.3 on Vlan-interface100
Destination/Mask
172.16.1.0/24
172.17.1.0/24
4.
Configure route filtering:
# Reference IP prefix lists on Switch B to filter received and redistributed routes.
[SwitchB] ip prefix-list aaa index 10 permit 172.16.1.0 24
[SwitchB] ip prefix-list bbb index 10 permit 10.1.1.0 24
[SwitchB] rip 1
[SwitchB-rip-1] filter-policy prefix-list aaa import
on Vlan-interface100
Nexthop
192.168.1.2
Nexthop
192.168.1.2
192.168.1.2
192.168.1.2
Nexthop
192.168.1.3
192.168.1.3
35
Cost
Tag
Flags
1
0
RA
Cost
Tag
Flags
1
0
RA
1
0
RA
1
0
RA
Cost
Tag
Flags
1
0
RA
1
0
RA
Sec
11
Sec
50
16
16
Sec
19
19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents