User Manual
Chapter 3 - Operation and Administration of the Macro BTS Troubleshooting
4Motion 680 System Manual
3.12.2.1 Enabling the Port Monitoring Session
The port monitoring session refers to the association of a destination interface
with one or more source interfaces. You can monitor incoming, outgoing or both
types of traffic that is mirrored from the source interface to the destination
interface.
Run the following command to enable port monitoring for a source or destination
interface:
npu(config)# monitor session { source interface <interface-type>
<interface-id> [{ rx | tx | both }] | destination interface
<interface-type > <interface-id>}
For example, to configure the Gigabit Ethernet 0/9 interface as the destination
interface, you can run the following command:
monitor session destination interface gigabitethernet 0/9
You can now run the following commands to mirror incoming traffic for the source
interfaces, Fast Ethernet 0/1 and Fast Ethernet 0/3:
npu(config)# monitor session source interface fastethernet 0/1 rx
npu(config)# monitor session source interface fastethernet 0/3 rx
All incoming and outgoing traffic for the 0/1 and 0/3 interfaces will be mirrored to
the 0/9 interface.
NOTE
For the current release, only one monitor session can be set up. This means that only one
destination can be configured for one or more source interfaces.
IMPORTANT
An error may occur if:
The interface ID of the source or destination port you have specified is invalid. Refer
Table 3-34 for the interface ID corresponding to each interface type.
The port specified as the source interface is already specified as the destination interface for
another port or vice versa.
Command
Syntax
npu(config)# monitor session
{ source interface <interface-type> <interface-id> [{ rx | tx | both
}
] | destination interface <interface-type > <interface-id>}