HP HPE FlexNetwork 7500 series Configuration Manual page 57

Table of Contents

Advertisement

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, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
D - Direct, O - Optimal, F - Flush to RIB
----------------------------------------------------------------------------
Peer 1.1.1.1 on Vlan-interface100
Destination/Mask
2.1.1.0/24
3.1.1.0/24
Local route
Destination/Mask
1.1.1.0/24
10.1.1.0/24
10.2.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 2.1.1.0 24
[SwitchB] ip prefix-list bbb index 10 deny 10.2.1.0 24
[SwitchB] ip prefix-list bbb index 11 permit 0.0.0.0 0 less-equal 32
[SwitchB] rip 1
[SwitchB-rip-1] filter-policy prefix-list aaa import
[SwitchB-rip-1] filter-policy prefix-list bbb export
[SwitchB-rip-1] quit
# Display the RIP routing table on Switch A.
[SwitchA] display rip 100 route
Route Flags: R - RIP, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 1.1.1.2 on Vlan-interface100
Destination/Mask
10.1.1.0/24
Local route
Destination/Mask
1.1.1.0/24
2.1.1.0/24
3.1.1.0/24
# Display the RIP routing table on Switch B.
[SwitchB] display rip 1 route
Route Flags: R - RIP, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
D - Direct, O - Optimal, F - Flush to RIB
----------------------------------------------------------------------------
Nexthop
Cost
192.168.1.3
1
192.168.1.3
1
Nexthop
Cost
0.0.0.0
0
0.0.0.0
0
0.0.0.0
0
Nexthop
Cost
1.1.1.2
1
Nexthop
Cost
0.0.0.0
0
0.0.0.0
0
0.0.0.0
0
45
Tag
Flags
Sec
0
RAOF
19
0
RAOF
19
Tag
Flags
Sec
0
RDOF
-
0
RDOF
-
0
RDOF
-
Tag
Flags
Sec
0
RAOF
19
Tag
Flags
Sec
0
RDOF
-
0
RDOF
-
0
RDOF
-

Advertisement

Table of Contents
loading

Table of Contents