Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Mirror port on EX2200

    Posted 02-17-2015 19:44

     

    There's error after I configure Mirror port

     

    'output'
    Analyzer output interface ge-0/0/11.0 should not be added to any VLAN
    error: configuration check-out failed

     

    This is my configuration

     

    ethernet-switching-options {
    analyzer RACCOOL-MONITOR {
    input {
    ingress {
    interface ge-0/0/18.0;
    }
    }
    output {
    interface {
    ge-0/0/11.0;

     

    unit 0 {
    family ethernet-switching {
    vlan {
    members INTERNAL_PUB;
    }
    }
    }

     

    I want to know that if output interface should not be added vlan on interface so I should set IP addess on this interface or not ? because interface GE-0/0/11 I connected to GIGAMON product for analyze traffic

     

    Thank you 

     



  • 2.  RE: Mirror port on EX2200

    Posted 02-17-2015 21:37

    HI,

     

    You should not give IP address for your config. If you want give ip then u have to configure the RVI and also change the mirror-config.

     

    I test one similar config in my lab why dont you try this..

     

     

    #set ethernet-switching-options analyzer test-1 input ingress interface ge-0/0/2.0
    #set ethernet-switching-options analyzer test-1 output vlan v1 no-tag

     

    #set vlans v1 vlan-id 1
    #set vlans v1 interface ge-0/0/3.0
    #set vlans v2 vlan-id 2
    #set vlans v2 interface ge-0/0/2.0

     

     

    Pl let me know issues.

     



  • 3.  RE: Mirror port on EX2200
    Best Answer

     
    Posted 02-17-2015 21:38

    No, you need to put family ethernet-switching and that's it.

     

     

    {master:0}[edit]
    lab@podgorica1# show ethernet-switching-options
    analyzer AN {
        input {
            ingress {
                interface ge-0/0/10.0;
            }
        }
        output {
            interface {
                ge-0/0/11.0;
            }
        }
    }

    {master:0}[edit]
    lab@podgorica1# show interfaces ge-0/0/11
    unit 0 {
        family ethernet-switching;
    }

    {master:0}[edit]
    lab@podgorica1# commit check
    configuration check succeeds

    {master:0}[edit]
    lab@podgorica1#

     

    Otherwise you will see another error:

     

     

    {master:0}[edit]
    lab@podgorica1# commit check
    [edit ethernet-switching-options analyzer AN]
      'output'
        Analyzer output interface ge-0/0/11.0 should be configured with family ethernet-switching
    error: configuration check-out failed

    {master:0}[edit]
    lab@podgorica1#

     

     


    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 4.  RE: Mirror port on EX2200

    Posted 02-17-2015 21:47

    Yes your right just delete the vlan member for ge-0/0/11 interface is one straight forward solution.

     

    And also without removing the interface from vlan also we can achive the port-mirroring.

    For that need to change the output as vlan.

     

     



  • 5.  RE: Mirror port on EX2200

    Posted 02-17-2015 23:38

     

    I like your solution but i have some question 

     

    for example

     

    output vlan 100

     

    vlan  100 interface ge-0/0/1

    vlan  100 interface ge-0/0/2

    vlan  100 interface ge-0/0/3 

     

    interface ge-0/0/1, 2, 3 will recieve packet from sorce port right ?

     



  • 6.  RE: Mirror port on EX2200

     
    Posted 02-17-2015 23:50

    Yes, the mirrored traffic will be sent through all three ports.




    =====

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.