LevelOne IES-1085 User Manual

Page 84

Advertising
background image

User Manual

Page 84

4. Example:
The following example shows the Route Table of switch:

switch_a#show route-table

IP Address

IP Address/IP Subnet Mask:
1. Command Mode: Interface mode
Logon to Configure Mode (Configure Terminal Mode).
Then logon to Interface mode.
vlan1.1 means vlan 1.
The switch_a(config-if)# prompt will show on the screen.

switch_a(config)#interface vlan1.1
switch_a(config-if )#


2. Usage:
Use ip address command to set the IP address of an interface.
Use the no ip address command to remove the IP address from an interface.

3. Command Syntax:
ip address IP-ADDRESS
no ip address IP-ADDRESS
no ip address

IP-ADDRESS A.B.C.D/M specifies the IP address and prefix length of an interface.
M specifies IP subnet mask, 8: 255.0.0.0, 16:255.255.0.0, 24: 255.255.255.0.


4. Example:
The following example sets the new IP address 192.168.1.10 and new IP subnet mask
255.255.255.0 to switch:

switch_a(config)#interface vlan1.1
switch_a(config-if )#ip address 192.168.1.10/24
switch_a(config-if )#


Default Gateway:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The switch_a(config)# prompt will show on the screen.

switch_a(config)#


2. Usage:
Use ip default-gateway command to set the IP address of the default gateway.
Use the no ip default-gateway command to remove the IP address of the default
gateway.

Advertising