Monitoring and Analyzing Switch Operation

Traffic Mirroring

Untagged Mirrored Packets

Although a VLAN tag is added (by default) to the mirrored copy of untagged outbound packets to indicate the source VLAN of the packet, it is sometimes desirable to have mirrored packets look exactly like the original packet. The no-tag-addedparameter gives you the option of not tagging mirrored copies of outbound packets.

ProCurve(config)#interface 3 monitor all in mirror 1 no-tag-added

ProCurve(config)#interface mesh monitor all both mirror 1 no-tag-added

Figure B-28. Mirroring Commands with the no-tag-added OptionProCurve# show monitor 1

Network Monitoring

 

 

 

 

Session: 1

Session Name:

 

ACL: no ACL relationship exists

 

Mirror Destination:

48

 

 

 

Untagged traffic :

untagged

 

 

Indicates the no-tag-added option is configured.

 

Monitoring Sources

Direction

 

 

------------------

---------

 

 

 

Port: 3

 

Both

 

Figure B-29. Displaying a Mirror Session Configuration with the no-tag-added Option

Using SNMP to Configure No-Tag-Added. The MIB object hpicfBridge- DontTagWithVlan is used to implement the no-tag-added option, as shown below:

hpicfBridgeDontTagWithVlan OBJECT-TYPE SYNTAX INTEGER

{

enabled(1),disabled(2)

}

MAX-ACCESS read-writeSTATUS currentDESCRIPTION

“This oid mentions whether VLAN tag is part of the mirror’ed copy of the packet. The value ‘enabled’ denotes that the VLAN tag shouldn’t be part

B-59