Chapter 72 Subnet-based VLAN Commands
Ethernet Switch CLI Reference Guide
284
72.3 Command Examples
This example configures a subnet-based VLAN (
subnet1VLAN
) with priority
6
and a VID of
200
for traffic received from IP subnet
172.16.37.1/24
.
no subnet-based-vlan source-ip
<
ip
> mask-bits <
mask-bits
>
Removes the specified subnet from the subnet-based VLAN
configuration.
C
13
no subnet-based-vlan dhcp-vlan-
override
Disables the DHCP VLAN override setting for subnet-based
VLAN(s).
C
13
Table 156
subnet-based-vlan Command Summary (continued)
COMMAND
DESCRIPTION
M
P
sysname# subnet-based-vlan name subnet1VLAN source-ip 172.16.37.1 mask-bits
--> 24 vlan 200 priority 6
sysname(config)# exit
sysname# show subnet-vlan
Global Active :Yes
Name Src IP Mask-Bits Vlan Priority Entry Active
----------- ----------- --------- ---- -------- ------------
subnet1VLAN 172.16.37.1 24 200 6 1