beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 398

background image

373

[RouterB] rip 1

[RouterB-rip-1] network 192.168.2.0

[RouterB-rip-1] network 192.168.3.0

[RouterB-rip-1] quit

# Configure Router C.

system-view

[RouterC] rip 1

[RouterC-rip-1] network 192.168.1.0

[RouterC-rip-1] network 192.168.3.0

[RouterC-rip-1] import-route static

[RouterC-rip-1] quit

2.

Configure the BFD parameters on GigabitEthernet 0/1 of SecPath A:

[SecPathA] bfd session init-mode active

[SecPathA] bfd echo-source-ip 11.11.11.11

[SecPathA] interface GigabitEthernet0/1

[SecPathA-GigabitEthernet0/1] bfd min-transmit-interval 500

[SecPathA-GigabitEthernet0/1] bfd min-receive-interval 500

[SecPathA-GigabitEthernet0/1] bfd detect-multiplier 7

[SecPathA-GigabitEthernet0/1] return

3.

Configure a static route on Router C:

[RouterC] ip route-static 100.1.1.1 24 null 0

4.

Verify the configuration:
# Display BFD sessions of SecPath A.

display bfd session

Total Session Num: 1 Init Mode: Active

Session Working Under Echo Mode:

LD SourceAddr DestAddr State Holdtime Interface

3 192.168.1.1 192.168.1.2 Up 2000ms GigabitEthernet0/1

# Display the RIP route 100.1.1.0/24 learned on SecPath A.

display ip routing-table 100.1.1.0 24 verbose

Routing Table : Public

Summary Count : 2

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 1

Preference: 100 Cost: 1

IpPrecedence: QosLcId:

NextHop: 192.168.1.2 Interface: GigabitEthernet0/1

BkNextHop: 0.0.0.0 BkInterface:

RelyNextHop: 0.0.0.0 Neighbor : 192.168.1.2

Tunnel ID: 0x0 Label: NULL

BKTunnel ID: 0x0 BKLabel: NULL

State: Active Adv Age: 00h00m47s

Tag: 0

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 2

Preference: 100 Cost: 2

IpPrecedence: QosLcId: