beautypg.com

Single-hop echo mode – H3C Technologies H3C S12500-X Series Switches User Manual

Page 24

background image

10

Step Command

Remarks

2.

Configure BFD

control mode for a
static route.

Method 1:
ip route-static dest-address { mask-length | mask }

{ next-hop-address bfd control-packet bfd-source

ip-address | vpn-instance d-vpn-instance-name
next-hop-address bfd control-packet bfd-source

ip-address } [ preference preference-value ] [ tag

tag-value ] [ description description-text ]

Method 2:

ip route-static vpn-instance s-vpn-instance-name

dest-address { mask-length | mask }
{ next-hop-address bfd control-packet bfd-source

ip-address | vpn-instance d-vpn-instance-name

next-hop-address bfd control-packet bfd-source
ip-address } [ preference preference-value ] [ tag

tag-value ] [ description description-text ]

Use either method.
By default, BFD control

mode for a static route is
not configured.

133B

Single-hop echo mode

With BFD echo mode enabled for a static route, the output interface sends BFD echo packets to the
destination device, which loops the packets back to test the link reachability.

IMPORTANT:

Do not use BFD for a static route with the output interface in spoofing state.

To configure BFD echo mode for a static route:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the source

address of echo
packets.

bfd echo-source-ip ip-address

By default, the source

address of echo packets is
not configured.
For more information about
this command, see High

Availability Command
Reference
.

3.

Configure BFD echo
mode for a static

route.

Method 1:
ip route-static dest-address { mask-length |

mask } interface-type interface-number

next-hop-address bfd echo-packet [ preference

preference-value ] [ tag tag-value ] [ description
description-text ]

Method 2:

ip route-static vpn-instance
s-vpn-instance-name dest-address { mask-length

| mask } interface-type interface-number

next-hop-address bfd echo-packet [ preference
preference-value ] [ tag tag-value ] [ description

description-text ]

Use either method.
By default, BFD echo mode
for a static route is not

configured.

This manual is related to the following products: