Vigor2120 Series User’s Guide
475
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
s
s
r
r
v
v
d
d
h
h
c
c
p
p
d
d
h
h
c
c
p
p
2
2
This command is used to enable DCHP2 server.
srv dhcp dhcp2 [-<command> <parameter> | ... ]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
[<command>
<parameter>|…]
The available commands with parameters are listed below.
[…] means that you can type in several commands in one
line.
-l<enable>
It menas to enable the LAN port to public DHCP.
0: Disenable
1: Enable
-m<enable>
It menas to enable MAC address to public DHCP.
0: Disenable
1: Enable
-e<id>
It menas to turn on the flag of LAN port 1/2/3/4.
-d<id>
It menas to turn off the flag of LAN port 1/2/3/4.
-v
It menas to view current status.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> srv dhcp dhcp2 -l 1 -e 1
> srv dhcp dhcp2 -v
2nd DHCP server flag status --
Server works on specified MAC address: ON
Server works on specified LAN port: ON
Port 1 flag: ON
Port 2 flag: ON
Port 3 flag: OFF
Port 4 flag: OFF
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
s
s
r
r
v
v
d
d
h
h
c
c
p
p
p
p
u
u
b
b
l
l
i
i
c
c
This command allows users to configure DHCP server for second subnet.
srv dhcp public start [IP address]
srv dhcp public cnt [IP counts]
srv dhcp public status
srv dhcp public add [MAC Addr XX-XX-XX-XX-XX-XX]
srv dhcp public del [MAC Addr XX-XX-XX-XX-XX-XX/all/ALL]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
start
It means the starting point of the IP address pool for the
DHCP server.