
ip address
[Ip-address]
[Subnet-mask]
[Gateway]
Configure the IP
address of switch
switch(config)#ip address
192.168.10.1 255.255.255.0
192.168.10.254
Enable DHCP client
function of switch
Show IP information of
switch
Disable DHCP client
function of switch
switch(config)#no ip dhcp
Halt and perform a cold
restart
admin username
[Username]
Changes a login
username.
(maximum 10 words)
switch(config)#admin username
xxxxxx
admin password
[Password]
Specifies a password
(maximum 10 words)
switch(config)#admin password
xxxxxx
Show administrator
information
switch(config)#dhcpserver enable
dhcpserver lowip
[Low IP]
Configure low IP
address for IP pool
switch(config)#dhcpserver lowip
192.168.1.100
dhcpserver highip
[High IP]
Configure high IP
address for IP pool
switch(config)#dhcpserver highip
192.168.1.200
dhcpserver subnetmask
[Subnet mask]
Configure subnet
mask for DHCP clients
switch(config)#dhcpserver
subnetmask 255.255.255.0
dhcpserver gateway
[Gateway]
Configure gateway for
DHCP clients
switch(config)#dhcpserver
gateway 192.168.1.254
Kommentare zu diesen Handbüchern