Ip Default-Gateway; Show Ip Interface - Planet WGSD-1022 User Manual

8-port 10/100mbps + 2 gigabit tp/sfp combo managed ethernet switch
Hide thumbs Also See for WGSD-1022:
Table of Contents

Advertisement

Console (config-if)# ip address dhcp

5.10.3 ip default-gateway

The ip default-gateway command defines a default gateway (router). To remove the default gateway
use the no form of this command.
Syntax
ip default-gateway ip-address
no ip default-gateway
ip-address — Valid IP address that specifies the IP address of the default gateway.
Default Configuration
No default gateway is defined.
Command Mode
Interface configuration
User Guidelines
The setting of the default gateway on the out-of-band port must not precede the assignment of the IP
address.
Always assign the IP address to the out-of-band port first, and then set the default gateway.
Example
The following example defines an ip default gateway.
Console(config)# ip default-gateway 192.168.1.1

5.10.4 show ip interface

The show ip interface user EXEC command displays the usability status of interfaces configured for IP.
Syntax
show ip interface [ethernet interface-number | vlan vlan-id | port-channel number]]
ethernet interface-number — Ethernet port number.
vlan vlan-id — VLAN number.
port-channel number — Port-channel number.

Advertisement

Table of Contents
loading

Table of Contents