Junos OS

last person joined: 4 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  How to setup trunk and access ports in an MX80?

    Posted 09-21-2010 18:07
    Hi there We just received our shiny brand new MX80 and I'm trying to make it work in a similar fashion to what we have in our EX3200. The idea is that I have a trunk port on both the EX3200 and the MX80 connecting the 2 together and I want to be able to connect hosts (no tag) to access ports on both devices on same vlan and be able to communicate between the 2 hosts. I have try the following config with no luck: The config I'm trying on the MX80 on the trunk port is: interface ge-1/0/0 unit 0 { family bridge { interface-mode trunk; vlan-id-list [ 221 3 ]; } } and the config for the access port on the MX80 is: interface ge-1/3/11 unit 0 { family bridge { interface-mode access; vlan-id 221; } } and the bridge domain config in the MX80 is: bridge-domain bsic domain-type bridge; vlan-id 221; the chassis network-services is setup to IP by the way, not sure if it makes any difference, I tried "ethernet" with no difference. I know the EX3200 side is fine, because it connects to other Juniper and cisco devices in trunk mode fine. any ideas? cheers Carlos


  • 2.  RE: How to setup trunk and access ports in an MX80?

    Posted 09-24-2010 07:46

    You should have a read of this:

    http://www.juniper.net/techpubs/software/junos/junos91/mx-solutions-guide/configuring-basic-mx-series-layer-2-features.html

    The MX and EX are very different. The MX is a router, than can also do lots of layer 2. That said it does things very different to an EX.



  • 3.  RE: How to setup trunk and access ports in an MX80?

    Posted 09-26-2010 12:55

    thanks Sonic

     

    I have actually tried the following:

     

    l...@lumos-re0# show interfaces ge-1/1/2
    unit 0 {
        family bridge {
            interface-mode access;
            vlan-id 400;
        }
    }
    
    [edit]
    l...@lumos-re0# show interfaces ge-1/1/3
    unit 0 {
        family bridge {
            interface-mode trunk;
            vlan-id-list [ 400 500 ];
        }
    }

    the parameters are different from EX series, you're right, but the idea it's the same, having ports in trunk and access mode. According to these guys:

     

    http://www.mail-archive.com/juniper-nsp@puck.nether.net/msg06684.html

     

    it is supposed to be available in MX series, but can't get it to work on MX80.

     

    any ideas?



  • 4.  RE: How to setup trunk and access ports in an MX80?

    Posted 09-29-2010 06:25

    I gave it a go and it worked for me. I also added an irb interface just to have another ip address in the same vlan for testing.

     

    ge-5/0/3 {
          unit 0 {
            family bridge {
                interface-mode trunk;
                vlan-id-list 44;
            }
        }
    }
    ge-5/0/5 {
        unit 0 {
            family bridge {
                interface-mode access;
                vlan-id 44;
            }
        }
    }
    irb {
        unit 44 {
            family inet {
                address 192.168.44.3/24;
            }           
        }               

     

     

            bridge-domains {    

        test {

            domain-type bridge;

            vlan-id 44;

            routing-interface irb.44;

        }

     

          run show bridge domain 

     

    Routing instance        Bridge domain            VLAN ID     Interfaces

    default-switch          test                     44       

                                                                 ge-5/0/3.0

                                                                 ge-5/0/5.0

     

    I can then ping the irb and devices plugged into the access or trunk interface.
    Good luck.


  • 5.  RE: How to setup trunk and access ports in an MX80?

    Posted 09-29-2010 12:52

    thanks for that Sonic,that gives me some hope 🙂

    just out of curiosity, which platform did you use for that test and which Junos version?

     

    cheers



  • 6.  RE: How to setup trunk and access ports in an MX80?

    Posted 09-29-2010 13:56

    sorry to bother you again

    that port ge-5/0/3 that you setup as trunk, is it connected to a switch?, if yes, are you able to ping from a host connected on that switch on vlan 44 to the irb and a host on the MX side and vice versa.

     

    That's actually the problem I'm experiencing, hosts on the MX are ok to ping between each other and the irb, but can't get them to talk to hosts on the other side of the trunk, on a switch on the same vlan.

     

    have a good one!



  • 7.  RE: How to setup trunk and access ports in an MX80?

    Posted 10-05-2010 08:41

    I used two cisco 3750s, as the hosts. One with the IP address on the physical interface facing the access port on the MX80 and the second 3750 with the trunk interface, I created a SVI on the 3750 in the same vlan. I was able to ping from the SVI on one 3750 to the ip address on the 2nd 3750 via the MX80.

     

     

    Hostname: MX-80
    Model: mx80
    JUNOS Base OS boot [10.3R1.9]
    JUNOS Base OS Software Suite [10.3R1.9]
    JUNOS Kernel Software Suite [10.3R1.9]
    JUNOS Crypto Software Suite [10.3R1.9]
    JUNOS Packet Forwarding Engine Support (MX80) [10.3R1.9]
    JUNOS Online Documentation [10.3R1.9]
    JUNOS Routing Software Suite [10.3R1.9]
    Good luck