: dump routing static-route config
Focus
Focus

dump routing static-route config

Table of Contents

dump routing static-route config

Use the dump routing static-route config command to display details such as destination prefix, route ID, scope, next hop reachability probe status, and admin distance of next hops for static routes configured.

Command

dump routing static-route config (all | destination-prefix= destination prefix ID | vrf-name= vrf name)

Options

allEnter all to display all static routes configured.
vrf-nameEnter the vrf name to display reachability status for the next hop for that vrf name. Release 6.3.1
destination-prefixEnter the destination prefix to display the static route configured for the destination prefix.

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced in Release 5.5.1

Example

dump routing static-route config destination-prefix=10.9.13.104/32 Destination Prefix : 10.9.13.104/32 Route ID : 16091314861720105 Scope : local Nexthop reachability probe : True +-----------------+----------------+-------------------+ | Nexthop | Admin Distance | Interface ID | +-----------------+----------------+-------------------+ | 10.144.11.23 | 2 | - | +-----------------+----------------+-------------------+ dump routing cache staticroute Route mgr Cache Info: ===================== Static Routes ++++++++++++++++ { "1649675818894024328": { "address_family": "ipv6", "_etag": 3, "scope": "local", "destination_prefix": "2030::/96", "nexthop_reachability_probe": false, "id": "1649675818894024328", "nexthops": [ { "nexthop_interface_id": "", "nexthop_ip": "2008::33", "self": false, "admin_distance": 1 } ] }, "1648629254536014028": { "address_family": "ipv4", "_etag": 9, "scope": "local", "destination_prefix": "16.16.0.0/24", "nexthop_reachability_probe": false, "id": "1648629254536014028", "nexthops": [ { "nexthop_interface_id": "", "nexthop_ip": "21.168.2.1", "self": false, "admin_distance": 1 } ] } } --------------------------
dump routing static-route config all Destination Prefix : 222.222.222.29/32 Route ID : 1693764139556012596 Scope : global Vrf Context ID : 1692293763109009696 Vni : 326 Nexthop reachability probe : False +------------------------------------------+----------------+-------------------+ | Nexthop | Admin Distance | Interface ID | +------------------------------------------+----------------+-------------------+ | 99.99.2.2 | 1 | - | +------------------------------------------+----------------+-------------------+ dump routing peer static-route config vrf-name=Global Destination Prefix : 1.1.1.0/24 Route ID : 1696410072329018228 Scope : local Vrf Context ID : 1688365522034014928 Vni : 0 Vrf Name : Global Nexthop reachability probe : False +------------------------------------------+----------------+-------------------+ | Nexthop | Admin Distance | Interface ID | +------------------------------------------+----------------+-------------------+ | 1.1.1.1 | 1 | - | +------------------------------------------+----------------+-------------------+