Configuring An Additional Metric For A Rip Interface - HP 6125G Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

[SwitchB-rip-200] import-route direct
[SwitchB-rip-200] quit
# Display the routing table of Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destination/Mask
10.2.1.0/24
11.1.1.0/24
12.3.1.0/24
12.3.1.2/32
16.4.1.0/24
16.4.1.1/32
127.0.0.0/8
127.0.0.1/32
Configure an filtering policy to filter redistributed routes:
4.
# Define ACL 2000 and reference it to a filtering policy to filter routes redistributed from RIP 100
on Switch B, making the route not advertised to Switch C.
[SwitchB] acl number 2000
[SwitchB-acl-basic-2000] rule deny source 10.2.1.1 0.0.0.255
[SwitchB-acl-basic-2000] rule permit
[SwitchB-acl-basic-2000] quit
[SwitchB] rip 200
[SwitchB-rip-200] filter-policy 2000 export rip 100
# Display the routing table of Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destination/Mask
11.1.1.0/24
12.3.1.0/24
12.3.1.2/32
16.4.1.0/24
16.4.1.1/32
127.0.0.0/8
127.0.0.1/32

Configuring an additional metric for a RIP interface

Network requirements
In the following figure, RIP is enabled on all the interfaces of Switch A, Switch B, Switch C, Switch D, and
Switch E. The switches are interconnected through RIPv2.
Switch A has two links to Switch D. The link from Switch B to Switch D is more stable than that from Switch
C to Switch D. Configure an additional metric for RIP routes received through VLAN-interface 200 on
Switch A so that Switch A prefers the 1.1.5.0/24 network learned from Switch B.
Destinations : 8
Proto
Pre
RIP
100
RIP
100
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Destinations : 7
Proto
Pre
RIP
100
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
Routes : 8
Cost
NextHop
1
12.3.1.1
1
12.3.1.1
0
12.3.1.2
0
127.0.0.1
0
16.4.1.1
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
Routes : 7
Cost
NextHop
1
12.3.1.1
0
12.3.1.2
0
127.0.0.1
0
16.4.1.1
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
36
Interface
Vlan200
Vlan200
Vlan200
InLoop0
Vlan400
InLoop0
InLoop0
InLoop0
Interface
Vlan200
Vlan200
InLoop0
Vlan400
InLoop0
InLoop0
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents