beautypg.com

Bfd echo packet mode, Displaying and maintaining static routes – H3C Technologies H3C SecPath F1000-E User Manual

Page 364

background image

339

BFD echo packet mode

With BFD echo packet mode enabled for a static route, the local device sends BFD echo packets to the

peer, which loops it back to test the link.

IMPORTANT:

Enabling BFD for a flapping route could worsen the situation.

For the echo mode, only one end needs to establish the BFD session, and the source address of echo
packets must be configured.

BFD cannot be used for a static route with the outbound interface having the spoofing attribute.

To configure BFD echo packet mode for static routes:

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

Not configured by
default.

3.

Enable BFD echo
packet mode for

static routes.

Approach 1:

ip route-static dest-address { mask | mask-length }

interface-type interface-number next-hop-address bfd
echo-packet [ preference preference-value ] [ tag

tag-value ] [ description description-text ]

Approach 2:

ip route-static vpn-instance

s-vpn-instance-name&<1-6> dest-address { mask |

mask-length } interface-type interface-number
next-hop-address
bfd echo-packet [ preference

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

description-text ]

Use either approach.

Displaying and maintaining static routes

Task Command

Remarks

Display information of static
routes.

display ip routing-table protocol static [ inactive |
verbose ] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Delete all the static routes.

delete [ vpn-instance vpn-instance-name ]
static-routes all

Available in
system view

For more information about the display ip routing-table protocol static [ inactive | verbose ] [ | { begin

| exclude | include } regular-expression ] command, see Network Management Command Reference.