T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
194
monitor session source interface
Description
The
monitor session source
interface
command is used to configure the
monitored port. To delete the corresponding monitored port, please use
no
monitor session source
interface
command.
Syntax
monitor session
session_num
source
interface
{
fastEthernet
port-list
|
gigabitEthernet
port-list |
ten-gigabitEthernet
port-list
}
mode
no monitor session
session_num
source
interface
{
fastEthernet
port-list
|
gigabitEthernet
port-list |
ten-gigabitEthernet
port-list
}
mode
Parameter
session_num
—— The monitor session number, the value of which is 1.
port-list
—— List of monitored port. It is multi-optional.
mode
—— The monitor mode. There are three options: rx, tx and both. Rx
(ingress monitoring mode), means the incoming packets received by the
monitored port will be copied to the monitoring port. TX (egress monitoring
mode), indicates the outgoing packets sent by the monitored port will be copied
to the monitoring port. Both (ingress and egress monitoring), presents the
incoming packets received and the outgoing packets sent by the monitored port
will both be copied to the monitoring port.
Command Mode
Global Configuration Mode
User Guidelines
1. Monitored ports number is not limited, but it can’t be the monitoring port at
the same time.
2. Whether the monitoring port and monitored ports are in the same VLAN or
not is not demanded strictly.
3. The monitoring port cannot be link-aggregation member.
Example
Create monitor session 1, then configure Gigabit Ethernet port 4, 5, 7 as
monitored ports and enable ingress monitoring:
T2700G-28TQ(config)#monitor session
1
source interface gigabitEthernet
1/0/4-5,1/0/7 rx