DGS-6604
based-on c-vid
CLI Reference Guide
60
based-on c-vid
This command is used to specify the customer vlan ID (C-VID) as a rule for IP
address assignment from the DHCP address pool. Use the no form of the
command to remove the C-VID rule from DHCP address pool.
based-on c-vid
V-ID
[,|-]
no based-on c-vid
V-ID
[,|-]
Default
None
Command Mode
DHCP pool configuration
Usage Guideline
This command is used to create the address binding rule for the DHCP address
pool. The
based-on c-vid
command creates the address binding rules in an
incremental way. That is, all of the C-VIDs created by
based-on c-vid
commands take effect on the corresponding DHCP address pool. However this
command will be combined with logical AND operations with the other rules set
by other
based-on
commands. For example if the first rule is
based-on c-vid
100
and there is another
based-on s-vid
200
command, then the address pool
will only assign an IP address to the client with C-VID=100 and S-VID=200.
Examples
The following sets a rule used for IP address assignment based on C-VID 100 or
200 from the DHCP address pool1.
Then the rule is added to and now based on C-VID 100/ 200 and S-VID 1000.
Syntax Description
V-ID
[,|-]
Specifies the V-ID list.
switch(config)#ip dhcp pool pool1
switch(config-dhcp)#based-on c-vid 100,200
switch(config-dhcp)#based-on s-vid 1000
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...