beautypg.com

Displaying and maintaining static routes – H3C Technologies H3C S7500E Series Switches User Manual

Page 30

background image

2-5

To do…

Use the command…

Remarks

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 ]

If route flaps occur, enabling BFD may worsen the route flaps. Therefore, enable BFD with care in such

cases.

The source address of echo packets must be configured if the BFD session operates in the echo

mode.

If you configure BFD for a static route, you need to specify the outbound interface and next hop IP

address for the route.

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

BFD can be used for static routes with direct nexthops rather than non-direct nexthops.

In the draft, the BFD echo function is revised to specify that a BFD session is established at only one

end when the echo mode is used.

Displaying and Maintaining Static Routes

To do…

Use the command…

Remarks

Display the current configuration

information

display current-configuration

Display the brief information of the

IP routing table

display ip routing-table

Display the detailed information of

the IP routing table

display ip routing-table verbose

View information of static routes

display ip routing-table protocol static [ inactive |

verbose ]

Available in any

view

Delete all the static routes

delete [ vpn-instance vpn-instance-name ]

static-routes all

Available In

system view