Viewing the current IP configuration
Do one of the following:
Use the
If only the DEFAULT_VLAN exists, then its IP configuration applies to all ports in the switch. Where multiple VLANs are configured, the IP addressing is listed per VLAN. The display includes switch-wide packet time-to-live, and (if configured) the switch’s default gateway and Timep configuration.show ip
command to view the IP addressing for each VLAN that is configured in the switch.Use the
show management
command to view the IP addressing and time server IP addressing that is configured on the switch.
Examples
The following example shows the switch's default IP addressing. In the factory default configuration (no IP addressing assigned), the switch’s IP addressing appears as:
switch(config)# show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway :
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
--------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | DHCP/Bootp
With multiple VLANs and some other features configured,
show ip
provides additional information. The following example shows IP listing with non-default IP addressing configured
switch(config)# show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway : 10.20.227.1
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
--------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | Manual 10.28.227.101 255.255.248.0 No No
VLAN22 | Disabled