Operation Manual
Port Commands
Mobility System Software Command Reference Guide
Version 7.3
5 – 56
can attach a protocol analyzer to the observer port to examine the source port’s traffic. Both traffic
directions (send and receive) are mirrored.
Syntax
set port mirror source-port observer observer-port
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 4.2.
Usage
The MX can have one port mirroring pair (one source port and one observer port) at a time.
The source port can be a network port, MP access port, or wired authentication port. However, the
observer port must be a network port, and cannot be a member of any VLAN or port group.
Examples
The following command sets port 2 to monitor port 1 traffic:
MX# set port 1 observer 2
See Also
● clear port mirror on page 5-46
● show port mirror on page 5-64
set port name
Assigns a name to a port. After naming a port, you can use the port name or number in other CLI
commands.
Syntax
set port port name name
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
To simplify configuration and avoid confusion between the number of a port and its name, it is
recommended that you do not use numbers as port names.
Examples
The following command sets the name of port 17 to adminpool:
MX# set port 17 name adminpool
success: change accepted.
See Also
● clear port name on page 5-46
● show port status on page 5-65
source-port Number of the port whose traffic you want to analyze. You can specify only one
port.
observer-port Number of the port to copy the traffic from the source port.
port Number of a physical port. You can specify only one port.
name name Alphanumeric string of up to 16 characters, with no
spaces.