Juniper EX4200 span port

There is a limitation with the EX4200 where you can only create one span port analyzer.  You can either monitor VLAN ingress or port ingress and egress.  In addition, you can only have one destination port for the span port traffic

First make sure there in no VLAN associated with the destination port.

To create the span port analyzer for VLAN 20:

set ethernet-switching-options analyzer MIRROR input ingress vlan 20

To create the destination port on interface ge-0/0/4

set ethernet-switching-options analyzer MIRROR output interface ge-0/0/4

Save the changes:

commit synchronize

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s