Configuring An Additional Metric For A Rip Interface - H3C S5800 Series Configuration Manual

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

Advertisement

[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
Destinations : 7
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
As shown 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.
Figure 3-7 Network diagram for RIP interface additional metric configuration
Configuration procedure
1)
Configure IP addresses for the interfaces (omitted).
2)
Configure RIP basic functions.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] rip 1
[SwitchA-rip-1] network 1.0.0.0
[SwitchA-rip-1] version 2
Routes : 7
Proto Pre Cost
RIP
100 1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
NextHop
Interface
12.3.1.1
Vlan200
12.3.1.2
Vlan200
127.0.0.1
InLoop0
16.4.1.1
Vlan400
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
3-26

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820x series

Table of Contents