EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IP Addressing Commands
507 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
24
24.4 ip default-gateway
The ip default-gateway Global Configuration mode command defines a default
gateway (device). Use the no form of this command to restore the default
configuration.
Syntax
ip default-gateway
ip-address
no ip default-gateway [
ip-address
]
Parameters
ip-address
—Specifies the default gateway IP address.
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 6.
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

Table of Contents

Related product manuals