Page 656 / 757 Scroll up to view Page 651 - 655
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
652
87
SUBNET VLAN COMMANDS
The Subnet VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
create subnet_vlan
[network <network_address> | ipv6network <ipv6networkaddr>]
[vlan
<vlan_name 32> | vlanid <vlanid 1-4094> ] {priority <value 0-7>}
delete subnet_vlan
[network <network_address> | ipv6network <ipv6networkaddr>] | vlan
<vlan_name 32> | vlanid <vidlist>| all]
show subnet_vlan
{[network<network_address> | ipv6network <ipv6networkaddr>] | vlan
<vlan_name 32> | vlanid <vidlist>]}
config vlan_precedence ports
<portlist> [mac_based_vlan | subnet_vlan]
show vlan_precedence ports
{<portlist>}
Each command is listed, in detail, in the following sections.
create subnet_vlan
Purpose
Use this command to create a subnet VLAN entry.
Syntax
create subnet_vlan [network <network_address> | ipv6network <ipv6networkaddr>]
[vlan <vlan_name 32> | vlanid <vlanid 1-4094> ] {priority <value 0-7>}
Description
The user can use this command 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 VLANdefined for this subnet.
Parameters
network
- To specify an IPv4 network address. The format is ipaddress/prefix length.
ipv6network
- To specify an IPv6 network address. The format is ipaddress/prefix length.The
prefix length of IPv6 network address shall not 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 existed static vlan.
priority
- The priority to be associated with the subnet. Its range is 0-7.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This example shows how to create a subnet VLAN entry:
DGS-3627:admin#
create subnet_vlan network 172.168.1.0/24 vlan v2 priority 2
Command: create subnet_vlan network 172.168.1.0/24 vlan v2 priority 2
Success.
DGS-3627:admin#
Page 657 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
653
This example shows how to create an IPv6 subnet VLAN entry:
DGS-3627:admin#
create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2
Command: create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2
Success.
DGS-3627:admin#
delete subnet_vlan
Purpose
Use this command to delete subnet vlan entry.
Syntax
delete subnet_vlan [network <network_address> | ipv6network <ipv6networkaddr>] |
vlan <vlan_name 32> | vlanid <vidlist>| all]
Description
This command is used to delete subnet vlan entry from switch. You can delete subnet vlan
entry by IP subnet or vlan, or delete all subnet vlan entries.
Parameters
network
- To specify an IPv4 network address or IPv6 network addres. The format is
ipaddress / prefix length.
ipv6network
- To specify an IPv6 network address. The format is ipaddress / prefix
length.The prefix length of IPv6 network address shall not be greater than 64.
vlan
- If specify the vlan, all subnet vlan entries that associated with this vlan will be deleted.
vidlist
- Specifies a list of VLANs by VLAN ID.
all
- If specify all, all subnet vlan entries will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This example shows how to delete a subnet VLAN entry:
DGS-3627:admin# delete subnet_vlan network 172.168.1.0/24
Command:delete subnet_vlan network 172.168.1.0/24
Success.
DGS-3627:admin#
This example shows how to delete all subnet VLAN entries:
DGS-3627:admin# delete subnet_vlan all
Command:delete subnet_vlan all
Success.
DGS-3627:admin#
show subnet_vlan
Purpose
Use this command to display subnet vlan entry information.
Syntax
show subnet_vlan {[network<network_address> | ipv6network <ipv6networkaddr>] |
vlan <vlan_name 32> | vlanid <vidlist>]}
Description
This command is used to display subnet vlan entry information.
Parameters
network
- To specify an IPv4 network address.
If network address is not specifed, all
subnet
Page 658 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
654
show subnet_vlan
VLAN entries will be displayed.
ipv6network
- To specify an IPv6 network address. If network address is not specifed, all
subnet VLAN entries will be displayed.
vlan
- If specify the vlan, all subnet vlan entries that associated with this vlan will be
displayed. If no parameter is specified, all subnet vlan entries will be displayed.
vidlist
- Specifies a list of VLANs by VLAN ID.
Restrictions
None.
Example usage:
This example shows how to show a specified subnet VLAN entry:
DGS-3627:admin# show subnet_vlan network 172.168.1.0/24
Command:show subnet_vlan network 172.168.1.0/24
IP Address/Subnet Mask
VLAN
Priority
--------------------------
------
---------
172.168.1.0/255.255.255.0
10
2
DGS-3627:admin#
This example shows how to display a specified IPv6 subnet VLAN entry:
DGS-3627:admin# show subnet_vlan ipv6network FE80::/64
Command: show subnet_vlan ipv6network FE80::/64
IP Address/Subnet Mask
VLAN
Priority
----------------------------
------
---------
fe80::/64
10
2
DGS-3627:admin#
This example shows how to show all subnet VLAN entries:
DGS-3627:admin# show subnet_vlan
Command:show subnet_vlan
IP Address/Subnet Mask
VLAN
Priority
---------------------------
------
-----------
172.168.1.0/255.255.255.0
10
2
172.18.211.0/255.255.255.0
20
3
fe80::/64
10
2
Total Entries : 3
DGS-3627:admin#
config vlan_precedence ports
Purpose
Use this command to configure the vlan classification precedence.
Syntax
config vlan_precedence ports <portlist> [mac_based_vlan | subnet_vlan]
Description
This command is used to configure vlan classification precedence on each port.
You can specify the order of MAC-based VLAN classification and subnet VLAN classification.
If a port’s VLAN classification is MAC-based precedence, MAC-based VLAN classification
Page 659 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
655
config vlan_precedence ports
will process at first. If MAC-based VLAN classification fails, the subnet VLAN classification
will be executed.
If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN classification
will process at first. If subnet VLAN classification fails, the MAC-based VLAN classification
will be executed.
Parameters
portlist
- A range of ports to configure.
mac_based_vlan
- If the parameter is specified, the MAC-based VLAN classification is
precedence than subnet VLAN classification.
subnet_vlan
- If the parameter is specified, the subnet VLAN classification is precedence
than MAC-based VLAN classification.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
This example shows how to configure subnet VLAN classification precedence on port 1:
DGS-3627:admin# config vlan_precedence 1 subnet_vlan
Command: config vlan_precedence 1 subnet_vlan
Success.
DGS-3627:admin#
show vlan_precedence ports
Purpose
Use this command to show vlan classification precedence.
Syntax
show vlan_precedence ports {<portlist>}
Description
This command is used to show vlan classification precedence.
Parameters
portlist
- A range of ports will display. If no parameters is specified, all ports vlan classification
precedence will display.
Restrictions
None.
Example usage:
This example shows how to display VLAN classification precedence on ports 1-3::
DGS-3627:admin# show vlan_precedence ports 1-3
Command: show vlan_precedence ports 1-3
Port
VLAN Precedence
----
-----------------
1
MAC-Based VLAN
2
Subnet VLAN
3
MAC-Based VLAN
DGS-3627:admin#
Page 660 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
656
88
SUPER VLAN COMMANDS
The Super VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
create super_vlan
[<vlan_name 32> | vlanid <vlanid 1-4094>] {sub_vlan <vidlist>}
config super_vlan
[<vlan_name 32 > | vlanid <vlanid 1-4094>] [add | delete] sub_vlan <vidlist>
delete super_vlan
[<vlan_name 32 > | vlanid <vlanid 1-4094>]
config sub_vlan
[<vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ip_range <ipaddr> to
<ipaddr>
show super_vlan
{[<vlan_name 32 > | vlanid <vlanid 1-4094>]}
show sub_vlan
{[<vlan_name 32 > | vlanid <vidlist>]}
Each command is listed, in detail, in the following sections.
create super vlan
Purpose
This command is used to create a super VLAN.
Syntax
create super_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] {sub_vlan <vidlist>}
Description
This command is used to create a super VLAN. The specified VLAN must be an 802.1Q
VLAN. If the specified VLAN is inexistent, the operation will not be success.
NOTE:
If you specify the super VLAN name, the VLAN must be an existent 802.1Q VLAN.
L3 route protocol, VRRP, multicast protocol and IPV6 protocol cannot run on super VLAN
interface.
Super VLAN is used to aggregate multi sub VLANs in the same IP subnet. Sub-VLAN is a L2
separate broadcast domain. The super VLAN cannot have any physical member port; hosts
reside in sub VLANs.
Once an IP interface is bound to a super VLAN, the proxy ARP will enable automatically on
the interface for communication between its sub VLANs.
If an IP interface is bound to a super VLAN, it cannot bind to other VLANs.
A super VLAN cannot be sub VLAN of other super VLANs.
Parameters
<vlan_name 32>
- Specify the name of the super VLAN. The VLAN name must be an existed
802.1Q VLAN.
vlanid <vlanid 1-4094>
- Specify the VLAN ID of the super VLAN.
sub_vlan <vidlist>
- Specify the sub VLANs of the super VLAN. By default, a new created
super VLAN has not sub VLAN configured.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create super VLAN 10:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top