Cisco Cisco SG200-26P 26-port Gigabit PoE Smart Switch テクニカルリファレンス

ページ / 428
Administration
Port Mirroring
Cisco Small Business 200E Series Advanced Smart Switch Command Reference
33
2
monitor session
This command adds a mirrored port (source port) or probe port (destination port) 
to a mirroring session. This command can also be used to disable the 
administrative mode of the session. The no form of this command removes all the 
configuration of this session, including the source and destinations interfaces and 
VLAN.
monitor session 1-4 {source interface interface [{rx | tx}] | vlan vlan-id | 
destination interface interface | mode}
no monitor session session-id {source interface interface | vlan vlan-id | 
destination interface interface | mode}
Syntax Descriptions
Default
No port is configured to perform mirroring.
Command Modes
Global Config
Usage Guidelines
VLAN mirroring mirrors only the ingress (Rx) traffic only.
Parameter
Description
1-4
Four port mirroring sessions can be configured, numbered 
1 to 4.
source interface
The port or LAG to be mirrored.
rx | tx
If the source interface parameter is specified, option rx 
can be used to monitor only ingress packets. Option tx can 
be used to monitor only egress packets. If no option is 
specified, both ingress and egress packets are monitored.
vlan-id
The VLAN ID of the traffic to be monitored.
destination 
interface
The port where data from the monitored port will be 
copied to.
mode
Enables the mirroring session. Use the 
no form of the 
command with the mode keyword to disable the session 
while leaving all other configured values intact.