Field
DbIndex
Type
BfdSrcIp
BfdIfIndex
BfdVrfIndex
BfdMode
TrackIndex
vrfIndexDst
vrfIndexNH
Permanent
ip route-static
Use ip route-static to configure a static route.
Use undo ip route-static to delete a static route.
Syntax
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 ] | bfd { control-packet | echo-packet } | permanent ] | next-hop-address [ bfd
control-packet bfd-source ip-address | permanent | track track-entry-number ] | vpn-instance
d-vpn-instance-name next-hop-address [ bfd control-packet bfd-source ip-address | permanent | track
track-entry-number ] } [ preference preference-value ] [ tag tag-value ] [ description description-text ]
undo ip route-static dest-address { mask-length | mask } [ interface-type interface-number
[ next-hop-address ] | next-hop-address | vpn-instance d-vpn-instance-name next-hop-address ]
[ preference preference-value ]
ip route-static vpn-instance s-vpn-instance-name dest-address { mask-length | mask } { interface-type
interface-number
[ backup-nexthop backup-nexthop-address ] [ permanent ] | bfd { control-packet | echo-packet } |
permanent ] | next-hop-address [ public ] [ bfd control-packet bfd-source ip-address | permanent |
track track-entry-number ] | vpn-instance d-vpn-instance-name next-hop-address [ bfd control-packet
bfd-source ip-address | permanent | track track-entry-number ] } [ preference preference-value ] [ tag
tag-value ] [ description description-text ]
undo ip route-static vpn-instance s-vpn-instance-name dest-address { mask-length | mask }
[ interface-type interface-number [ next-hop-address ] | next-hop-address [ public ] | vpn-instance
d-vpn-instance-name next-hop-address ] [ preference preference-value ]
[
next-hop-address
Description
Index of the database to which the route belongs.
Route type:
•
Normal.
•
DHCP.
•
NAT.
Source IP address of the indirect BFD session.
Index of the interface where BFD is enabled.
Index of the VPN instance where BFD is enabled.
BFD session mode:
•
N/A—No BFD session is configured.
•
Ctrl—Control packet mode
•
Echo—Echo packet mode.
NQA Track index.
Index of the destination VPN.
Index of the VPN to which the next hop belongs.
Permanent static route flag. 1 indicates a permanent static route.
]
[
backup-interface
49
interface-type
interface-number