Controlling Rip Packet Cost To Implement Dynamic Route Backup - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

# Configure a routing policy.
[SwitchA] route-policy ospf permit node 10
[SwitchA-route-policy] if-match acl 2000
[SwitchA-route-policy] quit
# Apply routing policy when the static routes are imported.
[SwitchA] ospf
[SwitchA-ospf-1] import-route static route-policy ospf
Configure Switch B:
# Configure the IP address of the interface.
<SwitchB> system-view
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ip address 10.0.0.2 255.0.0.0
[SwitchB-Vlan-interface100] quit
# Enable the OSPF protocol and specify the ID of the area to which the interface belongs.
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
Display the OSPF routing table on Switch B and check if routing policy takes effect.
<SwitchB> display ospf routing
OSPF Process 1 with Router ID 2.2.2.2
Routing for Network
Destination
10.0.0.0/8
Routing for ASEs
Destination
20.0.0.0/8
40.0.0.0/8
Total Nets: 3
Intra Area: 1

Controlling RIP Packet Cost to Implement Dynamic Route Backup

Network requirements
The required speed of convergence in the small network of a company is not high. The network
provides two services. Main and backup links are provided for each service for the purpose of reliability.
The main link of one service serves as the backup link of the other. The two services are distinguished
by IP addresses. If a fault occurs to the main link of one service, dynamic backup can prevent service
interruption.
Routing Tables
Cost
Type
1
Transit
Cost
Type
1
Type2
1
Type2
Inter Area: 0
ASE: 2
NextHop
AdvRouter
10.0.0.2
1.1.1.1
Tag
NextHop
1
10.0.0.1
1
10.0.0.1
NSSA: 0
6-9
Area
0.0.0.0
AdvRouter
1.1.1.1
1.1.1.1

Advertisement

Table of Contents
loading

Table of Contents