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