Black Box LEH812 Switch User Manual


 
Black Box H thernet Switch ardened Managed E
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 sho
switch_a(config)#interface vlan1.1
switch_a(config-if)#
w on the screen.
2. Usage:
Use ip address command to set the IP ad
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)#
:
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)#
dress of an interface.
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.
3. Command Syntax:
User’s Manual 93