Page 161 / 998 Scroll up to view Page 156 - 160
Switch command reference
Switching
2-11
iMG/RG Software Reference Manual (Switching)
2.2.4.1.1 SWITCH DIAGNOSE PORT
Syntax
SWITCH DIAGNOSE PORT
Description
This command executes the Time Domain Reflection test - that is used to determine
whether or not an Etherenet Cable connected to the port has a fault..
The results are whether or not there is an “open”, “short” or “good term”.for each pair.
It also prints the distance to the fault if the result is not “good term”. The accuracy is to
within approximately 10%.
Options
None.
Example
--> switch diagnose port lan6
Port 2 Tx: open [0ft] Rx: open [0ft]
2.2.4.1.2 SWITCH DISABLE AGEINGTIMER
Syntax
SWITCH DISABLE AGEINGTIMER
Description
This command stops the aging timer used by the look up engine to remove expired FDB
entries.
If the ageing timer is disabled the look up entries in the FDB are kept permanently until
the SWITCH ENABLE AGEINGTIMER command entered or the switch is reset.
To show the current switch status, use the SWITCH SHOW command.
SWITCH SET QOS PRIORITY
X
X
X
SWITCH SET ROUTING-LIMIT
X
SWITCH SHOW
X
X
X
X
X
X
X
X
X
SWITCH SHOW 802.1P
X
SWITCH SHOW FDB
A
B
A
B
B
B
A
B
B
SWITCH SHOW PORT
X
X
X
X
X
X
X
X
X
SWITCH SHOW QOS
X
X
X
SWITCH SHOW QOS 802.1P
X
X
X
X
X
X
SWITCH SHOW QOS DSCP
X
X
X
X
X
X
TABLE 2-2
Switch
commands
(Continued)
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 162 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-12
Example
switch disable ageingtimer
See also
SWITCH ENABLE AGEINGTIMER
SWITCH SHOW
2.2.4.1.3 SWITCH DISABLE LEARNING
Syntax
SWITCH DISABLE LEARNING
Description
This command stops the learning engine used to update the look up table when frame
are received from new
Source Addresses
.
To restore the learning process, use the SWITCH ENABLE LEARNING command.
To show the current switch status, use the SWITCH SHOW command.
Example
switch disable learning
See also
SWITCH ENABLE LEARNING
SWITCH SHOW
2.2.4.1.4 SWITCH DISABLE LOOPDETECTION
Syntax
SWITCH DISABLE LOOPDETECTION
Description
This command stops the loop detection on the Ethernet ports. Special “ping” messages
used to detect loop are stopped.
Any port that was set to coax mode still remain configured in this mode forcing the port
speed to 10M Full Duplex.
To show the current port status, use the SWITCH SHOW command.
Example
switch disable loopdetection
See also
SWITCH ENABLE LOOPDETECTION
SWITCH SHOW
2.2.4.1.5 SWITCH DISABLE PORT
Syntax
SWITCH DISABLE PORT <port-name> [FLOW JAMMING]
Description
This command disables the selected switch port, or disables a flow control mechanism
on the port.
If jamming is specified the jamming signal used for flow control on half duplex ports will
be disabled.
To show the current port status, use the SWITCH SHOW PORT command.
Page 163 / 998
Switch command reference
Switching
2-13
iMG/RG Software Reference Manual (Switching)
Please see notes under Port management for the applicability of the FLOW and JAM-
MING options.
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 disable port lan1
See also
SWITCH ENABLE PORT
SWITCH SHOW PORT
2.2.4.1.6 SWITCH ENABLE AGEINGTIMER
Syntax
SWITCH ENABLE AGEINGTIMER
Description
This command restarts the aging timer used by the look up engine to update the aging of
FDB entries.
To show the current switch status, use the SWITCH SHOW command.
Example
switch enable ageingtimer
See also
SWITCH DISABLE AGEINGTIMER
SWITCH SHOW
2.2.4.1.7 SWITCH ENABLE LEARNING
Syntax
SWITCH ENABLE LEARNING
Description
This command restarts the learning process used by the look up engine to update the
FDB when frames from new addresses are received.
To show the current switch status, use the SWITCH SHOW command.
Example
switch enable learning
See also
SWITCH DISABLE LEARNING
SWITCH SHOW
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 164 / 998
Switching
Switch command reference
iMG/RG Software Reference Manual (Switching)
2-14
2.2.4.1.8 SWITCH ENABLE LOOPDETECTION
Syntax
SWITCH ENABLE LOOPDETECTION
Description
This command turns on the loop detection feature on the switch. The Residential Gate-
way will start sending special “ping” messages to all the switch ports configured as
“coax”.
All the switch ports having a speed valued different from “coax” will not be involved in
the loop detection process.
To add an Ethernet port to the list of ports where loop detection is controlled, use the
SWITCH
SET
PORT
SPEED
COAX
command.
Example
switch enable loopdetection
See also
SWITCH DISABLE LOOPDETECTION
SWITCH SHOW
2.2.4.1.9 SWITCH ENABLE PORT
Syntax
SWITCH ENABLE PORT <port-name> [FLOW [JAMMING] ]
Description
This command enables the selected switch port.
If
SWITCH
ENABLE
PORT
FLOW
is entered, pause flow control is enabled when the port
speed is configured to full duplex.
If
SWITCH
ENABLE
PORT
FLOW
JAMMING
is entered, jamming flow control is enabled when
the port speed is configured to half duplex.
To show the current port status, use the
SWITCH
SHOW
PORT
command.
Please see notes under Port management for the applicability of the FLOW and JAM-
MING options.
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.10 SWITCH LIST PORTS
Syntax
SWITCH LIST PORTS
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 165 / 998
Switch command reference
Switching
2-15
iMG/RG Software Reference Manual (Switching)
Description
This command current status of all the Ethernet Ports on the device.
The port ID and current state are also displayed - this allows the user to gather a broad
view of the state of the system.
Options
None.
Example
--> switch list ports
Switch Ports:
Name
| Port ID
|
State
| Connected |
Speed
-----------|-----------|-----------|-----------|-----------
lan1
| 4
| Enabled
| false
| N/C
lan2
| 1
| Enabled
| false
| N/C
lan3
| 5
| Enabled
| false
| N/C
lan4
| 0
| Enabled
| false
| N/C
lan5
| 3
| Enabled
| false
| N/C
lan6
| 2
| Enabled
| false
| N/C
cpu
| 6
| Enabled
| true
| 100F
-----------------------------------------------------------
2.2.4.1.11 SWITCH RESET
Syntax
SWITCH RESET [PORT <port-name> [COUNTERS]]
Description
This command resets completely the switch .
All internal switch counters are reset and FDB entries removed.
Options
None.
Example
switch reset
--> switch reset
2.2.4.1.12 SWITCH RESET COUNTERS
Syntax
SWITCH RESET COUNTERS
Description
This command resets completely the switch counters.
Options
None
Example
switch reset counters
2.2.4.1.13 SWITCH RESET PORT
Syntax
SWITCH RESET PORT <port-name> COUNTERS

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