Static Routing Operational Commands
Show Commands
Static Routes Created by staticd
These commands show static routes as created by the static route daemon (staticd).
Syntax:
| Attribute | Description |
|---|---|
|
Static routes for an instance |
|
Configures an IPv4 static route. |
|
Configures an IPv6 static route. |
|
Configures an MPLS static route. |
|
Specifies the SAFI for the static route. |
Example: List static routes for all instances
supervisor@rtbrick: op> show static route
Instance: default, AFI: ipv4, SAFI: unicast
Prefix/Label Pref Next Hop Interface
198.51.100.11/32 2 192.0.2.2 ifl-0/1/20/0
198.51.100.12/32 2 192.0.2.2 ifl-0/1/20/0
198.51.100.13/32 2 192.0.2.2 ifl-0/1/20/0
Instance: default, AFI: mpls, SAFI: unicast
Prefix/Label Pref Next Hop Interface
20001,bos:1 2 192.0.2.2 ifl-0/1/20/0
20003,bos:1 2 192.0.2.2 ifl-0/1/20/0
20005,bos:1 2 192.0.2.2 ifl-0/1/20/0
Static Conditional-profile Request/Response
The commands below can be used to retrieve and display static conditional-profile request and response data.
Syntax:
| Parameter | Description |
|---|---|
|
Displays the Static Conditional-profile Request data for the specified conditional profile. |
|
Displays the Static Conditional-profile Response data for the specified conditional profile. |
Examples:
The following output shows the static conditional-profile request data for all configured conditional profiles.
supervisor@rtbrick.net: cfg> show static conditional-profile request Conditional profile name: backbone_v4 Match instance: vrf1-blue Match AFI: ipv4 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv4.unicast Destination instance: vrf1-blue Conditional profile name: backbone_v6 Match instance: vrf1-blue Match AFI: ipv6 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv6.unicast Destination instance: vrf1-blue
The following output shows the static conditional-profile response data for all configured conditional profiles.
supervisor@rtbrick.net: cfg> show static conditional-profile response Conditional profile name: backbone_v4 Match instance: vrf1-blue Match AFI: ipv4 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv4.unicast Condition result: True Condition holddown: False Holddown start time: 2026-09-19T05:07:17.404248+0000 Last event time: 2026-09-19T05:07:17.404248+0000 Holddown event count: 1 Backoff interval: 50 Backoff timer user handle: 0 Destination instance: vrf1-blue Conditional profile name: backbone_v6 Match instance: vrf1-blue Match AFI: ipv6 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv6.unicast Condition result: True Condition holddown: False Holddown start time: 2026-09-19T05:07:17.404256+0000 Last event time: 2026-09-19T05:07:17.404256+0000 Holddown event count: 1 Backoff interval: 50 Backoff timer user handle: 0 Destination instance: vrf1-blue
The following output shows the static conditional-profile request data for the specified conditional profile 'backbone_v4'.
supervisor@rtbrick.net: cfg> show static conditional-profile backbone_v4 request Conditional profile name: backbone_v4 Match instance: vrf1-blue Match AFI: ipv4 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv4.unicast Destination instance: vrf1-blue
The following output shows the static conditional-profile response data for the specified conditional profile 'backbone_v4'.
supervisor@rtbrick.net: cfg> show static conditional-profile backbone_v4 response Conditional profile name: backbone_v4 Match instance: vrf1-blue Match AFI: ipv4 Match SAFI: unicast Compare type: route-count Compare operation: greater-than Compare value: 5 Condition response table name: global.static.1.condition.response Compare table name: vrf1-blue.ribd.fib-local.ipv4.unicast Condition result: True Condition holddown: False Holddown start time: 2026-09-19T05:07:17.404248+0000 Last event time: 2026-09-19T05:07:17.404248+0000 Holddown event count: 1 Backoff interval: 50 Backoff timer user handle: 0 Destination instance: vrf1-blue
Static Routes in the Routing Table
These commands show the static routes included in the final routing table.
Syntax:
| Attribute | Description |
|---|---|
|
Supported AFIs are ipv4, ipv6, and mpls. |
|
Supported SAFIs are unicast, labeled-unicast, and multicast. |
|
Detailed route information |
|
Routing table information for a specific instance |
|
Destination label |
|
Destination prefix |
|
Source of the routing information |
|
Summary of the routing information |
|
Platform-specific information |
|
Exact match of the routing information. |
Example 1: List static routes information
supervisor@rtbrick: op> show route ipv4 source static
Flags: & - Imported
Instance: default, AFI: ipv4, SAFI: unicast
Flags Prefix/Label Source Pref Next Hop Outgoing Interface
198.51.100.11/32 static 2 192.0.2.2 ifl-0/1/20/0
198.51.100.12/32 static 2 192.0.2.2 ifl-0/1/20/0
198.51.100.13/32 static 2 192.0.2.2 ifl-0/1/20/0
Example 2: List detailed static routes information
supervisor@rtbrick: op> show route ipv4 source static detail
Instance: default, AFI: ipv4, SAFI: unicast
Prefix: 198.51.100.11/32
Source: static, Preference: 2
Next Hop: 192.0.2.2
Covering prefix: 192.0.2.2/32
Next Hop type: direct, Next Hop action: None
Resolved in: default-ipv4-unicast(Primary)
Outgoing Interface: ifl-0/1/20/0, NextHop MAC: 5c:07:58:79:0a:17
Prefix: 198.51.100.12/32
Source: static, Preference: 2
Next Hop: 192.0.2.2
Covering prefix: 192.0.2.2/32
Next Hop type: direct, Next Hop action: None
Resolved in: default-ipv4-unicast(Primary)
Outgoing Interface: ifl-0/1/20/0, NextHop MAC: 5c:07:58:79:0a:17
Prefix: 198.51.100.13/32
Source: static, Preference: 2
Next Hop: 192.0.2.2
Covering prefix: 192.0.2.2/32
Next Hop type: direct, Next Hop action: None
Resolved in: default-ipv4-unicast(Primary)
Outgoing Interface: ifl-0/1/20/0, NextHop MAC: 5c:07:58:79:0a:17
Example 3: List MPLS route information
supervisor@rtbrick: op> show route mpls
Flags: & - Imported
Instance: default, AFI: mpls, SAFI: unicast
Flags Prefix/Label Source Pref Next Hop Outgoing Interface
20001,bos:1 static 2 192.0.2.2 ifl-0/1/20/0
20003,bos:1 static 2 192.0.2.2 ifl-0/1/20/0
20005,bos:1 static 2 192.0.2.2 ifl-0/1/20/0