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.  Managing a Cisco switch connected to a Juniper Core switch

    Posted 08-29-2014 02:05

    Hi Guys,

    I have a 3750 cisco switch connected to a juniper EX3300 through a trunk.(LAG/LACP)

    I have setup the trunk to allow all Vlans.same on my ae0 port.

    An Ip was assigned on the sisco side to Vlan 100 with default gateway the juniper IP.

    I'm not able to manage the Cisco through it's IP, could you please drive me on what is missing .

     

    Thanks



  • 2.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 08-29-2014 05:46

    If it is possible to have a look at configuration and some "show" "show vlan, show interfaces, show ethernet switching table or so on, first have to validate that LAG/LACP are up and good behaving, then have a look at vlan configuration I guess.



  • 3.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-01-2014 03:25
      |   view attached

    This is my configuration:

     

    Juniper Configuration
    juniper# show ae0
    description "linkagg to 3750 stack";
    aggregated-ether-options {
    lacp {
    active;
    }
    }
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
    vlan {
    members [ Lan_z Lan_a all ];
    }
    }
    }

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

    juniper# show vlans
    Lan_c {
    vlan-id 6;
    }
    Lan_d {
    vlan-id 4;
    l3-interface vlan.4;
    }
    Lan_x {
    vlan-id 2;
    l3-interface vlan.2;
    }
    Lan_y{
    vlan-id 8;
    l3-interface vlan.8;
    }
    Lan_z {
    vlan-id 7;
    l3-interface vlan.7;
    }
    Lan_a {
    vlan-id 5;
    l3-interface vlan.5;
    }
    Lan_b {
    vlan-id 3;
    l3-interface vlan.3;
    }
    default {
    l3-interface vlan.0;

    ------

    juniper# run show lacp interfaces
    Aggregated interface: ae0
    LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
    ge-0/0/1 Actor No No Yes Yes Yes Yes Fast Active
    ge-0/0/1 Partner No No Yes Yes Yes Yes Slow Active
    ge-1/0/1 Actor No No Yes Yes Yes Yes Fast Active
    ge-1/0/1 Partner No No Yes Yes Yes Yes Slow Active
    LACP protocol: Receive State Transmit State Mux State
    ge-0/0/1 Current Slow periodic Collecting distributing
    ge-1/0/1 Current Slow periodic Collecting distributing

    ------
    juniper# show interfaces ge-0/0/1
    description "ae0 linkagg to 3750";
    ether-options {
    802.3ad ae0;
    }
    ------------
    juniper# show interfaces ge-1/0/1
    description "ae0 linkagg to 3750";
    ether-options {
    802.3ad ae0;
    }


    Cisco Side:

    Cisco# show run 

    interface Port-channel1
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 5,7,100
    switchport mode trunk
    spanning-tree portfast trunk

     

    ---------

    cisco#show running-config interface gigabitEthernet 2/0/1
    Building configuration...

    Current configuration : 197 bytes
    !
    interface GigabitEthernet2/0/1 
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 5,7,100
    switchport mode trunk
    channel-group 1 mode active
    spanning-tree portfast trunk
    end

    -----

    Same as for interface gi1/0/1 that participate for port-channel.

     

    cisco#show running-config interface vlan 100

    !
    interface Vlan100
    ip address x.x.x.150 255.255.255.240
    end

     -----

    ip default gateway (juniper ip adress )

     

     

     

    Let me know if you need more Info.

     

    Thanks for your help.

     



  • 4.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-01-2014 06:43

    Not sure if I well understand, but Juniper does not have vlan 100?

     

    In this case, if you try to reach it through the Juniper ae, it won't work?

     

    You said you set up defulat gw of Cisco as Juniper IP, but in the other way you don't have a way to reach Cisco IP on vlan100?



  • 5.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-01-2014 08:30

    Correct I have just added Vlan 100 on the juniper side and assigned interface ae0 to it.

    ------

    Junper#sh vlans

    Name Tag Interfaces
    Admin 100
    ae0.0*

    -----

     

    When I do a show vlan terse I got the follwoing:

     

    vlan.0 up down inet
    vlan.2 up up inet  x.x.x.x/28
    vlan.3 up up inet  x.x.x.x/25
    vlan.4 up up inet  x.x.x.x/28

    do I need to setup an ip for that newly create Vlan 100 ?

     

    Thanks



  • 6.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-01-2014 09:02

    I guess so, you have to configure for interface vlan.100 the IP you set up as GW for Cisco, regarding your setup?



  • 7.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-01-2014 09:29

    But this one already exist on the juniper side as Unit 2,

    Juniper#sh interface vlan

    unit 2 {
    description Int;
    family inet {
    address junipIP/28;

     

    and 

    juniper#sh interfaces terse

    vlan.2                  up    up   inet     junipIP/28

     



  • 8.  RE: Managing a Cisco switch connected to a Juniper Core switch
    Best Answer

    Posted 09-01-2014 09:50

    Once again, not sure I correctly understood your setup but:

     

    Lan_x {
    vlan-id 2;
    l3-interface vlan.2;

     

    On one side, and vlan 100 on cisco side? There is a tag mismatch here no? Should be 2 or 100 on both sides

     

    On cisco you specify:

    interface GigabitEthernet2/0/1 
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 5,7,100

     

    and Juniper uses tag 2 for the same subnet? Could not work if its that.



  • 9.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-02-2014 04:52

    Thank you , worked now since I setup the trunk to to allow the same vlan 2 as in juniper.

     

     



  • 10.  RE: Managing a Cisco switch connected to a Juniper Core switch

    Posted 09-02-2014 04:55

    Yay! Thanks for feedback, always appreciated 🙂