18.2.3 Setting the 802.1Q tag assignment function
Specify the port for Layer 2 forwarding of mirroring frames by using 802.1Q Tag grant functionality for the mirror port.
- Points to note
-
An Ethernet interface can be set as a monitor port. Specify separate Ethernet interfaces even if link aggregation is used.
When Tagged frames or transmit frames are mirrored, since VLAN Tag is two stages, 8-byte large frames are handled. Therefore, you must change MTU length with mtu commandI will.
Command examples
-
(config)# monitor session 1 source interface gigabitethernet 1/0/1 both destination interface gigabitethernet 1/0/2 encapsulation dot1q 10 ethertype 9100
Configures the port 1/0/2 to mirror frames sent and received on Gigabit Ethernet interface 1/0/1 and VLAN Tag the mirroring frame with VLAN 10,TPID 0x9100.