Displaying and maintaining static routes, Static route configuration examples, Basic static route configuration example – H3C Technologies H3C SR8800 User Manual

Page 29: Network requirements

Advertising
background image

13

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.

Configure static route FRR.

ip route-static [ vpn-instance
vpn-instance-name ] fast-reroute

route-policy route-policy-name

Not configured by default

NOTE:

Static route FRR takes effect only for static routes that have both the outbound interface and next hop
specified.

Do not use FRR and BFD at the same time.

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

NOTE:

For more information about the display ip routing-table protocol static

[ inactive | verbose ] [ | { begin

| exclude | include }

regular-expression ] command, see the chapter “IP routing basics configuration

commands.”

Static route configuration examples

Basic static route configuration example

Network requirements

The routers’ interfaces and the hosts’ IP addresses and masks are shown in

Figure 2

. Static routes are

required for interconnections between any two hosts.

Advertising