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.  In Band Management?

    Posted 11-22-2010 18:19

    Hi all,

     

     

    First of all sorry if this topic already have. But i search n not found. Currently i'm use ezsetup (default vlan) for inband management. My Question is it need to trunk also that default vlan at trunk interface at Access n Core Switch ? Currently i already try it but fail to ping or ssh to another equipment. Thanks n appreciate your feedback

     

     

    default {
            l3-interface vlan.0

     

     

    ge-0/0/22 {
            description "Trunk to Core01";
            unit 0 {
                family ethernet-switching {
                    port-mode trunk;
                    vlan {
                        members [ Stat-VlanFlr1 DHCP-VlanFlr1 Access-Card ];
                    }
                }
            }
        }



  • 2.  RE: In Band Management?

    Posted 11-23-2010 02:44

    You certainly will - use the following command to add the default VLAN as native (untagged) on that interface:

     

     

    set interfaces ge-0/0/22.0 family ethernet-switching native-vlan-id default

     

     

    If you want it to be tagged up to your core switch, use:

     

     

    set interfaces ge-0/0/22.0 family ethernet-switching vlan members default

     

     

    You can always check what VLANs are being switched on the interface with:

     

     

    show ethernet-switching interfaces ge-0/0/22

     

     

    If this helped, remember to click the Kudos star on the left!



  • 3.  RE: In Band Management?

    Posted 11-23-2010 17:50

    Hi dfex, I already add vlan default at trunk port but it display a error to tell that trunk port cannot have vlan members default. Thanks n appreciate your feedback.



  • 4.  RE: In Band Management?

    Posted 11-24-2010 15:16

    Can you post your VLANs configuration?  You may have the Default VLAN already assigned to that interface



  • 5.  RE: In Band Management?

    Posted 11-24-2010 18:04

    Hi  dfex,

     

     

    Below is the configuration for Acess Switch.

     

    [edit]
    root@Access# commit
    error: Trunk interface ge-0/0/23.0 should not have a vlan default with tag value 0
    error: configuration check-out failed

     

    [edit]
    root@Access# run show configuration vlans
    Access-Card {
        description "Access-Card VLAN";
        vlan-id 136;
    }
    DHCP-VlanFlr1 {
        description "DHCP VLAN for Level 1";
        vlan-id 201;
    }
    Stat-VlanFlr1 {
        description "Static VLAN for Level 1";
        vlan-id 101;
    }
    UPS-Vlan {
        description "UPS VLAN";
        vlan-id 300;
    }
    default {
        l3-interface vlan.0;
    }

     

     

    [edit]
    root@Access# run show configuration interfaces ge-0/0/23
    unit 0 {
        description "Trunk to Core 01 interface ge-0/0/23";
        family ethernet-switching {
            port-mode trunk;
            vlan {
                members [ Stat-VlanFlr1 DHCP-VlanFlr1 Access-Card UPS-Vlan ];
            }
        }
    }



  • 6.  RE: In Band Management?

    Posted 11-25-2010 12:05
    Ah okay, easy fix:

    set vlans default vlan-id 1



  • 7.  RE: In Band Management?
    Best Answer

    Posted 11-25-2010 17:16

    Hi Dfex,

     

     

    Thanks...That's work. Why juniper don't assign automatically for vlan-id default when using EzSetup. I think Juniper should make that default vlan id to 1. Thanks n appreciate.