Operation Manual
Vigor2133 Series User’s Guide
601
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.
S
S
y
y
n
n
t
t
a
a
x
x
srv dhcp option -e [1 or 0] -i [lan number] -s [Next Server IP Address]
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] -x [option value]
srv dhcp option -e [1 or 0] -i [lan number] -c [option number] -a [option value]
srv dhcp option -u [idx number]
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 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 [lan number] It means to specify the LAN interface.
1: lan1,
a: all lan,
r: routed subnet
s [Next Server IP
Address]
It means to specify the IP address for the server.
option number It includes –a, -c, -v and –x.
-a: It means to set the option value by specifying the IP address.
-c: It means to set option number. Available number ranges from 0 to 255.
-v: It means to set option number by typing string.
-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 1/2 -s 8.8.8.8
> srv dhcp option -e 1 -i 1/2 -c 18 -x 2f70617468
> srv dhcp option -e 1 -i 2/r -c 44 -a 192.168.1.10,192.168.1.20
> srv dhcp option -u 2 -i 1 -c 60 -v class_id
> srv dhcp option -l
% state idx interface opt type data
% enable 1 LAN1/2 0 SIAddr 8.8.8.8
% enable 2 LAN1 60 ASCII class_id
% enable 3 LAN2/r 44 Address 192.168.1.10 ,192.168.1.20 ,