Operation Manual
Port Commands
Port Commands
5 – 59
Usage
It is recommended that you do not configure the mode of an MX port so that one side of the
link is set to autonegotiation while the other side is set to full-duplex. Although MSS allows this
configuration, it can result in slow throughput on the link. The slow throughput occurs because
the side that is configured for autonegotiation falls back to half-duplex. A stream of large packets
sent to an MX port in such a configuration can cause forwarding on the link to stop.
Do not set the port speed of a gigabit port to auto. Although the CLI allows this setting, it is
invalid. If you set the port speed of a gigabit port to auto, the link will stop working.
Examples
The following command sets the port speed on ports 1, 7 through 11, and 14 to 10 Mbps
and sets the operating mode to full-duplex:
MX# set port speed 1,7-11,14 10
set port trap
Enables or disables Simple Network Management Protocol (SNMP) linkup and linkdown traps on
an individual port.
Syntax
set port trap port-list {enable | disable}
Defaults
SNMP linkup and linkdown traps are disabled by default.
Access
Enabled.
History
Introduced in MSS Version 1.1.
Usage
The set port trap command overrides the global setting of the set snmp trap command.
The set port type command does not affect the global trap information displayed by the show
snmp configuration command. For example, if you globally enable linkup and linkdown traps
but then disable the traps on a single port, the show snmp configuration command still
indicates that the traps are globally enabled.
Examples
The following command enables SNMP linkup and linkdown traps on ports 17 and 18:
MX# set port trap 17-18 enable
See Also
● set ip snmp server on page 8-111
● set snmp community on page 8-116
● set snmp trap on page 8-125
● set snmp trap receiver on page 8-125
● show snmp configuration on page 8-141
set port type ap
Command deprecated in MSS Version 6.0. Use the command set ap instead.
port-list List of physical ports.
enable Enables the Telnet server.
disable Disables the Telnet server.