DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
S
S
TATIC
UBNET
Back to Section Header
The Static Subnet VLAN commands in the Command Line Interface (CLI) are listed (along with the
appropriate
parameters) in the following table.
C
OMMAND
create subnet_vlan
delete subnet_vlan
show subnet_vlan
config vlan_precedence
show vlan_precedence
Each command is listed, in detail, in the following sections.
create subnet_vlan
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To create subnet VLAN:
DGS-3700-12:5#create subnet_vlan network 172.168.1.1/24 vlan v3 priority 2
Command: create subnet_vlan network 172.168.1.1/24 vlan v3 priority 2
Success.
DGS-3700-12:5#
VLAN C
OMMANDS
P
ARAMETERS
[network <network_address> |ipv6network <ipv6networkaddr>] [vlan
<vlan_name 32> |vlanid <vlanid 1-4094>] {priority <value 0-7>}
[network <network_address> | ipv6network <ipv6networkaddr>] | vlan
<vlan_name 32> | vlanid <vidlist>| all ]
{[network<network_address> | ipv6network<ipv6networkaddr> | vlan
<vlan_name 32> | vlanid <vidlist>]}
ports <portlist> [mac_based_vlan | subnet_vlan]
ports {<portlist>}
Used to create a static subnet VLAN entry.
create subnet_vlan [network <network_address> |ipv6network
<ipv6networkaddr>] [vlan <vlan_name 32> |vlanid <vlanid 1-4094>] {priority
<value 0-7>}
This command is used to create a subnet VLAN entry. A subnet VLAN entry is an IP
subnet-based VLAN classification rule. If an untagged or priority-tagged IP packet
is received on a port, its source IP address will be used to match the subnet VLAN
entries. If the source IP is in the subnet of an entry, the packet will be classified to
the VLAN defined for this subnet.
network – Is used to specify an IPv4 network address. The format is ipaddress/prefix
length.
ipv6network – Is used to specify an IPv6 network address. The format is
ipaddress/prefix length. The prefix length of the IPv6 network address cannot be
greater than 64.
vlan – The VLAN to be associated with the subnet. You can specify a VLAN name or
VLAN ID. The VLAN must be an existing static VLAN.
priority – The priority to be associated with the subnet. It's range is 0-7.
Only Administrator and Operator-level users can issue this command.
Page | 295