Configuring bfd for rip, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 66

Advertising
background image

52

# Configure a static route on Switch C.

[SwitchA] ip route-static 100.1.1.0 24 null 0

479B

Verifying the configuration

# Display BFD session information on Switch A.

<SwitchA> display bfd session

Total Session Num: 1 Up Session Num: 1 Init Mode: Active

IPv4 session working under Echo mode:

LD SourceAddr DestAddr State Holdtime Interface

3 192.168.2.1 192.168.2.2 Up 2000ms vlan100

# Display routes destined for 100.1.1.0/24 on Switch B.

<SwitchB> display ip routing-table 100.1.1.0 24 verbose

Summary Count : 1

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 1

SubProtID: 0x1 Age: 00h02m47s

Cost: 1 Preference: 100

Tag: 0 State: Active Adv

OrigTblID: 0x0 OrigVrf: default-vrf

TableID: 0x2 OrigAs: 0

NBRID: 0x12000002 LastAs: 0

AttrID: 0xffffffff Neighbor: 192.168.2.1

Flags: 0x1008c OrigNextHop: 192.168.2.1

Label: NULL RealNextHop: 192.168.2.1

BkLabel: NULL BkNextHop: N/A

Tunnel ID: Invalid Interface: vlan-interface 100

BkTunnel ID: Invalid BkInterface: N/A

# Display routes destined for 100.1.1.0/24 on Switch B when the link between Switch A and
Switch B fails.

<SwitchB> display ip routing-table 100.1.1.0 24 verbose

Summary Count : 1

Destination: 100.1.1.0/24

Protocol: RIP Process ID: 1

SubProtID: 0x1 Age: 00h21m23s

Cost: 4 Preference: 100

Tag: 0 State: Active Adv

OrigTblID: 0x0 OrigVrf: default-vrf

TableID: 0x2 OrigAs: 0

NBRID: 0x12000002 LastAs: 0

AttrID: 0xffffffff Neighbor: 192.168.3.2

Flags: 0x1008c OrigNextHop: 192.168.3.2

Advertising
This manual is related to the following products: