show ip

Prev Next

Displays all static and dynamic routes in the routing table, only the static routes, or only the active or static default gateway.

Syntax

show ip {route [static] | default-gateway [static] | dhcp}

Parameters

route [static]

Displays all static and dynamic IP routes, or only static routes.

default-gateway [static]

Displays the active default gateway, or the manually-defined (static) default gateway.

dhcp

Displays DHCP-related configuration information.

Example

The following example shows all IP routes.

hostname # show ip route
Destination      Mask           Gateway          Interface       Source
default          0.0.0.0        172.16.1.1       ether1          static
172.16.0.0       255.240.0.0    0.0.0.0          ether1          interface         

Supported appliances

This command was released as follows:

  • Endpoint Security (HX): Release 2.5

  • Network Security: Release 9.0