Content

| 9.2 |  | RSPAN |
| 9.2.6 |  | Configuring RSPAN to filter trunks for specific VLAN traffic |

Trunk VLAN filtering allows analysis of network traffic on a selected set of VLANs on trunk source ports. Trunk VLAN filtering can be combined with other source ports that belong to any of the selected VLANs. Based on the traffic type (ingress, egress, or both), SPAN sends a copy of the network traffic from the selected VLANs to the destination port.

Use trunk VLAN filtering only with trunk source ports. If trunk VLAN filtering is combined with other source ports that belong to VLANs not included in the selected list of filter VLANs, SPAN will only include ports that belong to one or more of the selected VLANs in the operational sources.

When a VLAN is cleared, it is removed from the VLAN filter list. A SPAN session is disabled if the VLAN filter list becomes empty.

Trunk VLAN filtering is not applicable to VSPAN sessions.

To monitor all VLANs on the trunk port, use the no monitor session session_number filter global configuration command.

This example shows how to clear any existing configuration on SPAN session 2. Configure SPAN session 2 to monitor traffic received on trunk port 4, and send traffic for only VLANs 1 through 5 and 9 to destination port 8.

> Switch(config)#no monitor session 2
> Switch(config)#monitor session 2 source interface gigabitethernet 0/4 rx
> Switch(config)#monitor session 2 filter vlan 1 - 5, 9
> Switch(config)#monitor session 2 destination interface gigabitethernet0/8
> Switch(config)#end

| Interactive Media Activity Crossword Puzzle: Common Terminology Used When Discussing SPAN, VSPAN and RSPAN After completing this activity, the students will be able to understand common terminology.

| Interactive Media Activity Checkbox: SPAN, VSPAN and RSPAN Port Types After completing this activity, the students will be able to understand the types of port.