R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
15
Ste
p
Command
Remarks
3. Enable BFD echo packet
mode for static route FRR.
ip route-static primary-path-detect
bfd echo
By default, BFD echo mode for
static route FRR is disabled.
Displaying and maintaining static routes
Execute display commands in any view.
Task Command
Display static route information. display ip routing-table protocol static [ inactive | verbose ]
Display static route next hop
information.
display route-static nib [ nib-id ] [ verbose ]
Display static routing table
information.
display route-static routing-table [ topology topo-name | vpn-instance
vpn-instance-name ] [ ip-address { mask-length | mask } ]
Static route configuration examples
Basic static route configuration example
Network requirements
As shown in Figure 2, configure static routes on the routers for interconnections between any two hosts.
Figure 2 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure static routes:
# Configure a default route on Router A.
<RouterA> system-view
[RouterA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2
# Configure two static routes on Router B.