Page 171 / 998 Scroll up to view Page 166 - 170
Switch command reference
Switching
2-21
iMG/RG Software Reference Manual (Switching)
2.2.4.1.22 SWITCH SET PORT DEFAULTPRIORITY
Syntax
SWITCH SET PORT <portname> DEFAULTPRIORITY <priority>
Description
This command sets the priority value on the 802.1p priority field for all the frames that
arrive on the switch port as untagged frames.
This command works only if the 802.1p support has been previously enabled via the
switch set port 802.1p enable command.
When an untagged frame arrives to a port where the default priority value has not been
specified, and the egress port is tagged, the 802.1p priority field of the outgoing frame
frame will be set to 0.
This command can be used to set the port priority, with the priority queue for the speci-
fied port depending on the queue that the port is associated with. This association is
shown using the SWITCH SHOW 802.1p command. Refer to the example, below, where
using the example command
switch set port lan1 defaultopriority 5
, the
port priority for lan1 will be set for 5. To know the priority queue for lan1, use the com-
mand
SWITCH SHOW 802.1p
. This shows that the queue associated to the value 5 is H
(high priority) so lan1 port outgoing packets will be put in the high priority queue.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan1 defaultopriority 5
-> switch show 802.1p
802.1p Queue Map
-------------------------------------------------------------------
PID
|
0 1 2 3 4 5 6 7
-----------------
QUEUE |
. . . . H H H H
-------------------------------------------------------------------
See also
SWITCH SHOW PORT
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
defaultpriority
The default priority value to be set when untagged
frames are forwarded to a tagged egress port.
Valid range is 0 to 7.
0
Page 172 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-22
2.2.4.1.23 SWITCH SET PORT DEFAULTVID
Syntax
SWITCH SET PORT <portname> DEFAULTVID { default_vlanid }
Description
This command specifies the vlan identifier used as IEEE Tagged VID added during egress
to untagged frames that arrived at this port. Frames will be processed as frames.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan1 defaultvid 100
See also
SWITCH SHOW PORT
2.2.4.1.24 SWITCH SET PORT DSCP
Syntax
SWITCH SET PORT <portname>
DSCP { Enabled | Disabled }
Description
This command enable the support of DSCP IP field on the incoming frames.
This command is usually used in conjunction with the switch set qos dscp command to
specify on which egress queue an incoming frames having a specific value on the DSCP
field will be forwarded.
When DSCP support is disabled, no specific forwarding policy is applied on incoming
frames except the normal forwarding process.
To show the current port status, use the SWITCH SHOW PORT command.
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
default_vlanid
The VLAN identifier to be associated to untagged
frames that arrive to this port. This valid range is
from 1 to 4095.
N/A
Page 173 / 998
Switch command reference
Switching
2-23
iMG/RG Software Reference Manual (Switching)
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan1 DSCP Enabled
2.2.4.1.25 SWITCH SET PORT DSCP/NODSCP
Syntax
SWITCH SET PORT <portname>
{ dscp | nodscp }
Description
This command enable/disable the DSCP based priority on the selected switch port .
When DSCP based priority is enabled, the DSCP value of each incoming frame is search
in the switch DSCP table to check if the frame must be forwarded to High or Low Prior-
ity egress queue. If the switch DSCP table reports that for a specific DSCP value the
frame must be managed as high priority frame, than the switch will forward the frame to
the high priority queue otherwise the frame will be forwarded to the low priority queue.
To change the switch DSCP table use the
SWITCH
SET
QOS
PRIORITY
command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
switch set port wan dscp
See also
SWITCH SHOW PORT
SWITCH SET QOS PRIORITY
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
Enabled | Disabled
When Enabled, the support of DSCP IP field man-
agement is active.
When Disabled, any QoS policy based on DSCP
field is disabled.
Disabled
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
dscp | nodscp
When dscp, the support of DSCP IP field manage-
ment is active.
When nodscp, any QoS policy based on DSCP field
is disabled.
nodscp
Page 174 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-24
2.2.4.1.26 SWITCH SET PORT FLOW
Syntax
SWITCH SET PORT <portname> FLOW { Enabled | Disabled }
Description
This command enables/disables full duplex flow control on the selected switch port.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port wan flow Enabled
See also
SWITCH SHOW PORT
2.2.4.1.27 SWITCH SET PORT FLOWCONTROL
Syntax
SWITCH SET PORT <portname> FLOWCONTROL { Enabled | Disabled }
Description
This command enables/disables full duplex flow control on the selected switch port.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port wan flowcontrol enabled
See also
See also
SWITCH SHOW PORT
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
Enabled | Disabled
When Enabled, the flow control support is active.
When Disabled, the flow control support is deac-
tivated.
Enabled
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
Enabled | Disabled
When Enabled, the flow control support is active.
When Disabled, the flow control support is deac-
tivated.
Enabled
Page 175 / 998
Switch command reference
Switching
2-25
iMG/RG Software Reference Manual (Switching)
2.2.4.1.28 SWITCH SET PORT INFILTERING
Syntax
SWITCH SET PORT <portname> INFILTERING { Enabled | Disabled }
Description
This command enables/disables the infiltering process on incoming tagged frames.
When infiltering is enabled, an incoming tagged frame having a VLAN identifier different
from the vlan where the switch port is configured
will be dropped.
When infiltering is disabled, an incoming tagged frame having a VLAN identifier different
from the vlan where the switch port is configured is accepted and will be processed
accordingly to the standard forwarding process.
To show the current port status, use the SWITCH SHOW PORT command.
Options
The following table gives the range of values for each option which can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan1 infiltering disabled
See also
SWITCH SHOW PORT
2.2.4.1.29 SWITCH SET PORT MULTICASTLIMIT
Syntax
SWITCH SET PORT <portname> MULTICASTLIMIT < mcastlimit >
Description
This command specifies the ingress data rate limit for multicast traffic. These limits apply
only to multicast frame types entering on the selected switch port.
To show the current port status, use the SWITCH SHOW PORT command.
Option
Description
Default Value
port-name
The name of the switch port to be configured.
See Section 2.3 for a list of possible port names.
N/A
Enabled | Disabled
When Enabled, ingress filtering support is active.
When Disabled, ingress filtering is deactivated.
Enabled

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