beautypg.com

American Fibertek SM9p User Manual

Page 25

background image

17

ip dhcp

G

Enable DHCP client

function of switch

switch(config)#ip dhcp

show ip

P

Show IP information of

switch

Switch#show ip

no ip dhcp

G

Disable DHCP client

function of switch

switch(config)#no ip dhcp

reload

G

Halt and perform a cold
restart

Switch(config)#reload

default

G

Restore to default

Switch(config)#default

admin username

[Username]

G

Changes a login

username.

(maximum 10 words)

switch(config)#admin username

xxxxxx

admin password

[Password]

G

Specifies a password

(maximum 10 words)

switch(config)#admin password

xxxxxx

show admin

P

Show administrator

information

Switch#show admin

dhcpserver enable

G

Enable DHCP Server Switch(config)#dhcpserver

enable

dhcpserver disable

G

Disable DHCP Server switch(config)#no dhcpserver

dhcpserver lowip

[Low IP]

G

Configure low IP

address for IP pool

switch(config)#dhcpserver lowip

192.168.1.100

dhcpserver highip

[High IP]

G

Configure high IP

address for IP pool

switch(config)#dhcpserver highip

192.168.1.200

dhcpserver subnetmask

[Subnet mask]

G

Configure subnet

mask for DHCP clients

switch(config)#dhcpserver

subnetmask 255.255.255.0

dhcpserver gateway

[Gateway]

G

Configure gateway for

DHCP clients

switch(config)#dhcpserver

gateway 192.168.1.254

dhcpserver dnsip

[DNS IP]

G

Configure DNS IP for

DHCP clients

switch(config)#dhcpserver dnsip

192.168.1.1

dhcpserver leasetime

[

SEC.

]

G

Configure lease time

(in sec.)

switch(config)#dhcpserver

leasetime 86400