User's Manual

Chapter 3 - Operation and Administration Using the CLI Troubleshooting
4Motion 676 System Manual
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-39 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>}
Privilege
Level
10