Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring the Status of IP Static Routes in the Routing Table

    Purpose

    Display the status of static routes in the routing table.

    Note: You can specify an IP mask that filters specific routes.

    Action

    To display the status of static routes in the routing table:

    host1#show ip static
    Prefix/Length      Next Hop         Dst/Met  Tag    Intf              Verify     ICMP Unreach
    1.1.1.2/32         1.1.1.2           1/0     0     FastEthernet4/0    2 up       
    1.1.1.2/32         1.1.1.2           1/0     0     FastEthernet4/1               
    10.10.133.17/32    10.6.128.1        1/1     0     unresolved         1 down     
    11.11.11.11/32     3.3.3.3           1/0     0     unresolved         1 down(lr)            
    100.1.1.0/24       255.255.255.255   1/0     0     null0                           Discard 
    100.10.1.0/24      255.255.255.255   1/0     0     null0                           Reject
    

    Meaning

    Table 1 lists the show ip static command output fields.

    Table 1: show ip static Output Fields

    Field Name

    Field Description

    Prefix

    IP address prefix

    Length

    Prefix length

    Next Hop

    IP address of the next hop

    Dst

    Administrative distance of the route

    Met

    Number of hops

    Tag

    Tag value of the route

    Intf

    Interface type and interface specifier

    Verify

    Status of the RTR or BFD operation associated with the specified static route; this field is blank if the verify (BFD) or verify rtr (RTR) keywords were not specified as part of the ip route command. The display can include the following:

    • BFD up/down—Current status of the associated BFD operation
    • operation number—Number of the associated RTR operation
    • up/down—Current status of the associated RTR operation
    • (lr)—Indicates that although the associated RTR operation is currently down, the router installs this route in the routing table, provided that no other static route to the same network prefix is available; this field appears for an RTR operation that is down when the last-resort keyword is specified as part of the ip route verify rtr command

    ICMP Unreach

    Indicates whether the transmission of ICMP unreachable messages to the originator is enabled for packets that are discarded from processing on each interface configured with a static route:

    • reject—ICMP unreachable messages are sent to the originator for packets that are received on the static route configured on the interface and are dropped from processing (the reject keyword is specified with the ip route command).
    • discard—ICMP unreachable messages are not sent to the originator for packets that are received on the static route configured on the interface and are dropped from processing (the discard keyword is specified with the ip route command or the default mode of the ip route command is in effect).

    Published: 2014-08-13