Hi Vlad,

Here's an example:

Router 1:

    ge-0/0/4 {
        vlan-tagging;
        unit 200 {
            vlan-id 200;
            family inet {
                address 172.20.200.2/24 {
                    vrrp-group 10 {
                        virtual-address 172.20.200.1;
                        priority 200;
                        accept-data;
                        track {
                            interface ge-0/0/3.0 {
                                priority-cost 101;
                            }
                        }
                    }
                }
            }
        }
        unit 201 {
            vlan-id 201;
            family inet {
                address 172.20.201.2/24 {
                    vrrp-group 20 {
                        virtual-address 172.20.201.1;
                        priority 100;
                        accept-data;
                    }
                }
            }
        }
    }

Router 2:

    ge-0/0/4 {
        vlan-tagging;
        unit 200 {
            vlan-id 200;
            family inet {
                address 172.20.200.3/24 {
                    vrrp-group 10 {
                        virtual-address 172.20.200.1;
                        priority 100;
                        accept-data;
                    }
                }
            }
        }
        unit 201 {
            vlan-id 201;
            family inet {
                address 172.20.201.3/24 {
                    vrrp-group 20 {
                        virtual-address 172.20.201.1;
                        priority 200;
                        accept-data;
                        track {
                            interface ge-0/0/3.0 {
                                priority-cost 101;
                            }
                        }
                    }
                }
            }
        }
    }

HTHs..

Jared

--- On Wed, 2/16/11, Vlad Ion <[email protected]> wrote:

> From: Vlad Ion <[email protected]>
> Subject: [j-nsp] VRRP help needed
> To: [email protected]
> Date: Wednesday, February 16, 2011, 3:28 AM
> Hi,
> 
> I want to configure VRRP for 2 vlans on an interface from a
> J2320 but I
> can't seem to find a proper example... can someone please
> lend a hand with a
> simple example to create and apply 2 VRRP groups, one for
> each vlan?
> 
> Thanks in advance !
> _______________________________________________
> juniper-nsp mailing list [email protected]
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 


      
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to