Ethernet Switching
Highlighted
Ethernet Switching

EX4600 port mirror by vlan setup?

‎12-12-2019 02:42 PM

We have a stack of two EX4600's that form the core of our network and do layer 2 as well as all of our routing (layer 3). I have over 30 vlans defined with most of them routable. I went to setup a port-mirror by vlan and only two vlans show up, why?

 

Port.png

4 REPLIES 4
Highlighted
Ethernet Switching

Re: EX4600 port mirror by vlan setup?

‎12-12-2019 03:52 PM
Hi HendersonD,

Please check this and confirm if that covers your port-mirroring issue. Else please share the mirroring config and versions in use: https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/port-mirroring-limitatio...

Hope this helps.

Regards,
-r.

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

If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated :).
Highlighted
Ethernet Switching

Re: EX4600 port mirror by vlan setup?

‎12-13-2019 04:54 PM

Can you provide the following output from CLI,

 

show version

show configuration vlans

 

Here is a document with the configuration for EX4600/QFX5100 on CLI,

 

https://www.juniper.net/documentation/en_US/junos/topics/example/port-mirroring-local-qfx-series-els...




#####
Please mark my post as solution if it helped you
Kudos will also be appreciated
Highlighted
Ethernet Switching

Re: EX4600 port mirror by vlan setup?

‎12-14-2019 05:06 AM

In my post I show how I was trying to use J-Web to add vlans to my port mirror and only two showed up. I went to the command line and added 6 vlans to the port mirror as shown by the code fragment below. No traffic is being sent to port ge-1/2/5. I have provided the output of "show version" and "show configuration vlan".

 

analyzer {

    cyflare {

        input {

            ingress {

                vlan 28,32,36,40,44,125;

            }

        }

        output {

            interface ge-1/2/5.0;

        }

    }

}

 

root@Core> show version

fpc0:

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

Hostname: Core

Model: ex4600-40f

Junos: 17.3R3-S3.3

JUNOS Base OS Software Suite [17.3R3-S3.3]

JUNOS Base OS boot [17.3R3-S3.3]

JUNOS Crypto Software Suite [17.3R3-S3.3]

JUNOS Crypto Software Suite [17.3R3-S3.3]

JUNOS Online Documentation [17.3R3-S3.3]

JUNOS Kernel Software Suite [17.3R3-S3.3]

JUNOS Packet Forwarding Engine Support (qfx-ex-x86-32) [17.3R3-S3.3]

JUNOS Routing Software Suite [17.3R3-S3.3]

JUNOS jsd [i386-17.3R3-S3.3-jet-1]

JUNOS SDN Software Suite [17.3R3-S3.3]

JUNOS Enterprise Software Suite [17.3R3-S3.3]

JUNOS Web Management Platform Package [17.3R3-S3.3]

JUNOS py-base-i386 [17.3R3-S3.3]

JUNOS py-extensions-i386 [17.3R3-S3.3]

JUNOS Web Management Application package [17.3A1]

JUNOS Host Software [17.3R3-S3.3]

 

fpc1:

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

Hostname: Core

Model: ex4600-40f

Junos: 17.3R3-S3.3

JUNOS Base OS Software Suite [17.3R3-S3.3]

JUNOS Base OS boot [17.3R3-S3.3]

JUNOS Crypto Software Suite [17.3R3-S3.3]

JUNOS Crypto Software Suite [17.3R3-S3.3]

JUNOS Online Documentation [17.3R3-S3.3]

JUNOS Kernel Software Suite [17.3R3-S3.3]

JUNOS Packet Forwarding Engine Support (qfx-ex-x86-32) [17.3R3-S3.3]

JUNOS Routing Software Suite [17.3R3-S3.3]

JUNOS jsd [i386-17.3R3-S3.3-jet-1]

JUNOS SDN Software Suite [17.3R3-S3.3]

JUNOS Enterprise Software Suite [17.3R3-S3.3]

JUNOS Web Management Platform Package [17.3R3-S3.3]

JUNOS py-base-i386 [17.3R3-S3.3]

JUNOS py-extensions-i386 [17.3R3-S3.3]

JUNOS Web Management Application package [17.3A1]

JUNOS Host Software [17.3R3-S3.3]

 

root@Core> show configuration vlans

AP {

    description "Ruckus APs";

    vlan-id 8;

    l3-interface irb.8;

}

BG_MN {

    description "Bus Garage & Maintenance Wired";

    vlan-id 48;

    l3-interface irb.48;

}

DO_ECS {

    description "District Office/Early Childhood";

    vlan-id 28;

    l3-interface irb.28;

}

HS {

    description "High School Wired";

    vlan-id 44;

    l3-interface irb.44;

}

HVAC {

    description HVAC;

    vlan-id 124;

    l3-interface irb.124;

}

Hosts {

    description "ESXi Hosts";

    vlan-id 123;

    l3-interface irb.123;

}

Int {

    description "Intermediate Wired";

    vlan-id 36;

    l3-interface irb.36;

}

JH {

    description "Junior High Wired";

    vlan-id 40;

    l3-interface irb.40;

}

Lighting {

    description "LED Lighting";

    vlan-id 131;

}

Mgmt {

    description Management;

    vlan-id 6;                          

    l3-interface irb.6;

}

PhonesBG_MN {

    description "Bus Garage & Maintenance Phones";

    vlan-id 61;

    l3-interface irb.61;

}

PhonesDO_ECS {

    description "District Office & ECS Phones";

    vlan-id 56;

    l3-interface irb.56;

}

PhonesHS {

    description "High School Phones";

    vlan-id 60;

    l3-interface irb.60;

}

PhonesInt {

    description "Intermediate Phones";

    vlan-id 58;

    l3-interface irb.58;

}

PhonesJH {

    description "Junior High Phones";

    vlan-id 59;

    l3-interface irb.59;

}

PhonesPri {

    description "Primary Phones";

    vlan-id 57;

    l3-interface irb.57;

}

Pri {

    description "Primary Wired";

    vlan-id 32;

    l3-interface irb.32;

}

Router {

    description "BOCES Router";

    vlan-id 4;

    l3-interface irb.4;

}

SOC {

    description "SOC in a Box";

    vlan-id 120;

    l3-interface irb.120;               

}

Security {

    description "Surveillance Cameras & Card Access";

    vlan-id 132;

    l3-interface irb.132;

}

Servers {

    description Servers;

    vlan-id 125;

    l3-interface irb.125;

}

Storage {

    description Storage;

    vlan-id 126;

}

VDI {

    description "VMWare View";

    vlan-id 52;

    l3-interface irb.52;

}

WifiBG_MN {

    description "Bus Garage & Maintenance Wireless";

    vlan-id 240;

    l3-interface irb.240;

}

WifiDO_ECS {

    description "District Office & ECS Wireless";

    vlan-id 200;

    l3-interface irb.200;

}

WifiGuest1 {

    description "Guest Personal Devices1";

    vlan-id 144;

    l3-interface irb.144;

}

WifiGuest2 {

    description "Guest Personal Devices2";

    vlan-id 148;

    l3-interface irb.148;

}

WifiGuest3 {

    description "Guest Personal Devices3";

    vlan-id 152;

    l3-interface irb.152;

}

WifiGuest4 {                            

    description "Guest Personal Devices4";

    vlan-id 156;

    l3-interface irb.156;

}

WifiGuest5 {

    description "Guest Personal Devices5";

    vlan-id 160;

    l3-interface irb.160;

}

WifiGuest6 {

    description "Guest Personal Devices6";

    vlan-id 164;

    l3-interface irb.164;

}

WifiHS {

    description "High School Wireless";

    vlan-id 232;

    l3-interface irb.232;

}

WifiInt {

    description "Intermediate Wireless";

    vlan-id 216;

    l3-interface irb.216;

}

WifiJH {

    description "Junior High Wireless";

    vlan-id 224;

    l3-interface irb.224;

}

WifiPri {

    description "Primary Wireless";

    vlan-id 208;

    l3-interface irb.208;

}

WifiPrint {

    description "Wireless Printers";

    vlan-id 242;

    l3-interface irb.242;

}

default {

    vlan-id 1;

}

vMotion {

    description vMotion;

    vlan-id 127;

}

Highlighted
Ethernet Switching

Re: EX4600 port mirror by vlan setup?

‎12-17-2019 04:35 PM

The problem is solved and I learned two things

1. This has to be done via the command line. One of the few things we have come across where J-Web cannot be used

2. I was listing the vlans with commas between them. The correct syntax is separate lines for each vlan

Feedback