Page 181 / 998 Scroll up to view Page 176 - 180
Switch command reference
Switching
2-31
iMG/RG Software Reference Manual (Switching)
Description
This command sets the switch base priority. If an 802.1p bit value is higher than or equal
to this value - then it goes into the high priority queue. Otherwise - it goes into the low
priority queue.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> switch set priority 7
2.2.4.1.40 SWITCH SET QOS 802.1P
Syntax
SWITCH SET QOS 802.1P < 802.1p_value > PRIORITY < queue >
Description
This command is used to map an incoming tagged frame with a specific 802.1p value in
the priority field of the tag header into one of the four egress queues available on the
switch.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> switch set qos 24,37 priority high
2.2.4.1.41 SWITCH SET QOS DSCP
Syntax
SWITCH SET QOS DSCP < dscp_value > PRIORITY < queue >
Option
Description
Default Value
802.1p_base_priority
The system priority value. Available values are in
the range 0 to 7.
4
Option
Description
Default Value
802.1p_value
The value of the 802.1p field used to map incoming
frames into a well defined outgoing queue.
Possible values are from 0 to 7.
N/A
queue
The name of the egress priority queue where frame
will be forwarded.
Allowed values are:
P0 (lowest priority queue)
P1
P2
P3 (highest priority queue).
P0
Page 182 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-32
Description
This command is used to map an incoming frame with a specific TOS/DiffServ/Traffic
class value in the IP header into one of the four egress queues available on the switch.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
2.2.4.1.42 SWITCH SET QOS PRIORITY
Syntax
SWITCH SET QOS <dscpcode> PRIORITY {HIGH | LOW}
Description
This command maps the priority levels for Quality of Service.
The six-bit TOS field in the IP header is decoded as 64 entries and for each one it is pos-
sible to specify the priority.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
To set the high priority for DSCP values 24 and 37, use the command:
switch set qos 24,37 priority high
Option
Description
Default Value
dscp_value
The value of the TOS/DiffServ/Traffic class field used
to map incoming frames into a well defined outgoing
queue.
Possible values are from 0 to 6.
N/A
queue
The name of the egress priority queue where frame
will be forwarded.
Allowed values are:
P0 (lowest priority queue)
P1
P2
P3 (highest priority queue).
P0
Option
Description
Default Value
dscpcode
dscpcode-list is a comma-separate list of numbers in
the range 0-63 which represent the DSCP (Differenti-
ated Service Code Point) value in the most significant 6
bits of the TOS field in IPv4 header.
N/A
Page 183 / 998
Switch command reference
Switching
2-33
iMG/RG Software Reference Manual (Switching)
2.2.4.1.43 SWITCH SET ROUTING-LIMIT
Syntax
SWITCH SET ROUTING-LIMIT <limit>
Description
This command set the maximum number of frame per seconds that the layer 2 switch
forward to the Residential Gateway network processor for routing purposes.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
2.2.4.1.44 SWITCH SHOW
Syntax
SWITCH SHOW
Description
This command shows a summary of the switch parameters:
Example
--> switch show
Actual configuration:
Switch MAC:
00:0d:da:08:78:d4
Status:
Enabled
Aging Time:
Enabled
Age Timer:
304
Learning Status: Enabled
Status summary:
Option
Description
Default Value
limit
It's the traffic maximum rate (frame per seconds)
sent to the network processor. Available values are:
1.0Kfps
1.5Kfps
2.0Kfps
2.5Kfps
3.0Kfps
3.5Kfps
4.0Kfps
4.5Kfps
5.0Kfps
5.5Kfps
6.0Kfps
None
(disable the routing limit)
none
Page 184 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-34
Max Ports:
10
Max VLANS:
16
Max Queues:
4
See also
SWITCH SHOW PORT
2.2.4.1.45 SWITCH SHOW 802.1P
Syntax
SWITCh SHOW 802.1P
Description
This command displays the current mapping of the switch egress queues respect the
802.1p priority field value of the tag header of the an incoming tagged frame. Please note
that the four queues are shown in the following way:
low queue --> .
med-low queue --> L
med-high queue --> M
high queue --> H
Example
switch show 802.1p
802.1p Queue Map
------------------------------------------------------------------
PID
|
0 1 2 3 4 5 6 7
-----------------
QUEUE |
. . . . H H H H
------------------------------------------------------------------
2.2.4.1.46 SWITCH SHOW FDB
Syntax
(A) SWITCH SHOW FDB [ADDRESS <mac-address>|PORT <port-name> | vlan
<vlan-id>
(B) SWITCH SHOW FDB
Description
This command displays the whole contents of the
Forwarding Database (ordered by
VLAN identifier)
.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
mac-address
The MAC Address of the device that it is of interest
to see the FDB entry for.
N/A
Page 185 / 998
Switch command reference
Switching
2-35
iMG/RG Software Reference Manual (Switching)
Example
To display the FDB content:
--> switch show fdb
VLAN
MAC
Port
Status
204
00:0d:da:00:79:0f
lan8
Dynamic
204
00:0d:da:01:2c:68
lan8
Dynamic
204
00:0d:da:02:33:d2
lan8
Dynamic
204
00:0d:da:05:51:94
lan8
Dynamic
202
00:0d:da:01:2c:68
lan8
Dynamic
202
00:0d:da:06:f4:23
lan8
Dynamic
202
00:0d:da:08:6c:b6
cpu
Dynamic
202
00:30:84:ee:40:7e
lan8
Dynamic
1
00:30:84:ee:40:80
lan8
Dynamic
2.2.4.1.47 SWITCH SHOW PORT
Syntax
SWITCH SHOW PORT <port-name> [COUNTERS]
Description
This command displays the status of the selected switch port and eventually the value of
the associated counters.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> switch show port lan6
2.2.4.1.48 SWITCH SHOW QOS
Syntax
SWITCH SHOW QOS
port-name
The name of the switch port to be that entries are
to be displayed for..
N/A
vlan-id
The VLAN Identifier that it is of interest to show all
the FDB entries for.
N/A
Option
Description
Default Value
portname
The name of the switch port to be configured. See
Section 2.3 for a list of possible port names.
N/A
Option
Description
Default Value

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

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

Share
Top