ip

Displays IP related information

Supported on the following devices:

Syntax

show ip [arp|bgp|ddns|default-gateways|dhcp|dhcp-vendor-options|domain-name|
extcommunity-list|igmp|interface|name-server|nat|ospf|route|routing]
show ip arp {<VLAN-NAME>} {(on <DEVICE-NAME>)}
show ip bgp {<IP>|<IP/M>|community|community-list|filter-list|neighbors|
on|paths|prefix-list|regexp|route-map|state|summary}
show ip ddns bindings {on <DEVICE-NAME>}
show ip dhcp [binding|networks|status]
show ip dhcp binding {manual} {(on <DEVICE-NAME>)}
show ip dhcp [networks|status] {on <DEVICE-NAME>}
show ip [default-gateways|dhcp-vendor-options|domain-name|name-server|routing] 
{on <DEVICE-NAME>}
show ip extcommunity-list [<1-500>|<NAME>]
show ip igmp snooping [mrouter|querier|vlan]
show ip igmp snooping [mrouter|querier] vlan <1-4095> {on <DEVICE-NAME>}
show ip igmp snooping vlan <1-4095> {<IP>} {(on <DEVICE-NAME>)}
show ip interface {<INTERFACE-NAME>|brief|on}
show ip interface {<INTERFACE-NAME>|brief} {(on <DEVICE-NAME>)}
show ip nat translations verbose {on <DEVICE-NAME>}
show ip route {<INTERFACE-NAME>|ge|me1|on|port-channel|pppoe1|vlan|wwan1}
show ip route {<INTERFACE-NAME>|ge <1-4>|me1|port-channel <1-2>|vlan <1-4094>|
pppoe1|wwan1} {(on <DEVICE-NAME>)}
show ip ospf {border-router|interface|neighbor|on|route|state}
show ip ospf {border-router|neighbor|route|on|state} {on <DEVICE-NAME>}
show ip ospf {interface} {vlan|on}
show ip ospf {interface} {vlan <1-4094>} {(on <DEVICE-NAME>)}
Note

Note

The show > ip > ospf command is also available under the ‘profile' and ‘device' modes.

Parameters

show ip arp {<VLAN-NAME>} {(on <DEVICE-NAME>)}
ip arp Displays Address Resolution Protocol (ARP) mappings
<VLAN-NAME> Optional. Displays ARP mapping on a specified VLAN. Specify the VLAN name.
on <DEVICE-NAME> The following keyword is recursive and common to the ‘vlan-name' parameter:
  • on <DEVICE-NAME> – Optional. Displays ARP configuration details on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip bgp {<IP>|<IP/M>|community|community-list|filter-list|neighbors|on|
paths|prefix-list|regexp|route-map|state|summary}
ip bgp Displays BGP routing table statistics based on the match criteria specified here. Routes matching the specified criteria are filtered. Use available options to filter the information displayed.

This command is applicable to the RFS 4000, NX 95XX, and NX 96XX model devices.

<IP> Optional. Filters routes matching the specified IP address
<IP/M> Optional. Filters routes matching the specified network
community Optional. Filters routes based on the community attribute specified. The options are:
  • AA:NN – Filters routes based on the community number (AA: is the autonomous system number (ASN), NN: is the community number within the specified ASN)
  • local-as – Filters routes carrying the local-as attribute (these routes are not sent outside the local AS)
  • no-advertise – Filters routes carrying the no-advertise attribute (these routes are not advertised to any peers)
  • no-export – Filters routes carrying no-export attribute (these routes are not exported to next AS)
community-list Optional. Displays routes that are members of communities included in the specified BGP community-list
  • <1-500> – Specify the community-list number.
  • <WORD> – Specify the community-list name.
filter-list Optional. Filters routes having AS-path matching the specified AS-path access list. Specify the AS-path ACL name.
neighbors Optional. Displays BGP neighbor details. Specify the IP address, to view a specific neighbor details. Use one of the following options to filter information:
  • advertised-routes – Displays route information for routes advertised to the selected neighbor device
  • received-routes – Displays route information for routes received from the selected neighbor device
  • routes – Displays the route information for routes learned from the selected neighbor device

If no neighbor IP address is specified, the system displays all neighbor-related routes on the logged device.

on <DEVICE-NAME> Optional. Displays BGP routing table statistics on a specified device
  • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
paths Optional. Displays BGP path details
prefix-list <PREFIX-LIST-NAME> Optional. Displays routes confirming to the specified prefix-list
  • <PREFIX-LIST-NAME> – Specify the prefix list name.
regexp <LINE> Optional. Displays routes matching the specified AS path regular expression
  • <LINE> – Specify the regular expression.
route-map <ROUTE-MAP-NAME> Optional. Displays routes matching the specified route map
  • <ROUTE-MAP-NAME> – Specify the route map name.
show ip ddns bindings {on <DEVICE-NAME>}
ip ddns Displays Dynamic Domain Name Server (DDNS) configuration details
bindings {on <DEVICE-NAME>} Displays DDNS address bindings
  • on <DEVICE-NAME> – Optional. Displays address bindings on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip dhcp [networks|status] {on <DEVICE-NAME>}
ip dhcp Displays the DHCP server configuration details
networks Displays DHCP server network details
status Displays DHCP server status
on <DEVICE-NAME> The following keyword is common to all of the above parameters:
  • on <DEVICE-NAME> – Optional. Displays server status and network details on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip dhcp binding {manual} {(on <DEVICE-NAME>)}
ip dhcp Displays the DHCP server configuration details
bindings Displays DHCP address bindings
manual Displays static DHCP address bindings
on <DEVICE-NAME> The following keyword is recursive and common to the ‘manual' parameter:
  • on <DEVICE-NAME> – Optional. Displays DHCP address bindings on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip extcommunity-list [<1-500>|<NAME>]
ip extcommunity-list [<1-500>|<NAME>] Displays the specified extended community list details
  • <1-500> – Specify the extended community number from 1 - 500.
  • <NAME> – Specify the extended community name.

This command is applicable to the RFS 4000, NX 95XX, and NX 96XX model devices.

show ip [default-gateways|dhcp-vendor-options|domain-name|name-server|routing] 
{on <DEVICE-NAME>}
ip default-gateways Displays all learnt default gateways
ip dhcp-vendor-options Displays DHCP 43 parameters received from the DHCP server. This output includes the interface from which the option was learned.
ip domain-name Displays the DNS default domain
ip name-server Displays the DNS name server details
ip routing Displays routing status
on <DEVICE-NAME> The following keywords are common to all of the above parameters:
  • on <DEVICE-NAME> – Optional. Displays IP related information, based on the parameters passed, on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip igmp snooping [mrouter|querier] vlan <1-4095> {on <DEVICE-NAME>}
ip igmp snooping Displays the IGMP snooping configuration
mrouter Displays the IGMP snooping multicast router (mrouter) configuration
querier Displays the IGMP snooping multicast querier configuration
vlan <1-4095> {on <DEVICE-NAME>} Displays the IGMP snooping multicast router configuration for a VLAN
  • <1-4095> – Specify the VLAN ID from 1 - 4095.
    • on <DEVICE-NAME> – Optional. Displays the IGMP snooping mrouter configuration on a specified device
      • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip igmp snooping vlan <1-4095> {<IP>} {(on <DEVICE-NAME>)}
ip igmp snooping Displays the IGMP snooping configuration
vlan <1-4095> Displays the VLAN IGMP snooping configuration
  • <1-4095> – Specify the VLAN ID from 1 - 4095.
<IP> Optional. Specifies the multicast group IP address
on <DEVICE-NAME> The following keyword is recursive and common to the ‘ip' parameter:
  • on <DEVICE-NAME> – Optional. Displays configuration details on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip interface {<INTERFACE-NAME>|brief} {(on <DEVICE-NAME>)}
ip interface Displays an administrative and operational status of all layer 3 interfaces or a specified layer 3 interface
<INTERFACE-NAME> Displays a specified interface status. Specify the interface name.
brief Displays a brief summary of all interface status and configuration
on <DEVICE-NAME> The following keyword is recursive and common to the ‘interface-name' and ‘brief' parameters:
  • on <DEVICE-NAME> – Optional. Displays interface status and summary, based on the parameters passed, on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip nat translations verbose {on <DEVICE-NAME>}
ip nat translations Displays Network Address Translation (NAT) translations
verbose Displays detailed NAT translations
  • on <DEVICE-NAME> – Optional.Displays NAT translations on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip route {<INTERFACE-NAME>|ge <1-4>|me1|port-channel <1-2>|vlan <1-4094>|pppoe1|wwan1} 
{(on <DEVICE-NAME>)}
ip route Displays route table details. The route tables use flags to distinguish between routes. The different flags are:
  • C – Connected
  • G – Gateway
  • O – OSPF route
  • S – Static route
Note: Flags ‘S‘ and ‘O‘ identify static learned routes and dynamic learned routes respectively.
<INTERFACE-NAME> Optional. Displays route table details for a specified interface. Specify the interface name
ge <1-4> Displays GigabitEthernet interface route table details
  • <1-4> – Specify the GigabitEthernet interface index from 1 - 4.
me1 Displays FastEthernet interface route table details
port-channel <1-2> Displays port channel interface route table details. Specify the port channel index from 1 - 2.
vlan <1-4095> Displays VLAN interface route table details. Select the VLAN interface ID from 1 - 4094.
pppoe1 Displays PPPoE interface route table details
wwan1 Displays Wireless WAN route table details
on <DEVICE-NAME> The following keywords are recursive and common to all of the above parameters:
  • on <DEVICE-NAME> – Displays route table details, based on the parameters passed, on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
show ip ospf {border-router|interface|neighbor|route|on|state}{on <DEVICE-NAME>}
ip ospf Displays overall OSPF information
border-router Optional. Displays details of all the border routers connected
interface {on| vlan <1-4094>} {on <DEVICE-NAME>} Optional. Displays details of all the interfaces with OSPF enabled
  • on <DEVICE-NAME> – Optional. Displays specified device details
  • vlan <1-4094> – Displays VLAN interface details
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.
neighbor Optional. Displays an OSPF neighbors list
route Optional. Displays OFPS routes information
state Optional. Displays an OSPF process state
on <DEVICE-NAME> The following keywords are recursive and common to all of the above parameters:
  • on <DEVICE-NAME> – Optional. Displays overall OSPF information, based on the parameters passed, on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.

Examples

nx9500-6C8809(config)#show ip arp
--------------------------------------------------------------------------------
          IP                    MAC              INTERFACE           TYPE
--------------------------------------------------------------------------------
  192.168.13.10        00-02-B3-28-D1-55        vlan1          dynamic
  192.168.13.13        B4-C7-99-6C-88-09        vlan1          dynamic
  192.168.13.2         00-0F-8F-19-BA-4C        vlan1          dynamic
--------------------------------------------------------------------------------
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip interface brief
-------------------------------------------------------------------------------
 INTERFACE          IP-ADDRESS/MASK            TYPE        STATUS   PROTOCOL
-------------------------------------------------------------------------------
 me1                unassigned                 n/a         UP       down
 vlan1              192.168.13.24/24           primary     UP       up
-------------------------------------------------------------------------------
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip route
--------------------------------------------------------------------------------
     DESTINATION         GATEWAY       FLAGS   INTERFACE   METRIC    DISTANCE
--------------------------------------------------------------------------------
  default             192.168.13.2     S       vlan1       0        1
  192.168.13.0/24     0.0.0.0          C       vlan1       0        0
--------------------------------------------------------------------------------
Flags:  C - Connected G - Gateway O - OSPF  B - BGP  S - Static
Gateway: N - Normalized Gateway Address
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip route port-channel 1
--------------------------------------------------------------------------------
DESTINATION       GATEWAY        FLAGS    INTERFACE    METRIC  DISTANCE
--------------------------------------------------------------------------------
192.168.0.0/24    direct          C         me1         0        0
172.18.0.0/24     direct          C         vlan1       0        0
10.2.0.0/24       172.18.0.1      S         vlan1       0        1
default           192.168.13.2    S         vlan192     0        1
192.168.13.0/24   direct          C         vlan192     0        0
--------------------------------------------------------------------------------
Flags:  C - Connected G - Gateway O - OSPF  B - BGP  S - Static
Gateway: N - Normalized Gateway Address
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip routing on rfs6000-81742D
IP routing is enabled.
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip dhcp status
State of DHCP server: not-running
nx9500-6C8809(config)#
nx9500-6C8809(config)#show ip ospf state
 Maximum number of OSPF routes allowed: 9216
   Number of OSPF routes received: 0
   Ignore-count allowed: 5, current ingore-count: 0
   Ignore-time 60 seconds, reset-time 360 seconds
   Current OSPF process state: Running
nx9500-6C8809(config)#