DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
631
Example
To create a subnet VLAN entry:
DGS-3710-12C:admin#create subnet_vlan network 172.168.1.1/24 vlan v2 priority 2
Command: create subnet_vlan network 172.168.1.1/24 vlan v2 priority 2
Success
.
DGS-3710-12C:admin#
To create an IPv6 subnet VLAN entry:
DGS-3710-12C:admin#create subnet_vlan ipv6network fe80::250:baff::0/64 vlan v2
priority 2
Command: create subnet_vlan ipv6network fe80::250:baff::0/64 vlan v2 priority 2
Success
.
DGS-3710-12C:admin#
64-2
delete subnet_vlan
Description
This command is used to delete a subnet VLAN from the switch. Users can delete a subnet VLAN
entry by IP subnet or VLAN, or delete all subnet VLAN entries.
Format
delete subnet_vlan [network <network_address> | ipv6network <ipv6networkaddr> | vlan
<vlan_name 32> | vlanid <vidlist> | all]
Parameters
network
- Specifies an IPv4 network address.
<network_address>
- Specifies an IPv4 network address. The format is ipaddress/prefix
length.
ipv6network
- Specifies an IPv6 network address.
<ipv6networkaddr>
- Specifies an IPv6 network address. The format is ipaddress/prefix
length.
vlan
- Specifies to delete all subnet VLAN entries associated with this VLAN.
<vlan_name 32>
- Specifies a VLAN name. The maximum length is 32 characters.
vlanid
- Specifies a list of VLANs by VLAN ID.
<vidlist>
- Specifies the VLAN ID.
all
- Specifies to delete all subnet VLAN entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To delete a subnet VLAN entry: