Specifications
A-5
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
Appendix A Command Reference for Voice VLAN
monitor session
Command Modes
Interface configuration.
Usage Guidelines
You can span only selected interfaces. You cannot span VLANs.
Examples
The following example shows how to set up a port monitor session. For this
example, we configure two sessions in global configuration mode.
In session 1, int Fas 5/2 will mirror all of its packets to 5/9:
sjc12-42a-sw1(config)#monitor session 1 source interface fast 5/2
sjc12-42a-sw1(config)#monitor session 1 dest int fas 5/9
In session 2, int fas 5/3 will mirror all of its packets to 5/13:
sjc12-42a-sw1(config)#monitor session 2 source int fas 5/3
sjc12-42a-sw1(config)#monitor session 2 destination int fas 5/13
You can sees what is being mirrored by entering the show monitor session
command in privileged EXEC mode:
sjc12-42a-sw1#sho monitor
Session 1
Source Ports:
Both: FastEthernet5/2
Destination Ports:FastEthernet5/13
Session 2
Source Ports:
Both: FastEthernet5/3
Destination Ports:FastEthernet5/13