Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: How to detect VLAN tagging on an access port?

$
0
0

Hello,

On EX4200, one way is to configure a FW filter to catch+count ethertype 0x8100 that indicates 802.1Q tagging, the assign it to an access port and watch the counter:

set interfaces ge-0/0/14 unit 0 family ethernet-switching filter input catch-vlan
set firewall family ethernet-switching filter catch-vlan term 1 from ether-type 0x8100
set firewall family ethernet-switching filter catch-vlan term 1 then accept
set firewall family ethernet-switching filter catch-vlan term 1 then count v1
set firewall family ethernet-switching filter catch-vlan term 2 then accept

I tested it with tagged traffic on EX4200 access port:

 

{master:0}[edit]
aarseniev@ex4200# run show firewall                       

Filter: catch-vlan                                             
Counters:
Name                                                Bytes              Packets
v1                                                   2240                   35

You can remove this filter when done.

HTH

Thx

Alex


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>