120
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
set port speed
Use the
set port speed
command to set the maximum speed for the specified port. The maximum value permitted depends
on the capabilities of the port type. Copper ports can also be set to auto (the default setting), whereby the port negotiates
the maximum speed with the link partner.
Syntax
set port
port-id
speed
{
Auto
|
10M
|
100M
|
1G
|
10G
}
Parameters
•
port
Specify the port identity. For front ports, either
A
,
B
,
C
or
D
. For rear ports, either
A
or
B
.
•
Auto
Set port speed auto-negotiation, where an optimum speed is automatically negotiated with the link partner.
For this setting to be effective, the overall port negotiation must be set to auto-negotiate, this can be done using the
command
set port autoneg auto
.
•
10M
Set a port speed of 10M bps.
•
100M
Set a port speed of 100M bps.
•
1G
Set a port speed of 1G bps.
•
10G
Set a port speed of 10G bps. This setting is only available on optical ports of the type "10G /1G optical" or
"direct attach cable (10G / 1G)", as indicated by the
show port
command.
Example
Set port A on slot 3 to 1G bps:
CONTROLLER>
select slot 3
SLOT3>
set port A speed 1G
speed : set 1G actual 1G
duplex : set auto actual full
mdi : set mdi-x actual mdi-x
mastering : set preferslave actual master
autoneg : auto
tap : off
autolock : on
lock : off
description: Web router downstream port
usage : network
port type : Registered Jack 45 (RJ45)
PORT UP
traffic threshold low : 0
traffic threshold high: 100
set port tap
Use the
set port tap
command to specify a port failsafe mode, either LFP or LMP, or to disable port failsafe if it is not
required.
For more information about port failsafe, see
on page 43.
Syntax
set port
port-id
tap
{
Off
|
LFP
|
LMP
}
Parameters
•
port-id
Specify the port letter to set or show. A–D for front ports; 0 or 1 for rear ports.
•
Off
Disable TAP mode (suitable for output ports).
•
LFP
Set Link Failure Propagation (LFP).
•
LMP
Set Link Mode Propagation (LMP).