Operation Manual
Port Commands
Port Commands
5 – 55
To add or remove ports in a group that is already configured, change the mode to off, add or remove
the ports, then change the mode to on.
Examples
The following command configures a port group named server1 containing ports 1 through
5, and enables the link:
MX# set port-group name server1 1-5 mode on
success: change accepted.
The following commands disable the link for port group server1, change the list of ports in the group,
and reenable the link:
MX# set port-group name server1 1-5 mode off
success: change accepted.
MX# set port-group name server1 1-4,7 mode on
success: change accepted.
See Also
● clear port-group on page 5-45
● show port-group on page 5-62
set port media-type(deprecated)
Disables the fiber interface and enables the copper interface on an MX-400 gigabit Ethernet port.
Syntax
set port media-type name port-name
Defaults
The GBIC (fiber) interface is enabled, and the copper interface is disabled, by default.
Access
Enabled.
History
Usage
This command applies only to the MX-400.
If you set the port interface to RJ-45 on a port that already has an active fiber link, MSS immediately
changes the link to the copper interface.
Examples
The following command disables the fiber interface and enables the copper interface on
port 2:
MX-400# set port media-type name port-name
See Also
● clear port media-type (deprecated) on page 5-45
● show port media-type(deprecated) on page 5-63
set port mirror
Configures port mirroring. Port mirroring is a troubleshooting feature that copies (mirrors) traffic
sent or received by an MX port (the source port) to another port (the observer) on the same MX. You
port-list List of physical ports. MSS sets the preference on all the
specified ports.
rj45 Uses the copper interface.
Version 4.0 Command introduced.
Version 7.1 Command deprecated.