Quantcast
Channel: Ethernet Switching topics
Viewing all articles
Browse latest Browse all 2326

EX2200 & EX4200 port mirroring: Include VLAN tag from access input interfaces on mirrored frames

$
0
0

Having read through the documentation I suspect that this isn't possible, but in case I've missed something...  (Also, I'd test this in the lab but COVID-19 restrictions make getting to the office a bit tricky right now.)

 

For EX2200 & EX4200 port mirroring, can I include the VLAN tag from access input interfaces on mirrored frames?  It would appear that despite the documentation only ever referring to packets (which I read as Layer 3 or IP), the port mirroring copies the frame (Layer 2 or Ethernet). 

 

ethernet-switching-options {
    analyzer Port-Mirror-for-Security-Tool {
        input {
            ingress {
                interface all;
            }
        }
        output {
            interface {
                xe-0/1/0.0;
            }
        }
    }
}

So tagged Ethernet frames coming in a "port-mode trunk" input interface are mirrored out the output interface (xe-0/1/0) complete with the Ethernet VLAN tag.  

 

What I'd also like to do is for untagged Ethernet frames coming in a "port-mode access" input interface be mirrored out the output interface with the Ethernet VLAN tag that is configured for that input interface.  For example, in this case the mirrored frame would have the Etherner VLAN tag for the "Servers" VLAN added to it:

 

interfaces {
    ge-0/0/12 {
        description "To server-eth1";
        unit 0 {
            family ethernet-switching {
                port-mode access;
                vlan {
                    members Servers;
                }
            }
        }    
    }
}

Is that possibe?


Viewing all articles
Browse latest Browse all 2326

Trending Articles



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