Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring Multicast Load Balancing over Aggregated Ethernet Links

    This example shows how to configure point-to-multipoint (P2MP) LSPs to load-balance across aggregated Ethernet links. The load balancing applies to all traffic types, including multicast. Feature parity for multicast load balancing of point-to-multipoint LSPs over aggregated Ethernet child links on the Junos Trio chipset is supported in Junos OS Releases 11.1R2, 11.2R2, and 11.4.

    Requirements

    Before you begin:

    Overview

    This example shows a sample topology and configuration to perform the following tasks:

    • Load balancing VPLS multicast traffic over link aggregation
    • Load balancing P2MP multicast traffic over link aggregation
    • Re-load balancing after a change in the nexthop topology

      Nexthop topology changes might include but are not limited to:

      • L2 membership change in the link aggregation
      • Indirect nexthop change
      • Composite nexthop change

    Figure 1 shows the topology for this example. The example includes the configuration for PE1 and PE2.

    Figure 1: Multicast Load Balancing over Aggregated Ethernet Links

    Multicast Load Balancing
over Aggregated Ethernet Links

    Configuration

    CLI Quick Configuration

    To quickly configure load balancing across aggregated Ethernet links, copy the following commands into a text file, remove any line breaks, and then paste the commands into the CLI.

    PE1:

    [edit]set forwarding-options hash-key family multiservice source-mac set forwarding-options hash-key family multiservice destination-mac set forwarding-options hash-key family multiservice payload ip layer-3 set interfaces ge-0/0/6 gigether-options 802.3ad ae0 set interfaces ge-0/1/6 gigether-options 802.3ad ae0 set interfaces ge-0/2/2 encapsulation ethernet-vpls set interfaces ge-0/2/2 unit 0 family vpls set interfaces ge-0/2/3 gigether-options 802.3ad ae0 set interfaces ge-0/2/6 gigether-options 802.3ad ae0 set interfaces ge-0/3/0 gigether-options 802.3ad ae0 set interfaces ge-0/3/1 gigether-options 802.3ad ae0 set interfaces ge-0/3/6 gigether-options 802.3ad ae0 set interfaces ge-1/0/6 gigether-options 802.3ad ae0 set interfaces ge-1/2/6 unit 0 family inet address 13.1.1.2/30 set interfaces ae0 unit 0 family inet address 11.11.11.1/30 set interfaces ae0 unit 0 family iso set interfaces ae0 unit 0 family mpls set policy-options policy-statement exp-to-fwd term a from community grn-com set policy-options policy-statement exp-to-fwd term a then install-nexthop lsp PE1-to-PE2 set policy-options policy-statement exp-to-fwd term a then accept set policy-options community grn-com members target:65000:1 set protocols rsvp interface all set protocols rsvp interface fxp0.0 disable set protocols mpls label-switched-path PE1-to-PE2 to 10.255.19.77 set protocols mpls label-switched-path PE1-to-PE3 to 10.255.19.79 set protocols mpls interface all set protocols mpls interface fxp0.0 disable set protocols bgp group int type internal set protocols bgp group int local-address 10.255.71.214 set protocols bgp group int family inet any set protocols bgp group int family l2vpn signaling set protocols bgp group int neighbor 10.255.19.77 set protocols bgp group int neighbor 10.255.19.79 set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface all set protocols ospf area 0.0.0.0 interface fxp0.0 disable set routing-instances vpls instance-type vpls set routing-instances vpls interface ge-0/2/2.0 set routing-instances vpls route-distinguisher 65000:1 set routing-instances vpls vrf-target target:65000:1 set routing-instances vpls protocols vpls site-range 3 set routing-instances vpls protocols vpls no-tunnel-services set routing-instances vpls protocols vpls site asia site-identifier 1 set routing-instances vpls protocols vpls site asia interface ge-0/2/2.0 set routing-instances vpls protocols vpls vpls-id 100

    PE2:

    [edit]set interfaces ge-0/0/7 gigether-options 802.3ad ae0 set interfaces ge-0/1/7 gigether-options 802.3ad ae0 set interfaces ge-0/2/3 gigether-options 802.3ad ae0 set interfaces ge-0/2/7 gigether-options 802.3ad ae0 set interfaces ge-2/0/0 gigether-options 802.3ad ae1 set interfaces ge-2/0/1 gigether-options 802.3ad ae1 set interfaces ge-2/0/2 gigether-options 802.3ad ae1 set interfaces ge-2/0/4 encapsulation ethernet-vpls set interfaces ge-2/0/4 unit 0 family vpls set interfaces ge-2/0/7 gigether-options 802.3ad ae0 set interfaces ge-2/0/9 unit 0 family inet address 1.1.1.1/30 set interfaces ge-2/0/9 unit 0 family mpls set interfaces ge-2/1/7 gigether-options 802.3ad ae0 set interfaces ge-2/2/7 gigether-options 802.3ad ae0 set interfaces ge-2/3/7 gigether-options 802.3ad ae0 set interfaces ae0 unit 0 family inet address 11.11.11.2/30 set interfaces ae0 unit 0 family iso set interfaces ae0 unit 0 family mpls set interfaces ae1 unit 0 family inet address 10.1.1.1/30 set interfaces ae1 unit 0 family mpls set protocols rsvp interface all set protocols rsvp interface fxp0.0 disable set protocols mpls label-switched-path PE2-to-PE3 from 10.255.19.77 set protocols mpls label-switched-path PE2-to-PE3 to 10.255.19.79 set protocols mpls label-switched-path PE2-to-PE1 to 10.255.71.214 set protocols mpls interface all set protocols mpls interface fxp0.0 disable set protocols bgp group int type internal set protocols bgp group int local-address 10.255.19.77 set protocols bgp group int family inet any set protocols bgp group int family l2vpn signaling set protocols bgp group int neighbor 10.255.71.214 set protocols bgp group int neighbor 10.255.19.79 set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface lo0.0 set protocols ospf area 0.0.0.0 interface ge-2/0/0.0 set protocols ospf area 0.0.0.0 interface ge-2/0/1.0 set protocols ospf area 0.0.0.0 interface ge-2/0/2.0 set protocols ospf area 0.0.0.0 interface ae0.0 set protocols ospf area 0.0.0.0 interface ae1.0 set protocols ospf area 0.0.0.0 interface all set protocols ospf area 0.0.0.0 interface fxp0.0 disable set protocols ldp interface all set protocols ldp interface fxp0.0 disable set routing-instances vpls instance-type vpls set routing-instances vpls interface ge-2/0/4.0 set routing-instances vpls route-distinguisher 65000:1 set routing-instances vpls vrf-target target:65000:1 set routing-instances vpls protocols vpls site-range 3 set routing-instances vpls protocols vpls no-tunnel-services set routing-instances vpls protocols vpls site 2 site-identifier 2 set routing-instances vpls protocols vpls site 2 interface ge-2/0/4.0 set routing-instances vpls protocols vpls vpls-id 100

    Step-by-Step Procedure

    To configure PE1:

    1. Configure PE1’s interfaces.

      [edit]user@host# edit interfaces[edit interfaces]user@host# set ge-0/0/6 gigether-options 802.3ad ae0 user@host# set ge-0/1/6 gigether-options 802.3ad ae0 user@host# set ge-0/2/2 encapsulation ethernet-vpls user@host# set ge-0/2/2 unit 0 family vpls user@host# set ge-0/2/3 gigether-options 802.3ad ae0 user@host# set ge-0/2/6 gigether-options 802.3ad ae0 user@host# set ge-0/3/0 gigether-options 802.3ad ae0 user@host# set ge-0/3/1 gigether-options 802.3ad ae0 user@host# set ge-0/3/6 gigether-options 802.3ad ae0 user@host# set ge-1/0/6 gigether-options 802.3ad ae0 user@host# set ge-1/2/6 unit 0 family inet address 13.1.1.2/30 user@host# set ae0 unit 0 family inet address 11.11.11.1/30 user@host# set ae0 unit 0 family iso user@host# set ae0 unit 0 family mpls user@host# exit
    2. On PE1, configure the packet header data to be used for per-flow load balancing.

      [edit]user@host# edit forwarding-options hash-key family multiservice[edit forwarding-options hash-key family multiservice]set source-mac set destination-mac set payload ip layer-3 user@host# exit
    3. Configure the routing policy on PE1.

      [edit]user@host# edit policy-options[edit policy-options]user@host# set policy-statement exp-to-fwd term a from community grn-com user@host# set policy-statement exp-to-fwd term a then install-nexthop lsp PE1-to-PE2 user@host# set policy-statement exp-to-fwd term a then accept user@host# set policy-options community grn-com members target:65000:1 user@host# exit
    4. Configure PE1’s routing protocols and MPLS.

      [edit]user@host# edit protocols[edit protocols]user@host# set rsvp interface all user@host# set rsvp interface fxp0.0 disable user@host# set mpls label-switched-path PE1-to-PE2 to 10.255.19.77 user@host# set mpls label-switched-path PE1-to-PE3 to 10.255.19.79 user@host# set mpls interface alluser@host# set mpls interface fxp0.0 disable user@host# set bgp group int type internal user@host# set bgp group int local-address 10.255.71.214 user@host# set bgp group int family inet any user@host# set bgp group int family l2vpn signaling user@host# set bgp group int neighbor 10.255.19.77 user@host# set bgp group int neighbor 10.255.19.79 user@host# set ospf traffic-engineering user@host# set ospf area 0.0.0.0 interface all user@host# set ospf area 0.0.0.0 interface fxp0.0 disable user@host# exit
    5. Configure VPLS on PE1.

      [edit]user@host# edit routing-instances vpls[edit routing-instances vpls]user@host# set instance-type vpls user@host# set interface ge-0/2/2.0 user@host# set route-distinguisher 65000:1 user@host# set vrf-target target:65000:1 user@host# set protocols vpls site-range 3 user@host# set protocols vpls no-tunnel-services user@host# set protocols vpls site asia site-identifier 1 user@host# set protocols vpls site asia interface ge-0/2/2.0 user@host# set protocols vpls vpls-id 100user@host# exit

    Step-by-Step Procedure

    To configure PE2:

    1. Configure PE2’s interfaces.

      [edit]user@host# edit interfaces[edit interfaces]user@host# set ge-0/0/7 gigether-options 802.3ad ae0 user@host# set ge-0/1/7 gigether-options 802.3ad ae0 user@host# set ge-0/2/3 gigether-options 802.3ad ae0 user@host# set ge-0/2/7 gigether-options 802.3ad ae0 user@host# set ge-2/0/0 gigether-options 802.3ad ae1 user@host# set ge-2/0/1 gigether-options 802.3ad ae1 user@host# set ge-2/0/2 gigether-options 802.3ad ae1 user@host# set ge-2/0/4 encapsulation ethernet-vpls user@host# set ge-2/0/4 unit 0 family vpls user@host# set ge-2/0/7 gigether-options 802.3ad ae0 user@host# set ge-2/0/9 unit 0 family inet address 1.1.1.1/30 user@host# set ge-2/0/9 unit 0 family mpls user@host# set ge-2/1/7 gigether-options 802.3ad ae0 user@host# set ge-2/2/7 gigether-options 802.3ad ae0 user@host# set ge-2/3/7 gigether-options 802.3ad ae0 user@host# set ae0 unit 0 family inet address 11.11.11.2/30 user@host# set ae0 unit 0 family iso user@host# set ae0 unit 0 family mpls user@host# set ae1 unit 0 family inet address 10.1.1.1/30 user@host# set ae1 unit 0 family mpls user@host# exit
    2. Configure PE1’s routing protocols and MPLS.

      [edit]user@host# edit protocols[edit protocols]user@host# set rsvp interface all user@host# set rsvp interface fxp0.0 disable user@host# set mpls label-switched-path PE2-to-PE3 from 10.255.19.77 user@host# set mpls label-switched-path PE2-to-PE3 to 10.255.19.79 user@host# set mpls label-switched-path PE2-to-PE1 to 10.255.71.214 user@host# set mpls interface all user@host# set mpls interface fxp0.0 disable user@host# set bgp group int type internal user@host# set bgp group int local-address 10.255.19.77 user@host# set bgp group int family inet any user@host# set bgp group int family l2vpn signaling user@host# set bgp group int neighbor 10.255.71.214 user@host# set bgp group int neighbor 10.255.19.79 user@host# set ospf traffic-engineering user@host# set ospf area 0.0.0.0 interface lo0.0 user@host# set ospf area 0.0.0.0 interface ge-2/0/0.0 user@host# set ospf area 0.0.0.0 interface ge-2/0/1.0 user@host# set ospf area 0.0.0.0 interface ge-2/0/2.0 user@host# set ospf area 0.0.0.0 interface ae0.0 user@host# set ospf area 0.0.0.0 interface ae1.0 user@host# set ospf area 0.0.0.0 interface all user@host# set ospf area 0.0.0.0 interface fxp0.0 disable user@host# set ldp interface all user@host# set ldp interface fxp0.0 disable user@host# exit
    3. Configure VPLS on PE1.

      [edit]user@host# edit routing-instances vpls[edit routing-instances vpls]user@host# set instance-type vpls user@host# set interface ge-2/0/4.0 user@host# set route-distinguisher 65000:1 user@host# set vrf-target target:65000:1 user@host# set protocols vpls site-range 3 user@host# set protocols vpls no-tunnel-services user@host# set protocols vpls site 2 site-identifier 2 user@host# set protocols vpls site 2 interface ge-2/0/4.0 user@host# set protocols vpls vpls-id 100user@host# exit

    Results

    From configuration mode, confirm your configuration by entering the show forwarding-options, show interfaces, show policy-options, show protocols, and show routing-instances commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    PE1:

    user@host# show forwarding-optionshash-key {family multiservice {source-mac;destination-mac;payload {ip {layer-3;}}}}
    user@host# show interfacesge-0/0/6 {gigether-options {802.3ad ae0;}}ge-0/1/6 {gigether-options {802.3ad ae0;}}ge-0/2/2 {encapsulation ethernet-vpls;unit 0 {family vpls;}}ge-0/2/3 {gigether-options {802.3ad ae0;}}ge-0/2/6 {gigether-options {802.3ad ae0;}}ge-0/3/0 {gigether-options {802.3ad ae0;}}ge-0/3/1 {gigether-options {802.3ad ae0;}}ge-0/3/6 {gigether-options {802.3ad ae0;}}ge-1/0/6 {gigether-options {802.3ad ae0;}}ge-1/2/6 {unit 0 {family inet {address 13.1.1.2/30;}}}ae0 {unit 0 {family inet {address 11.11.11.1/30;}family iso;family mpls;}}
    user@host# show policy-optionspolicy-statement exp-to-fwd {term a {from community grn-com;then {install-nexthop lsp PE1-to-PE2;accept;}}}community grn-com members target:65000:1;
    user@host# show protocolsmpls {label-switched-path PE1-to-PE2 {to 10.255.19.77;}label-switched-path PE1-to-PE3 {to 10.255.19.79;}}bgp {group int {type internal;local-address 10.255.71.214;family inet {any;}family l2vpn {signaling;}neighbor 10.255.19.77;neighbor 10.255.19.79;}}ospf {traffic-engineering;area 0.0.0.0 {interface all;interface fxp0.0 {disable;}}}
    user@host# show routing-instancesvpls {instance-type vpls;interface ge-0/2/2.0;route-distinguisher 65000:1;vrf-target target:65000:1;protocols {vpls {site-range 3;no-tunnel-services;site asia {site-identifier 1;interface ge-0/2/2.0;}vpls-id 100;}}}

    PE2:

    user@host# show interfacesge-0/0/7 {gigether-options {802.3ad ae0;}}ge-0/1/7 {gigether-options {802.3ad ae0;}}ge-0/2/3 {gigether-options {802.3ad ae0;}}ge-0/2/7 {gigether-options {802.3ad ae0;}}ge-2/0/0 {gigether-options {802.3ad ae1;}}ge-2/0/1 {gigether-options {802.3ad ae1;}}ge-2/0/2 {gigether-options {802.3ad ae1;}}ge-2/0/4 {encapsulation ethernet-vpls;unit 0 {family vpls;}}ge-2/0/7 {gigether-options {802.3ad ae0;}}ge-2/0/9 {unit 0 {family inet {address 1.1.1.1/30;}family mpls;}}ge-2/1/7 {gigether-options {802.3ad ae0;}}ge-2/2/7 {gigether-options {802.3ad ae0;}}ge-2/3/7 {gigether-options {802.3ad ae0;}}ae0 {unit 0 {family inet {address 11.11.11.2/30;}family iso;family mpls;}}ae1 {unit 0 {family inet {address 10.1.1.1/30;}family mpls;}}
    user@host# show protocolsrsvp {interface all;interface fxp0.0 {disable;}}mpls {label-switched-path PE2-to-PE3 {from 10.255.19.77;to 10.255.19.79;}label-switched-path PE2-to-PE1 {to 10.255.71.214;}interface all;interface fxp0.0 {disable;}}bgp {group int {type internal;local-address 10.255.19.77;family inet {any;}family l2vpn {signaling;}neighbor 10.255.71.214;neighbor 10.255.19.79;}}ospf {traffic-engineering;area 0.0.0.0 {interface lo0.0;interface ge-2/0/0.0;interface ge-2/0/1.0;interface ge-2/0/2.0;interface ae0.0;interface ae1.0;interface all;interface fxp0.0 {disable;}}}ldp {interface all;interface fxp0.0 {disable;}}
    user@host# show routing-instancesvpls {instance-type vpls;interface ge-2/0/4.0; ## 'ge-2/0/4.0' is not definedroute-distinguisher 65000:1;vrf-target target:65000:1;protocols {vpls {site-range 3;no-tunnel-services;site 2 {site-identifier 2;interface ge-2/0/4.0;}vpls-id 100;}}}

    Verification

    You can monitor the operation of the routing instance by running the show interfaces ae1.0 extensive and monitor interface traffic commands.

    For troubleshooting, you can configure tracing operations for all of the protocols.

    Published: 2012-06-13