beautypg.com

Ip commands, Ip address, Ip commands -67 – SMC Networks TigerSwitch 100 User Manual

Page 211: Ip address -67, Ip c

background image

IP C

OMMANDS

3-67

IP Commands

An IP address may be used for management access to the switch over your
network. By default, the switch uses DHCP to assign IP settings to
VLAN 1 on the switch. If you wish to manually configure IP settings, you
need to change the switch’s user-specified defaults (IP address 0.0.0.0 and
netmask 255.0.0.0) to values that are compatible with your network. You
may also need to a establish a default gateway between the switch and
management stations that exist on another network segment.

ip address

Use this command to set the IP address for this device. Use the no form to
restore the default IP address.

Syntax

ip address {ip-address netmask | bootp | dhcp}
no ip address

ip-address - IP address
netmask - Network mask for the associated IP subnet. This mask

identifies the host address bits used for routing to specific subnets.

bootp - Obtains IP address from BOOTP.

Command

Function

Mode Page

ip address

Sets the IP address for this device

IC

3-67

ip dhcp restart

Submits a BOOTP or DCHP client request

PE

3-69

ip
default-gateway

Defines the default gateway through which an
in-band management station can reach this
device

GC

3-70

show ip interface Displays the IP settings for this device

PE

3-70

show ip redirects Displays the default gateway configured for

this device

PE

3-71

ping

Sends ICMP echo request packets to another
node on the network

NE,
PE

3-72