Network requirements – H3C Technologies H3C SecPath F1000-E User Manual

Page 392

Advertising
background image

367

Routing Tables: Public

Destinations : 8 Routes : 8

Destination/Mask Proto Pre Cost NextHop Interface

10.2.1.0/24 RIP 100 1 12.3.1.1 GE0/1

11.1.1.0/24 RIP 100 1 12.3.1.1 GE0/1

12.3.1.0/24 Direct 0 0 12.3.1.2 GE0/1

12.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0

16.4.1.0/24 Direct 0 0 16.4.1.1 GE0/2

16.4.1.1/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

4.

Configure a filtering policy for redistributed routes:
# On SecPath B, define ACL 2000 and reference it to a filtering policy to filter routes redistributed
from RIP 100, making the route not advertised to SecPath C.

[SecPathB] acl number 2000

[SecPathB-acl-basic-2000] rule deny source 10.2.1.1 0.0.0.255

[SecPathB-acl-basic-2000] rule permit

[SecPathB-acl-basic-2000] quit

[SecPathB] rip 200

[SecPathB-rip-200] filter-policy 2000 export rip 100

# Display the routing table on SecPath C.

[SecPathC] display ip routing-table

Routing Tables: Public

Destinations : 7 Routes : 7

Destination/Mask Proto Pre Cost NextHop Interface

11.1.1.0/24 RIP 100 1 12.3.1.1 GE0/1

12.3.1.0/24 Direct 0 0 12.3.1.2 GE0/1

12.3.1.2/32 Direct 0 0 127.0.0.1 InLoop0

16.4.1.0/24 Direct 0 0 16.4.1.1 GE0/2

16.4.1.1/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

Configuring an additional metric for a RIP interface at the CLI

Network requirements

As shown in

Figure 249

, RIPv2 is enabled on all the interfaces of Router A, Router B, Router C, Router D,

and SecPath. SecPath has two links to Router D. The link from Router B to Router D is more stable than that

from Router C to Router D.
Configure an additional metric for RIP routes received through GigabitEthernet 0/2 on SecPath so that

SecPath prefers the network 1.1.5.0/24 learned from Router B.

Advertising