2.1.39. show ip

Syntax

show ip

Parameter

Default

No default value for this command.

Mode

User EXEC Privileged EXEC

Usage

Use show ip command to show system IPv4 address, net mask and default gateway.

Example

This example shows how to show current ipv4 address of the switch.

Switch# show ip
IP Address: 192.168.1.200
Subnet Netmask: 255.255.255.0
Default Gateway: 192.168.1.254