IP Addressing Commands
455
OL-32830-01 Command Line Interface Reference Guide
22
Command Mode
Global Configuration mode
Default Configuration
No default gateway is defined.
User Guidelines
Use the ip default-gateway command to defines a default gateway (default route).
The ip default-gateway command adds the default route with metric of 1.
Use the no ip default-gateway
ip-address
command to delete one default
gateway.
Use the no ip default-gateway command to delete all default gateways.
Example
The following example defines default gateway 192.168.1.1.
switchxxxxxx(config)#
ip default-gateway
192.168.1.1
22.5 show ip interface
Use the show ip interface EXEC mode command to display the usability status of
configured IP interfaces.
Syntax
show ip interface [i
nterface-id
]
Parameters
•
interface-id
—Specifies an interface ID on which IP addresses are defined.
Default Configuration
All IP addresses.
Command Mode
User EXEC mode
Summary of Contents for 300 Series
Page 2: ......