Displays all configured IP addresses.
show ip address [primary] [secondary] [vlan {vlan-id[-vlan-id][,...]}<1-4059>] [vrf WORD<1-16>] [vrfids WORD<0-512>]
User Exec
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