Ethernet Switching
Reply
Contributor
rnperki
Posts: 40
Registered: ‎04-14-2011
0

Config Explanation

I have the following in the config of a 2200 switch, but I don't know what it is for, I have assigned a port 1 to vlan 100 and it works fine, can anyone explain what the long list of ports is underneath the vlans in Vlan 100 config is for?

 

interfaces {
    ge-0/0/0 {
        description Floor-Port-**;
        unit 0 {
            family ethernet-switching {
                port-mode access;
                vlan {                  
                    members Mgt;

 

 

 

vlans {
    IT-Test {
        vlan-id 101;
    }
    Mgt {
        vlan-id 100;
        interface {
            ge-0/0/0.0;
            ge-0/0/1.0;
            ge-0/0/2.0;
            ge-0/0/3.0;
            ge-0/0/4.0;
            ge-0/0/5.0;
            ge-0/0/6.0;                 
            ge-0/0/7.0;
            ge-0/0/8.0;
            ge-0/0/9.0;
            ge-0/0/10.0;
            ge-0/0/11.0;
            ge-0/0/12.0;
            ge-0/0/13.0;
            ge-0/0/14.0;
            ge-0/0/15.0;
            ge-0/0/16.0;
            ge-0/0/17.0;
            ge-0/0/18.0;
            ge-0/0/19.0;
            ge-0/0/20.0;
            ge-0/0/21.0;
            ge-0/0/22.0;
            ge-0/0/23.0;
            ge-0/0/24.0;
            ge-0/0/25.0;
            ge-0/0/26.0;
            ge-0/0/27.0;
            ge-0/0/28.0;
            ge-0/0/29.0;
            ge-0/0/30.0;
            ge-0/0/31.0;
            ge-0/0/32.0;
            ge-0/0/33.0;
            ge-0/0/34.0;
            ge-0/0/35.0;
            ge-0/0/36.0;
            ge-0/0/37.0;
            ge-0/0/38.0;
            ge-0/0/39.0;
            ge-0/0/40.0;
        }
        l3-interface vlan.0;

 

Thanks

 

Roger

Trusted Contributor
Stac Polaidh
Posts: 90
Registered: ‎01-24-2012
0

Re: Config Explanation

Hi,

 

Those are all the interfaces VLAN 100 is associated with. To read about this:

http://www.juniper.net/techpubs/en_US/junos9.4/topics/example/bridging-ex-series-multiple-vlans.html

Pier
Network and telephony support engineer
JNCIA-FWV, CCNP Voice, CCNA
Contributor
rnperki
Posts: 40
Registered: ‎04-14-2011
0

Re: Config Explanation

i am not sure about that as if I plug into port 2 I get no connectivity to vlan 100

 

these are referenced with a .0 on the end of the interface?

 

Roger

 

 

Trusted Contributor
Stac Polaidh
Posts: 90
Registered: ‎01-24-2012
0

Re: Config Explanation

Hi,

 

What output do you get if you do "show vlan"?

Pier
Network and telephony support engineer
JNCIA-FWV, CCNP Voice, CCNA
Super Contributor
nikolay.semov
Posts: 171
Registered: ‎03-15-2012
0

Re: Config Explanation

Or "sh eth int" for the same info but from the interface point of view.
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.