[j-nsp] (no subject)

Dan Farrell danno at appliedi.net
Mon Feb 22 14:01:20 EST 2010


I think your setup is configured in a workable manner (with the exclusion of RVI's, but you were referring to strict switching anyway and not L3 termination).

The example from production I'll give uses AE (Aggregated Ethernet links, or multiple ethernet links bonded together) to form the link between the two switches, which then pass vlans across the switched path. You could substitute this for a regular physical interface. As you see, with the exception of a few choices, our configurations are similar-


=====
Switch-a
=====

# show interfaces ae0
description "nap-r14-pub-1 - vlan 3914 - ge/0/0/46-47";
mtu 9216;
aggregated-ether-options {
    link-speed 1g;
    lacp {
        active;
    }
}
unit 0 {
    family ethernet-switching {
        port-mode trunk;
        vlan {
            members [ 3914 3951 2102-2149 hvpubn14 hvclustmgmt2 2150-2320 2321-2349 ];
        }
    }
}

{master:1}[edit]

=====
Switch-b
=====

# show interfaces ae0
mtu 9216;
aggregated-ether-options {
    lacp {
        active;
    }
}
unit 0 {
    family ethernet-switching {
        port-mode trunk;
        vlan {
            members [ 3914 3951 2102-2149 hvpubn14 hvclustmgmt2 2150-2320 2321-2349 ];
        }
    }
}

[edit]



1) establish the unit0 subinterface as a trunk port
2) designate the vlan membership
3) be sure you've done this on both sides.

I noticed in your setup you turned off flow-control. Is there a specific reason you did that? We run iSCSI sans for hundreds of VPS' and we leave it on (by default). Also, we run 9216 MTU for better performance on these links.


Dan Farrell
danno at appliedi.net


-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Paul Waller
Sent: Monday, February 22, 2010 5:25 AM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] (no subject)


Hi all,

Sorry but abit of a novice when it comes to layer2 switching and Juniper switches.

What I think I need to do is trunk between 2 junipers EX3200 switches, int g0/0/0 connects to the router & int g0/0/1 connects to the other juniper.  1 switch will trunk between between the junipers & then have a trunk port to the router.  It is only for 2 vlans, voice & data.  If anyone has a config snippet on how I do this it would be appreciated.

router <-------->switch 1<-------->switch 2

My config of switch 1:

interfaces {
    ge-0/0/0 {
        apply-macro juniper-port-profile {
            Desktop;
        }
        description "Wan Router";
        mtu 1514;
        ether-options {
            auto-negotiation;
            no-flow-control;
            link-mode automatic;
            speed {
                auto-negotiation;
            }
        }
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members [VOICE-VLAN DATA-VLAN];
                }
            }
        }
    }
    ge-0/0/1 {
        apply-macro juniper-port-profile {
            Desktop;
        }
        description "Connection to Juniper switch EX3200";
        mtu 1514;
        ether-options {
            auto-negotiation;
            no-flow-control;
            link-mode automatic;
            speed {
                auto-negotiation;
            }
        }
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members [VOICE-VLAN DATA-VLAN];
                }
            }
        }
    }



Switch 2 trunk config:

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







    ge-0/0/0 {
        apply-macro juniper-port-profile {
            Desktop;
        }
        description "Connection to Juniper switch EX3200";
        mtu 1514;
        ether-options {
            auto-negotiation;
            no-flow-control;
            link-mode automatic;
            speed {
                auto-negotiation;
            }
        }
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members [VOICE-VLAN DATA-VLAN];
                }
            }
        }
    }



Regards
Paul




_________________________________________________________________
Looking for a place to rent, share or buy? Find your next place with ninemsn Property
http://clk.atdmt.com/NMN/go/157631292/direct/01/
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4888 (20100222) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4888 (20100222) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



More information about the juniper-nsp mailing list