Page 166 / 998 Scroll up to view Page 161 - 165
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-16
Description
This command resets the counters of the switch port if a port is specified.
Only the counters related to the selected port are reset without removing any FDB
entries.
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 reset port lan1 counters
See also
switch show
2.2.4.1.14 SWITCH SET 802.1P PRIORITY
Syntax
SWITCH SET 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 802.1p value/queue mapping, use the SWITCH SHOW
802.1p 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
swtich set 802.1P 0 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
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:
low (lowest priority queue)
med-low
med-high
high (highest priority queue).
low for 802.1p
values
0 to 3
high for 802.1p
values 4 to 7
Page 167 / 998
Switch command reference
Switching
2-17
iMG/RG Software Reference Manual (Switching)
2.2.4.1.15 SWITCH SET AGE-TIMER
Syntax
SWITCH SET AGE-TIME <agetimer>
Description
This command sets the value of the ageing timer, after which an un-refreshed dynamic
entry in the
Forwarding Database
is automatically removed.
Acceptable values are from 16 secs to 4080 secs.
To show the current switch status, use the SWITCH SHOW 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 ageingtimer 180
See also
switch show
See also
SWITCH SHOW PORT
2.2.4.1.16 SWITCH SET AGING-TIME
Syntax
SWITCH SET AGING-TIME { Enabled | Disabled }
Description
This command enables or disables the aging time process. Once disabled all the FDB
entries already learned are kept until aging-time is re-enabled or a switch reset command
is entered.
To show the current switch status, use the SWITCH SHOW 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 aging-time disabled
See also
switch show
Option
Description
Default Value
Agetimer
Number of seconds.
(16 to 4080)
304 (secs)
Option
Description
Default Value
Enabled | Disabled
When Enabled, the aging time process will flush
out any entry older than the age-timer value.
When Disabled, the aging time process keep all
the entries already learned. No additional entries
are learned in this status.
Enabled
Page 168 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-18
2.2.4.1.17 SWITCH SET AGINGTIMER
Syntax
SWITCH SET AGINGTIMER [fast|normal|value] <agetimer>
Description
This command sets the value of the ageing timer, after which an un-refreshed dynamic
entry in the
Forwarding Database
is automatically removed.
FAST sets the aging timer to 800 μSec, while NORMAL sets the aging timer to 300 Sec
Acceptable values are from 16 secs to 4080 secs.
To show the current switch status, use the SWITCH SHOW 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 ageingtimer 180
See also
switch show
2.2.4.1.18 SWITCH SET LEARNING
Syntax
SWITCH SET LEARNING { Enabled | Disabled }
Description
This command enables or disables the learning process on the switch.
When learning is disabled, any frame having a new source mac address will not be stored
on the switch fdb. The existing fdb entries instead will be flushed out accordingly to the
age-timer value.
To show the current switch status, use the SWITCH SHOW 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 learning disabled
2.2.4.1.19 SWITCH SET LOOPDETECTION
Syntax
SWITCH SET LOOPDETECTION POLLINGTIME <polling-time>
Option
Description
Default Value
Agetimer
Number of seconds. (16 to 4080)
none
Option
Description
Default Value
Enabled | Disabled
When Enabled, the learning engine learns source
addresses of incoming frames.
When Disabled, no learning process will take place.
Enabled
Page 169 / 998
Switch command reference
Switching
2-19
iMG/RG Software Reference Manual (Switching)
Description
This command changes the rate of the “special” ping messages used to detect loop condi-
tion on one or more Ethernet ports.
If more then one port is configured for loop detection, each port will generate a “ping”
message rate equal to the polling time multiplied by the number of “coax” ports.
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 loopdetection pollingtime 100
See also
switch show
2.2.4.1.20 SWITCH SET PORT 802.1P
Syntax
SWITCH SET PORT <portname>
802.1P { Enabled | Disabled }
Description
This command enables the support of 802.1p priority field on the incoming frames.
This command is usually used in conjunction with the switch set qos 802.1p command to
specify on which egress queue an incoming tagged frames having a specific value on the
priority field will be forwarded.
When 802.1p is is disabled, no specific forwarding policy is applied on incoming tagged
frames except the normal 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).
Option
Description
Default Value
polling-time
The loop detection “ping” rate in milliseconds. Avail-
able values are between 50msec up to 5000 msec.
50
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
Page 170 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-20
Example
--> switch set port lan1 802.1p Enabled
See also
SWITCH SHOW PORT
2.2.4.1.21 SWITCH SET PORT BROADCASTLIMIT
Syntax
SWITCH SET PORT <portname> BROADCASTLIMIT < bcastlimit >
This command specifies the ingress data rate limit for broadcast traffic. These limits apply
only to broadcast frame types entering 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 that can be specified with
this command and a default value (if applicable).
Example
--> switch set port lan8 broadcastlimit 4Mbps
Enabled | Disabled
When Enabled, the incoming packets are placed in
the appropriate priority queue based on the P-Bit
setting.
When Disabled, there is no prioritization based on
P-Bit.
Disabled
default_vlanid
The VLAN identifier to be associated to untagged
frames that arrive to this port. This valid range is
from 1 to 4095.
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
bcastlimit
The maximum bit rate for broadcast traffic that is
allowed on a switch port in the receive direction.
See Section 2.3 for a list of possible values -
depending on product family.
None
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