Page 571 / 757 Scroll up to view Page 566 - 570
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
567
config port dot1v
Purpose
Used to bind a VLAN with a protocol template on one or more ports.
Syntax
config port dot1v ports [<portlist> | all] [add protocol_group group_id <id> [vlan <
vlan_name 32> | vlanid <vlanid>] | delete protocol_group [group_id <id> | all]]
Description
This command will bind a VLAN with a protocol template on one or more ports. When an
ingress untagged packet is identified by the
protocol_value
stated using the
config
dot1v_protocol_group
command, the switch will assign a pre-configured VLAN and a priority
for these ingress untagged packets in order to properly reach their destination.
Parameters
ports –
Use this parameter to specify ports.
<portlist>
Use this parameter to assign a port or group of ports.
all
– Use this parameter to specify all ports on the system.
add protocol_group group_id <id>
Enter an integer from
1
to
16
to identify the protocol VLAN
group being assigned to the ports or range of ports configured in the previous field.
vlan
– Use this parameter bind a VLAN with a specific protocol template using either of the
following parameters:
vlan_name 32
Identify the VLAN name for which to add a tag to ingress untagged
packets.
vlanid
- Identify the VID for which to add a tag to ingress untagged packets.
delete protocol_group
– Use this parameter to remove this protocol VLAN group’s association
with the ports stated in this command, by using the following parameters:
group_id <id>
Enter this parameter with its corresponding group number, to remove
this pre-defined protocol group from the ports specified here.
all
– Use this parameter to remove all protocol VLAN groups from the ports specified
in this command.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To bind a VLAN with a protocol template:
DGS-3627:admin# config port dot1v ports 1:6-1:8 add protocol_group group_id 1 vlan
building1
Command: config port dot1v ports 1:6-1:8 add protocol_group group_id 1 vlan building1
Success.
DGS-3627:admin#
show port dot1v
Purpose
Used to display the bound protocol template on a specific port or ports.
Syntax
show port dot1v {ports <portlist>}
Description
This command will display the protocol VLAN group and VLAN for individual ports.
Parameters
ports <portlist>
Enter the port or group of ports for which to display the protocol VLAN group
settings. Entering this command without this parameter will display all ports and their
corresponding protocol VLAN group settings.
Restrictions
None.
Example usage:
To configure the ports for a protocol VLAN group:
Page 572 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
568
DGS-3627:admin# show port dot1v ports 1:6-1:8
Command: show port dot1v ports 1:6-1:8
Port: 1:6
Protocol Group ID
VLAN Name
-------------------------
----------------
1
building1
Port: 1:7
Protocol Group ID
VLAN Name
-------------------------
----------------
1
building1
Port: 1:8
Protocol Group ID
VLAN Name
-------------------------
----------------
1
building1
Total Entries: 3
DGS-3627:admin#
Page 573 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
569
74
QUALITY OF SERVICE (QOS) COMMANDS
The Switch supports 802.1p priority queuing. The Switch has seven configurable priority queues. These priority queues
are numbered from 6 (Class 6) — the highest priority queue — to 0 (Class 0) — the lowest priority queue. The eight
priority tags specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows:
Priority 0 is assigned to the Switch’s Q2 queue.
Priority 1 is assigned to the Switch’s Q0 queue.
Priority 2 is assigned to the Switch’s Q1 queue.
Priority 3 is assigned to the Switch’s Q3 queue.
Priority 4 is assigned to the Switch’s Q4 queue.
Priority 5 is assigned to the Switch’s Q5 queue.
Priority 6 is assigned to the Switch’s Q6 queue.
Priority 7 is assigned to the Switch’s Q6 queue.
Priority scheduling is implemented by the priority queues stated above. The Switch will empty the eight hardware priority
queues in order, beginning with the highest priority queue, 6, to the lowest priority queue, 0. Each hardware queue will
transmit all of the packets in its buffer before permitting the next lower priority to transmit its packets. When the lowest
hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue will begin
transmitting any packets it may have received.
NOTICE:
The Switch contains eight classes of service for each port on the Switch. One of these
classes is reserved for internal use on the Switch and therefore is not configurable. All references in
the following section regarding classes of service will refer to only the seven classes of service that
may be used and configured by the Switch’s Administrator.
The Quality of Service (QoS) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Page 574 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
570
Command
Parameters
config bandwidth_control
[ <portlist>| all] {rx_rate [no_limit | <value 64-10000000>] | tx_rate [ no_limit |
<value 64-10000000>]}
show bandwidth_control
{<portlist>}
config scheduling
{ports [<portlist> | all ]} <class_id 0-6>
[max_packet <value 0-15>]
config scheduling_mechanism
{ports [<portlist> | all ]} [strict | weight_fair]
show scheduling
{<portlist>}
show scheduling_mechanism
{<portlist>}
config 802.1p user_priority
{ports [<portlist> | all ]} <priority 0-7> <class_id 0-6>
show 802.1p user_priority
{<portlist>}
config 802.1p default_priority
[<portlist> | all ] <priority 0-7>
show 802.1p default_priority
{<portlist>}
enable hol_prevention
disable hol_prevention
show hol_prevention
config per_queue bandwidth_control
{ports [<portlist> | all ]} <cos_id_list 0-6> {{min_rate [no_limit | <value 64-
10000000 >]} max_rate [no_limit | <value 64-10000000 >]}(1)
show per_queue bandwidth_control
{<portlist>}
enable cpu_rx_rate_control
{<class_id 0-2>}
disable cpu_rx_rate_control
{<class_id 0-2>}
show cpu_rx_rate_control
Each command is listed, in detail, in the following sections.
config bandwidth_control
Purpose
Use to configure the port bandwidth limit control.
Syntax
config bandwidth_control [<portlist>| all] {rx_rate [ no_limit | <value 64-10000000>] |
tx_rate [ no_limit | <value 64-10000000>]}
Description
This command sets the maximum limit for port bandwidth.
Parameters
portlist
- Specifies the range of ports to be configured.
rx_rate
- Specifies the limitations to apply to the receive data rate.
no_limit
- Indicates there is no limit on the amount of bandwidth that can be received on the
configured ports.
An integer value from 64 to 10000000 sets the maximum limit in Kbits/sec. The actual
bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit
may be equal to the user specified limit, but will not exceed it. The actual limit recognized by
the device, will be displayed when the command is executed. Actual rate = (inputted rate/
minimum granularity) * minimal granularity
tx_rate
- Specifies the limitation applied to the transmit data rate.
no_limit
- Indicates that there is no limit on the port TX bandwidth.
An integer value from 64 to 10000000 sets a maximum limit in Kbits/sec. The actual
bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit
may be equal to the user specified limit, but will not exceed it. The actual limit recognized by
the device, will be displayed when the command is executed. Actual rate = (inputted rate/
Page 575 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
571
config bandwidth_control
minimum granularity) * minimal granularity
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the transmit bandwidth rate on port 1:1-1:10 to be 100 Kbits/sec:
DGS-3627:admin# config bandwidth_control 1:1-1:10 tx_rate 100
Command: config bandwidth_control 1:1-1:10 tx_rate 100
The setting value is not an integer multiple of granularity 64. The closest value
64 is chosen.
Success.
DGS-3627:admin#
show bandwidth_control
Purpose
Used to display the port bandwidth control table.
Syntax
show bandwidth_control {<portlist>}
Description
The show bandwidth_control command displays the port bandwidth configuration.
The bandwidth can also be assigned by the RADIUS server through the authentication
process. If the RADIUS server has assigned the bandwidth, then the RADIUS-assigned
bandwidth will be the effective bandwidth. The authentication with the RADIUS server can be
either per port or per user. For per-user authentication, there may be multiple bandwidth
control values assigned when there are multiple users attached to the specific port. In this
case, the largest assigned bandwidth value will be applied to the effective bandwidth for this
specific port. Note that only devices that support MAC-based VLANs can provide per user
authentication.
Parameters
portlist
- Specifies a range of ports to be displayed.
If no parameter is specified, the system will display all ports bandwidth configurations.
Restrictions
None.
Example usage:
To display port bandwidth control table for ports 1:1-1:10:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top