Step
3.
Configure static route
FRR.
Displaying and maintaining static routes
Execute display commands in any view.
Task
Display static route information.
Display static route next hop
information.
Display static routing table
information.
Static route configuration examples
Basic static route configuration example
Network requirements
Configure static routes on the switches in
Command
•
Method 1:
ip route-static dest-address { mask-length |
mask } interface-type interface-number
[ next-hop-address [ backup-interface
interface-type interface-number
[ backup-nexthop
backup-nexthop-address ] ] ] [ permanent ]
•
Method 2:
ip route-static vpn-instance
s-vpn-instance-name dest-address
{ mask-length | mask } interface-type
interface-number [ next-hop-address
[ backup-interface interface-type
interface-number [ backup-nexthop
backup-nexthop-address ] ] ] [ permanent ]
Command
display ip routing-table protocol static [ inactive | verbose ]
display route-static nib [ nib-id ] [ verbose ]
display route-static routing-table [ vpn-instance vpn-instance-name ]
[ ip-address { mask-length | mask } ]
Figure 2
for interconnections between any two hosts.
12
Remarks
Use either method.
By default, static route FRR is
not configured.