724-746-5500 | blackbox.com
Page 98
Chapter 7: Command-Line Management
2. Usage:
Use the enable password command to modify or create a password to be used when entering the Enable mode.
3. Command Syntax:
enable password PASSWORD
PASSWORD specifies the new password of the system.
4. Example:
The following example sets the new password mypasswd to switch:
switch_a(config)#enable password mypasswd
switch_a(config)#
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)#