show ip address

Displays all configured IP addresses.

Syntax

Command Parameters

primary
Displays only primary IP addresses.
secondary
Displays only Secondary IP Interfaces.
vlan {vlan-id[-vlan-id][,...]}<1-4059>
Displays only IP addresses configured on VLANs.
vrf WORD <1-16>
Displays only IP addresses configured for the specified VRF name.
vrfids <0-512>
Displays only IP addresses configured for the specified VRF ID.

Command Mode

User Exec

Command Output

The show ip address command displays the following information:

Output field

Description

INTERFACE

Displays the interface.

VRF Name

Displays the VRF name.

IP ADDRESS

Displays the configured IP address.

NET MASK

Displays the configured subnet mask.

VLAN ID

Displays the VLAN ID, if applicable.

ADDR TYPE

Displays the address type, either primary or secondary.

The following example displays all configured IP addresses.

Switch:1>show ip address
==========================================================================================
                           IP Address - GlobalRouter
==========================================================================================
INTERFACE    VRF              IP              NET             VLAN      ADDR
             Name             ADDRESS         MASK            ID        TYPE
------------------------------------------------------------------------------------------
Port1/5      GlobalRouter     192.0.2.14       255.255.255.0   3036      primary
Clip2        GlobalRouter     192.0.2.15       255.255.0.0     --        primary
Vlan2        GlobalRouter     192.0.2.16       255.255.255.0   2         primary
Vlan5        GlobalRouter     192.0.2.17       255.255.255.0   5         primary
Vlan222      GlobalRouter     192.0.2.1        255.255.255.0   222       primary
Vlan222      GlobalRouter     192.0.2.2        255.255.255.0   222       secondary
Vlan223      GlobalRouter     192.0.2.3        255.255.255.0   223       primary
Vlan223      GlobalRouter     192.0.2.4        255.255.255.0   223       secondary