Vigor2120 Series User’s Guide
483
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
o
o
p
p
t
t
i
i
o
o
n
n
This command can set the custom option for the DHCP server.
srv dhcp option -h
srv dhcp option -l
srv dhcp option -d [idx]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -v [option value]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -a [option value]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -x [option value]
srv dhcp option -u [idx unmber]
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
-h
It means to display usage of this command.
-l
It means to display all the user defined DHCP options.
-d[idx]
It means to delete the option number by specifying its index number.
-e [1 or 0]
It means to enable/disable custom option feature.
1:enable
0:disable
-i
It means to set LAN number.
1: lan1
a: all LAN
r: routed subnet.
-c
It means to set option number. Available number ranges from 0 to 255.
-v
It means to set option number by typing string.
-a
It means to set the option value by specifying the IP address.
-x
It means to set option number with the format of Hexadecimal
characters.
-u
It means to update the option value of the sepecified index.
idx number
It means the index number of the option value.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> srv dhcp option -e 1 -i 2/r -c 44 -a 192.168.1.10,192.168.1.20
> srv dhcp option -l
% state idx interface opt type data
% enable 1 LAN2/r 44 Address
192.168.1.10 ,192.168.1.20 ,