Page 661 / 757 Scroll up to view Page 656 - 660
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
657
DGS-3627:admin# create super_vlan vlanid 10
Command: create super_vlan vlanid 10
Success.
DGS-3627:admin#
config super vlan
Purpose
This command is used to configure a super VLAN.
Syntax
config super_vlan [<vlan_name 32 > | vlanid <vlanid 1-4094>] [add | delete] sub_vlan
<vidlist>
Description
This command is used to configure the sub VLANs of a super VLAN.
A sub VLAN only can belong to one super VLAN and you cannot bind an IP interface on it.
The maximum sub VLAN number of a super VLAN is 80.
Parameters
<vlan_name 32>
- Specify the super VLAN name
vlanid <vlanid 1-4094>
- Specify the super VLAN ID
add sub_vlan <vidlist>
- Specify the sub VLAN ID list to add to the super VLAN. The sub
VLAN shall be an 802.1Q VLAN.
delete sub_vlan <vidlist>
- Specify the sub VLAN ID list to delete from the super VLAN.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To add sub VLAN 2-4 into super VLAN 10:
DGS-3627:admin# config super_vlan 10 add sub_vlan 2-4
Command: config super_vlan 10 add sub_vlan 2-4
Success.
DGS-3627:admin#
delete super vlan
Purpose
This command is used to delete a super VLAN.
Syntax
delete super_vlan [<vlan_name 32 > | vlanid <vlanid 1-4094>]
Description
This command is used to delete a super VLAN.
NOTE:
The VLAN will not be deleted really by this command. It is only no longer used as
super VLAN.
Parameters
<vlan_name 32>
- Specify the super VLAN name.
vlanid <vlanid 1-4094>
- Specify the super VLAN ID.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the super VLAN by specify the VLAN ID 10:
Page 662 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
658
DGS-3627:admin# delete super_vlan vlanid 10
Command: delete super_vlan vlanid 10
Success.
DGS-3627:admin#
config sub vlan
Purpose
This command is used to configure the IP range of the sub VLAN.
Syntax
config sub_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ip_range
<ipaddr> to <ipaddr>
Description
This command is used to configure the IP range of the sub VLAN.
A sub VLAN can has one or more IP ranges. Configuring IP range of sub VLAN can reduce
the ARP traffic in the super VLAN.
Sub VLAN mapping to IP range is 1 to n. That is multiple IP (ranges) is allowed to map to one
sub VLANs.
One IP can not map to multiple sub VLANs, if one IP map to multiple VLAN it may cause
traffic forwarding to wrong VLAN.
For example, if the IP range of a sub VLAN is 10.1.1.1-10.1.1.3, once the L3 switch received
an ARP request whose target IP is 10.1.1.2 from the sub VLAN, the switch know the target IP
in the sub VLAN and it does not send proxy ARP request to other sub VLANs.
Parameters
<vlan_name 32>
- Specify the sub VLAN name. The VLAN name must be an existent VLAN
name.
vlanid <vlanid 1-4094>
- Specify the sub VLAN ID
add ip_range <ipaddr>
- Specify the IP range of the sub VLAN.
delete ip_range <ipaddr>
- Specify the IP range no longer belong to the sub VLAN
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure IP range of sub VLAN 1 to 10.1.1.1-10.1.1.3:
DGS-3627:admin# config sub_vlan vlanid 1 add ip_range 10.1.1.1 to 10.1.1.3
Command: config sub_vlan vlanid 1 add ip_range 10.1.1.1 to 10.1.1.3
Success.
DGS-3627:admin#
show super vlan
Purpose
This command is used to show super VLAN.
Syntax
show super_vlan {[<vlan_name 32 > | vlanid <vlanid 1-4094>]}
Description
This command is used to show super VLAN. The information includes:
Super VLAN ID
Super VLAN name
IP subnet of the super VLAN associated interface.
Status: if any sub VLAN of the super VLAN has linkup member port, the super VLAN is
active. Otherwise, the super VLAN is inactive.
Sub VLAN set of the super VLAN.
Parameters
<vlan_name 32>
- Specify the super VLAN name.
Page 663 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
659
show super vlan
vlanid <vlanid 1-4094>
- Specify the super VLAN ID.
If not specified the super VLAN, show all super VLANs.
Restrictions
None.
Example usage:
To show super VLAN:
DGS-3627:admin# show super_vlan
Command: show super_vlan
Super VID
: 10
VLAN Name
: VLAN10
IP subnet
: 10.1.0.0/16
Status
: Active
Sub VID
: 2-4, 7, 9
Total Entries : 1
DGS-3627:admin#
show sub vlan
Purpose
This command is used to show sub VLAN.
Syntax
show sub_vlan {[<vlan_name 32 > | vlanid <vidlist>]}
Description
This command is used to show sub VLAN.
The “Active” and “Inactive” status means if any ports link up in the sub vlan.
Parameters
<vlan_name 32>
- Specify the sub VLAN name
vlanid <vlanid 1-4094>
- Specify the sub VLAN ID list
If not specified the sub VLAN, show all sub VLANs.
Restrictions
None.
Example usage:
To show all sub VLAN:
DGS-3627:admin# show sub_vlan
Command: show sub_vlan
Sub VID
Status
Super VID
IP Range
-------
-------
----------
------------------------
1
Active
10
10.1.1.1-10.1.1.10
10.1.2.1-10.1.2.20
2
Active
10
10.1.3.0-10.1.3.100
3
Inactive
10
10.1.4.0-10.1.4.255
4
Active
20
5
Inactive
20
Total Entries: 5
DGS-3627:admin#
Page 664 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
660
89
SWITCH PORT COMMANDS
The switch port commands in the Command Line Interface (CLI) are listed (with the appropriate parameters) in the
following table.
Command
Parameters
config ports
[<portlist> | all ] {medium_type [fiber | copper]} { speed[auto
{capability_advertised {10_half | 10_full | 100_half | 100_full | 1000_full } }|
10_half | 10_full | 100_half | 100_full | 1000_full {[master | slave]} ] |
auto_negotiation restart_an |flow_control [enable | disable] | learning [enable |
disable ] | state [enable | disable] | [description
<desc 1-32> | clear_description]}
show ports
{<portlist>} {[description | err_disabled | auto_negotiation | details | media_type]}
Each command is listed, in detail, in the following sections.
Page 665 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
661
config ports
Purpose
Used to configure the Switch’s Ethernet port settings.
Syntax
config ports [ <portlist> | all ] {medium_type [fiber | copper]} { speed[auto {capability_advertised
{10_half | 10_full | 100_half | 100_full | 1000_full } }| 10_half | 10_full | 100_half | 100_full |
1000_full {[master | slave]} ] |
auto_negotiation restart_an |flow_control [enable | disable] |
learning [enable | disable ] | state [enable | disable] | [description
<desc 1-32> |
clear_description]}
Description
This command allows for the configuration of the Switch’s Ethernet ports. Only the ports listed in the
<portlist>
will be affected.
Parameters
all
Configure all ports on the Switch.
<portlist>
Specifies a port or range of ports to be configured. The beginning and end of the port list
range are separated by a dash.
medium_type [fiber | copper]
– This applies only to the Combo ports. If configuring the Combo ports
this defines the type of transport medium used.
speed
– Allows the user to adjust the speed for a port or range of ports. The user has a choice of the
following:
auto
Enables auto-negotiation for the specified range of ports.
[10 | 100 | 1000]
Configures the speed in Mbps for the specified range of ports. Gigabit
ports are statically set to 1000 and cannot be set to slower speeds.
[half | full]
Configures the specified range of ports as either full-duplex or half-duplex.
[master | slave]
– The master setting (1000M/Full_M) will allow the port to advertise
capabilities related to duplex, speed and physical layer type. The master setting will also
determine the master and slave relationship between the two connected physical layers. This
relationship is necessary for establishing the timing control between the two physical layers.
The timing control is set on a master physical layer by a local source. The slave setting
(1000M/Full_S) uses loop timing, where the timing comes form a data stream received from
the master. If one connection is set for 1000M/Full_M, the other side of the connection must
be set for 1000M/Full_S. Any other configuration will result in a link down status for both
ports.
flow_control [enable | disable]
– Enable or disable flow control for the specified ports.
learning [enable | disable]
Enables or disables the MAC address learning on the specified range of
ports.
state [enable | disable]
Enables or disables the specified range of ports. If the specific ports are in an
error-disabled state configuring their state to enable will recover these ports from disabled to enabled
state.
description <desc 1-32>
Enter an alphanumeric string of no more than 32 characters to describe a
selected port interface.
clear_description
Enter this command to clear the port description of the selected port(s).
Restrictions
Only Administrator and Operator-level users can issue this command.
NOTE:
Gigabit Ethernet ports are statically set to 1 Gbps, and their speed cannot be modified. The
DGS-3600 series fiber ports only support 1000M_full.
Example usage:
To configure the speed of ports 1 to 3 of unit 1 to be 10 Mbps, full duplex, with learning, state and flow control enabled:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top