Switching

Expand all | Collapse all

2 qfx5100 vcf?

Jump to Best Answer
  • 1.  2 qfx5100 vcf?

    Posted 10-18-2017 15:45


    A little background before I crack into it: I just started a new job, and my past experience was with cisco adtran etc. The last network engineer left the week I started here, so I don't have a lot of people around me for support on this. Right now I have 2 qfx set up on a pretty simple config.

    version 13.2X51-D30.4;
    system {
        host-name Juniper-GrackSwtich-1135;
        arp {
            aging-timer 5;
        }
        }
        services {
            ssh;
        }
        syslog {
            user * {
                any emergency;
            }
            file messages {
                any notice;
                authorization info;
            }
            file interactive-commands {
                interactive-commands any;
            }
        }
        processes {
            dhcp-service {
                traceoptions {
                    file dhcp_logfile size 10m;
                    level all;
                    flag all;
                }
            }
            app-engine-virtual-machine-management-service {
                traceoptions {
                    level notice;
                    flag all;
                }
            }
        }
    }
    chassis {
        aggregated-devices {
            ethernet {
                device-count 1;
            }
        }
    }
    interfaces {
        xe-0/0/0 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/1 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/2 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {                        
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/3 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/4 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/5 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/6 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/7 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/8 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching { 
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
    ...........
        xe-0/0/43 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/44 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }                               
        }
        xe-0/0/45 {
            ether-options {
                auto-negotiation;
                802.3ad ae0;
            }
        }
        xe-0/0/46 {
            ether-options {
                auto-negotiation;
                802.3ad ae0;
            }
        }
        xe-0/0/47 {
            ether-options {
                auto-negotiation;
            }
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/48 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/48:0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/48:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/48:2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/48:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/49 {
            unit 0 {
                family ethernet-switching { 
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/49:0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/49:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/49:2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/49:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/50 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/50:0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/50:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/50:2 {
            unit 0 {                        
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/50:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/51 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/51:0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/51:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/51:2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/51:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/52 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/52:0 {                       
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/52:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/52:2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/52:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        et-0/0/53 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/53:0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/53:1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        xe-0/0/53:2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }                                   
        xe-0/0/53:3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                    storm-control default;
                }
            }
        }
        ae0 {
            aggregated-ether-options {
                minimum-links 1;
                link-speed 10g;
                lacp {
                    active;
                    periodic fast;
                }
            }
            unit 0 {
                family ethernet-switching {
                    interface-mode access;
                    vlan {
                        members default;
                    }
                }
            }
        }
        em1 {
            unit 0 {
                family inet;
            }
        }
        irb {
            unit 0 {
                family inet {
                    address 10.20.70.2/23;
                }
            }
        }
        vme {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48c-6q;
                    }
                }
            }
        }
    }
    forwarding-options {
        storm-control-profiles default {
            all;
        }
    }
    routing-options {
        static {
            route 0.0.0.0/0 next-hop 10.20.70.1;
        }
    }
    protocols {
        lldp {
            interface all;
        }
        lldp-med {
            interface all;
        }
        igmp-snooping {
            vlan default;
        }
        rstp {
            interface xe-0/0/0;
            interface xe-0/0/1;
            interface xe-0/0/2;
            interface xe-0/0/3;
            interface xe-0/0/4;
            interface xe-0/0/5;
            interface xe-0/0/6;
            interface xe-0/0/7;             
            interface xe-0/0/8;
            interface xe-0/0/9;
            interface xe-0/0/10;
            interface xe-0/0/11;
            interface xe-0/0/12;
            interface xe-0/0/13;
            interface xe-0/0/14;
            interface xe-0/0/15;
            interface xe-0/0/16;
            interface xe-0/0/17;
            interface xe-0/0/18;
            interface xe-0/0/19;
            interface xe-0/0/20;
            interface xe-0/0/21;
            interface xe-0/0/22;
            interface xe-0/0/23;
            interface xe-0/0/24;
            interface xe-0/0/25;
            interface xe-0/0/26;
            interface xe-0/0/27;
            interface xe-0/0/28;
            interface xe-0/0/29;
            interface xe-0/0/30;
            interface xe-0/0/31;
            interface xe-0/0/32;
            interface xe-0/0/33;
            interface xe-0/0/34;
            interface xe-0/0/35;
            interface xe-0/0/36;
            interface xe-0/0/37;
            interface xe-0/0/38;
            interface xe-0/0/39;
            interface xe-0/0/40;
            interface xe-0/0/41;
            interface xe-0/0/42;
            interface xe-0/0/43;
            interface xe-0/0/44;
            interface xe-0/0/47;
            interface et-0/0/48;
            interface xe-0/0/48:0;
            interface xe-0/0/48:1;
            interface xe-0/0/48:2;
            interface xe-0/0/48:3;
            interface et-0/0/49;
            interface xe-0/0/49:0;
            interface xe-0/0/49:1;
            interface xe-0/0/49:2;
            interface xe-0/0/49:3;
            interface et-0/0/50;
            interface xe-0/0/50:0;
            interface xe-0/0/50:1;
            interface xe-0/0/50:2;
            interface xe-0/0/50:3;
            interface et-0/0/51;
            interface xe-0/0/51:0;
            interface xe-0/0/51:1;
            interface xe-0/0/51:2;
            interface xe-0/0/51:3;
            interface et-0/0/52;
            interface xe-0/0/52:0;
            interface xe-0/0/52:1;
            interface xe-0/0/52:2;
            interface xe-0/0/52:3;
            interface et-0/0/53;
            interface xe-0/0/53:0;
            interface xe-0/0/53:1;
            interface xe-0/0/53:2;
            interface xe-0/0/53:3;
            interface ae0;
        }
    }
    vlans {
        default {
            vlan-id 70;
            l3-interface irb.0;
        }
    }

    and 

    version 14.1X53-D27.3;
    system {
        host-name Juniper-GrackSwitch-1135-slave
        }
        services {
            ssh;
        }
        syslog {
            user * {
                any emergency;
            }
            file messages {
                any notice;
                authorization info;
            }
            file interactive-commands {
                interactive-commands any;
            }
        }
        extensions {
            providers {
                juniper {
                    license-type juniper deployment-scope commercial;
                }
                chef {
                    license-type juniper deployment-scope commercial;
                }
            }
        }
        processes {
            dhcp-service {
                traceoptions {
                    file dhcp_logfile size 10m;
                    level all;
                    flag all;
                }
            }
            app-engine-virtual-machine-management-service {
                traceoptions {
                    level notice;
                    flag all;
                }
            }
        }
    }
    chassis {
        fpc 0 {
            pic 0 {
                port 53 {
                    channel-speed 10g;
                }
            }
        }
    }
    interfaces {
        xe-0/0/0 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/2 {
            unit 0 {
                family ethernet-switching {
                    vlan {                  
                        members default;
                    }
                }
            }
        }
        xe-0/0/3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
    ...........   
     }
        xe-0/0/45 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/46 {
            unit 0 {
                family ethernet-switching { 
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/47 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/48 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/48 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/49 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/49 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/50 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/50 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/51 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/51 {                         
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/52 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/52 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        et-0/0/53 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        xe-0/0/53 {
            unit 0 {
                family ethernet-switching {
                    interface-mode access;
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/53:0 {
            unit 0 {
                family ethernet-switching {
                    interface-mode access;
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/53:1 {
            unit 0;
        }
        xe-0/0/53:2 {
            unit 0;
        }
        xe-0/0/53:3 {
            unit 0;
        }
        xe-0/0/54 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/55 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }                       
                }
            }
        }
        xe-0/0/56 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/57 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/58 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        xe-0/0/59 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members default;
                    }
                }
            }
        }
        em1 {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
        irb {
            unit 0 {
                family inet {
                    address 10.20.70.3/23;
                }
            }
        }
        vme {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper-qfx5100-48t-6q;
                    }
                }
            }
        }
    }
    forwarding-options {
        storm-control-profiles default {
            all;
        }
    }
    routing-options {
        static {
            route 0.0.0.0/0 next-hop 10.20.70.1;
        }
    }
    protocols {
        lldp {
            interface all;
        }                                   
        lldp-med {
            interface all;
        }
        igmp-snooping {
            vlan default;
        }
    }
    vlans {
        default {
            vlan-id 70;
            l3-interface irb.0;
        }
    }

    I can see now that they both have different firmwares installed. If I want to set the 2 switches in a stack, I will need to upgrade the firmware. I'm wondering what I should pick from for their ios--install media or install package? It is a little bit confusing, right?

     

    My overall goal is to set up both switches in a stack and have them uplink through the QSFP to SFP adapted for a 10g fiber uplink. Every port should be on vlan 70.

     

    I have a question: should I worry about stacking them? Or should I just do a QSFP to QSFP link and just have it work that way? It seems like I'm closer to that right now anyway.

    Any help would be hugely appreciated, so thank you. I was able to get it running this far from scratch, but this part is stumping me.

     



  • 2.  RE: 2 qfx5100 vcf?

    Posted 10-18-2017 20:28

    Hi Jason,

     

    Yes, you need to have same version on both switches for creating virtual-chassis(VC).

    Virtual-chassis Fabric(VCF) is incorrect terminology in this case as VCF is spine and leaf topology and cannot be formed with just two devices.

    Install package is copied to the device using SCP or by mounting USB and installed by command request system software add whereas install media is a bootable image to be loaded into USB and can be used as an emergency boot device. In your case, you should be able to use install package. for more info refer https://www.juniper.net/documentation/en_US/junos/topics/concept/understanding-junos-freebsd-package-naming.html

    >Prefix—This is junos-install. This prefix takes the place of the prefix jinstall and the bundle jbundle. We still use the term bundle in the new package-naming convention. Starting in Junos OS Release 15.1F3, PTX5000 and MX240, MX480, MX960, MX2010, and MX2020 routers run Junos OS with upgraded FreeBSD as a guest virtual machine (VM) on a Linux VM host. The installation package for these routers has the junos-vmhost-install prefix.
    >Media keyword—Added to the prefix, a media keyword is only used when the image is not for use with the request system software add command. Values for the media keyword include usb for images installed from a USB drive or net for images installed over a network; for example, the entire prefix of your package might be junos-install-usb-.

    I would recommend you to build virtual-chassis by upgrading them to same version instead of using as standalone. VC has many advantages over standalone device.

     

    Regards,

     

    Raj Maradia



  • 3.  RE: 2 qfx5100 vcf?

    Posted 10-19-2017 12:12

    ok so one more question i see that i can download directly to the switch witch is pretty cool. but i dont know what file to grab Install Media or Install Package and then im guessing also grab the  with Enhanced Automation  vs reg one?



  • 4.  RE: 2 qfx5100 vcf?
    Best Answer

    Posted 10-19-2017 13:25

    You will need install package - install media is for USB installation during bootup. Install packages are for online upgrades/downgrades.

    Just grab the image with enhanced automation which gives possibility to integrate with eg. VMware NSX (requires license) and similar.

     

    Regarding upgrade; Please be advised that when you connect the two switches in a virtual chassis, only one of the configurations will survice - so port configuration from "slave" switch needs to be copied to master-switch in advance.

     

    Information about configuring VC on QFX5100: https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/virtual-chassis-qfx-series-cli.html

     

     



  • 5.  RE: 2 qfx5100 vcf?

    Posted 10-23-2017 08:23

    ok i can see home plate im almost there! but now that the next switch is in i cant change its config at all. if i try and do set interfaces i dont see any of the 1/0/x ports.

     

    root@Juniper-GrackSwtich-1135> show virtual-chassis status 
    
    Preprovisioned Virtual Chassis
    Virtual Chassis ID: ae35.6205.942a
    Virtual Chassis Mode: Mixed
                                                    Mstr           Mixed Route Neighbor List
    Member ID  Status   Serial No    Model          prio  Role      Mode  Mode ID  Interface
    0 (FPC 0)  Prsnt    TR0214510217 qfx5100-48t-6q 129   Master*      Y  VC   1  vcp-255/0/52
    1 (FPC 1)  Prsnt    TR0216360075 qfx5100-48t-6q 128   Backup       Y  VC   0  vcp-255/0/52
    

    and if i do sho interfaces terse i can see the 1/0/0

    but there all set to this .161386 subeterface and i can seam to find out how to change the configs on the xe-1/0/0 or any thing on that?

     

    the main swtich is working still great but i just cant get the backup side for configering it all for the same vlan.  

    THANKS!!!!

     

     

     

    Turns out you then have to fully config them 

    wildcard range set interfaces xe-1/0/[0-47].....