Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring IGMP Snooping in MC-LAG Active-Active Mode on MX Series Routers

This example shows how to configure Internet Group Management Protocol (IGMP) snooping for uninterrupted traffic flow on MX Series routers with a multichassis link aggregation group (MC-LAG) in an active-active scenario.

Requirements

This example uses the following hardware and software components:

  • Four Juniper Networks MX Series routers
  • Junos OS Release 11.2 or later running on all four routers

Before you begin, make sure that Protocol Independent Multicast (PIM) and IGMP are running on all interfaces that will receive multicast packets. IGMP is automatically enabled on all IPv4 interfaces on which you configure PIM.

Overview

When links are aggregated, the links can be treated as if they were a single link. Link aggregation increases bandwidth, provides graceful degradation as failure occurs, and increases availability. MC-LAG provides redundant Layer 2 access connectivity at the node level. This enables two or more systems to share a common LAG endpoint. The multiple end points present a single logical chassis to the start point, and the start node does not need to be aware that MC-LAG is being used.

In this example, the CE router is not aware that its aggregated Ethernet links are connected to two separate PE devices. The two PE devices each have a LAG connected to the CE device. The configured mode is active-active, meaning that both PE routers’ LAG ports are active and carrying traffic at the same time.

Note: The other possible mode is active-standby, in which one of the router’s ports only becomes active when failure is detected in the active links. In active-standby mode, the PE routers perform an election to determine the active and standby routers.

In Figure 1, from the perspective of the router CE, all four ports belonging to a LAG are connected to a single service provider device. Because the configured mode is active-active, all four ports are active, and the CE device load-balances the traffic to the peering PE devices. On the PE routers, a regular LAG is configured facing the CE device.

Inter-Chassis Control Protocol (ICCP) messages are sent between the two PE devices. These messages exchange MC-LAG configuration parameters and ensure that both chassis use the correct Link Aggregation Control Protocol (LACP) parameters when talking to the CE device.

The interchassis link-protection link (ICL) provides redundancy when a link failure occurs on one of the active links. The ICL-PL between the MC-LAG peering devices relays traffic that would otherwise be dropped due to a link failure.

Topology Diagram

Figure 1 shows the topology used in this example.

Figure 1: IGMP Snooping in MC-LAG Active-Active Mode on MX Series Routers

 IGMP
Snooping in MC-LAG Active-Active Mode on MX Series Routers

Configuring the PE Routers

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Router PE1

set chassis aggregated-devices ethernet device-count 5set interfaces ge-1/0/1 gigether-options 802.3ad ae1set interfaces ge-1/0/2 unit 0 family inet address 100.100.100.1/30set interfaces ge-1/0/6 gigether-options 802.3ad ae0set interfaces ge-1/1/1 flexible-vlan-taggingset interfaces ge-1/1/1 encapsulation flexible-ethernet-servicesset interfaces ge-1/1/1 unit 0 encapsulation vlan-bridgeset interfaces ge-1/1/1 unit 0 vlan-id-range 100-110set interfaces ge-1/1/4 flexible-vlan-taggingset interfaces ge-1/1/4 encapsulation flexible-ethernet-servicesset interfaces ge-1/1/4 unit 0 encapsulation vlan-bridgeset interfaces ge-1/1/4 unit 0 vlan-id-range 100-110set interfaces ae0 flexible-vlan-taggingset interfaces ae0 encapsulation flexible-ethernet-servicesset interfaces ae0 aggregated-ether-options lacp activeset interfaces ae0 aggregated-ether-options lacp system-priority 100set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:05set interfaces ae0 aggregated-ether-options lacp admin-key 1set interfaces ae0 aggregated-ether-options mc-ae mc-ae-id 5set interfaces ae0 aggregated-ether-options mc-ae redundancy-group 10set interfaces ae0 aggregated-ether-options mc-ae chassis-id 1set interfaces ae0 aggregated-ether-options mc-ae mode active-activeset interfaces ae0 aggregated-ether-options mc-ae status-control activeset interfaces ae0 unit 0 encapsulation vlan-bridgeset interfaces ae0 unit 0 vlan-id-range 100-110set interfaces ae0 unit 0 multi-chassis-protection 100.100.100.2 interface ge-1/1/4.0set interfaces ae1 flexible-vlan-taggingset interfaces ae1 encapsulation flexible-ethernet-servicesset interfaces ae1 aggregated-ether-options lacp activeset interfaces ae1 aggregated-ether-options lacp system-priority 100set interfaces ae1 aggregated-ether-options lacp system-id 00:00:00:00:00:05set interfaces ae1 aggregated-ether-options lacp admin-key 1set interfaces ae1 aggregated-ether-options mc-ae mc-ae-id 10set interfaces ae1 aggregated-ether-options mc-ae redundancy-group 10set interfaces ae1 aggregated-ether-options mc-ae chassis-id 1set interfaces ae1 aggregated-ether-options mc-ae mode active-activeset interfaces ae1 aggregated-ether-options mc-ae status-control activeset interfaces ae1 unit 0 encapsulation vlan-bridgeset interfaces ae1 unit 0 vlan-id-range 100-110set interfaces ae1 unit 0 multi-chassis-protection 100.100.100.2 interface ge-1/1/4.0set bridge-domains bd0 domain-type bridgeset bridge-domains bd0 vlan-id allset bridge-domains bd0 service-id 20set bridge-domains bd0 interface ae1.0set bridge-domains bd0 interface ge-1/0/3.0set bridge-domains bd0 interface ge-1/1/1.0set bridge-domains bd0 interface ge-1/1/4.0set bridge-domains bd0 interface ae0.0set bridge-domains bd0 multicast-snooping-options multichassis-lag-replicate-stateset bridge-domains bd0 protocols igmp-snooping vlan 100 interface ge-1/1/4.0 multicast-router-interfaceset bridge-domains bd0 protocols igmp-snooping vlan 101 interface ge-1/1/4.0 multicast-router-interfaceset bridge-domains bd0 protocols igmp-snooping vlan 200 interface ge-1/1/4.0 multicast-router-interfaceset multicast-snooping-options multichassis-lag-replicate-stateset protocols iccp local-ip-addr 100.100.100.1set protocols iccp peer 100.100.100.2 redundancy-group-id-list 10set protocols iccp peer 100.100.100.2 liveness-detection minimum-interval 1000set switch-options service-id 10

Router PE2

set chassis aggregated-devices ethernet device-count 5set interfaces ge-1/0/2 unit 0 family inet address 100.100.100.2/30set interfaces ge-1/0/3 flexible-vlan-taggingset interfaces ge-1/0/3 encapsulation flexible-ethernet-servicesset interfaces ge-1/0/3 unit 0 encapsulation vlan-bridgeset interfaces ge-1/0/3 unit 0 vlan-id-range 100-110set interfaces ge-1/0/4 flexible-vlan-taggingset interfaces ge-1/0/4 encapsulation flexible-ethernet-servicesset interfaces ge-1/0/4 unit 0 encapsulation vlan-bridgeset interfaces ge-1/0/4 unit 0 vlan-id-range 100-110set interfaces ge-1/0/5 gigether-options 802.3ad ae0set interfaces ge-1/1/0 gigether-options 802.3ad ae1set interfaces ae0 flexible-vlan-taggingset interfaces ae0 encapsulation flexible-ethernet-servicesset interfaces ae0 aggregated-ether-options lacp activeset interfaces ae0 aggregated-ether-options lacp system-priority 100set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:05set interfaces ae0 aggregated-ether-options lacp admin-key 1set interfaces ae0 aggregated-ether-options mc-ae mc-ae-id 5set interfaces ae0 aggregated-ether-options mc-ae redundancy-group 10set interfaces ae0 aggregated-ether-options mc-ae chassis-id 0set interfaces ae0 aggregated-ether-options mc-ae mode active-activeset interfaces ae0 aggregated-ether-options mc-ae status-control activeset interfaces ae0 unit 0 encapsulation vlan-bridgeset interfaces ae0 unit 0 vlan-id-range 100-110set interfaces ae0 unit 0 multi-chassis-protection 100.100.100.1 interface ge-1/0/4.0set interfaces ae1 flexible-vlan-taggingset interfaces ae1 encapsulation flexible-ethernet-servicesset interfaces ae1 aggregated-ether-options lacp activeset interfaces ae1 aggregated-ether-options lacp system-priority 100set interfaces ae1 aggregated-ether-options lacp system-id 00:00:00:00:00:05set interfaces ae1 aggregated-ether-options lacp admin-key 1set interfaces ae1 aggregated-ether-options mc-ae mc-ae-id 10set interfaces ae1 aggregated-ether-options mc-ae redundancy-group 10set interfaces ae1 aggregated-ether-options mc-ae chassis-id 0set interfaces ae1 aggregated-ether-options mc-ae mode active-activeset interfaces ae1 aggregated-ether-options mc-ae status-control activeset interfaces ae1 unit 0 encapsulation vlan-bridgeset interfaces ae1 unit 0 vlan-id-range 100-110set interfaces ae1 unit 0 multi-chassis-protection 100.100.100.1 interface ge-1/0/4.0set bridge-domains bd0 domain-type bridgeset bridge-domains bd0 vlan-id allset bridge-domains bd0 service-id 20set bridge-domains bd0 interface ae1.0set bridge-domains bd0 interface ge-1/0/3.0set bridge-domains bd0 interface ge-1/0/4.0set bridge-domains bd0 interface ae0.0set bridge-domains bd0 multicast-snooping-options multichassis-lag-replicate-stateset bridge-domains bd0 protocols igmp-snooping vlan 100 interface ge-1/0/4.0 multicast-router-interfaceset bridge-domains bd0 protocols igmp-snooping vlan 101 interface ge-1/0/4.0 multicast-router-interfaceset bridge-domains bd0 protocols igmp-snooping vlan 200 interface ge-1/0/4.0 multicast-router-interfaceset multicast-snooping-options multichassis-lag-replicate-stateset protocols iccp local-ip-addr 100.100.100.2set protocols iccp peer 100.100.100.1 redundancy-group-id-list 10set protocols iccp peer 100.100.100.1 liveness-detection minimum-interval 1000set switch-options service-id 10

Configuring the PE1 Router

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure Router PE1:

  1. Specify the number of aggregated Ethernet interfaces to be created.

    [edit chassis]user@PE1# set aggregated-devices ethernet device-count 5
  2. Specify the members to be included within the aggregated Ethernet bundles.

    [edit interfaces]user@PE1# set ge-1/0/1 gigether-options 802.3ad ae1user@PE1# set ge-1/0/6 gigether-options 802.3ad ae0
  3. Configure the interfaces that connect to multicast senders or receivers, the ICL interfaces, and the ICCP interfaces.

    [edit interfaces]user@PE1# set ge-1/1/1 flexible-vlan-tagginguser@PE1# set ge-1/1/1 encapsulation flexible-ethernet-servicesuser@PE1# set ge-1/1/1 unit 0 encapsulation vlan-bridgeuser@PE1# set ge-1/1/1 unit 0 vlan-id-range 100-110user@PE1# set ge-1/1/4 flexible-vlan-tagginguser@PE1# set ge-1/1/4 encapsulation flexible-ethernet-servicesuser@PE1# set ge-1/1/4 unit 0 encapsulation vlan-bridgeuser@PE1# set ge-1/1/4 unit 0 vlan-id-range 100-110user@PE1# set ge-1/0/2 unit 0 family inet address 100.100.100.1/30
  4. Configure parameters on the aggregated Ethernet bundles.

    [edit interfaces ae0]user@PE1# set flexible-vlan-tagginguser@PE1# set encapsulation flexible-ethernet-servicesuser@PE1# set unit 0 encapsulation vlan-bridgeuser@PE1# set unit 0 vlan-id-range 100-110user@PE1# set unit 0 multi-chassis-protection 100.100.100.2 interface ge-1/1/4.0
    [edit interfaces ae1]user@PE1# set flexible-vlan-tagginguser@PE1# set encapsulation flexible-ethernet-servicesuser@PE1# set unit 0 encapsulation vlan-bridgeuser@PE1# set unit 0 vlan-id-range 100-110user@PE1# set unit 0 multi-chassis-protection 100.100.100.2 interface ge-1/1/4.0
  5. Configure LACP on the aggregated Ethernet bundles.

    [edit interfaces ae0 aggregated-ether-options]user@PE1# set lacp activeuser@PE1# set lacp system-priority 100user@PE1# set lacp system-id 00:00:00:00:00:05user@PE1# set lacp admin-key 1
    [edit interfaces ae1 aggregated-ether-options]user@PE1# set lacp activeuser@PE1# set lacp system-priority 100user@PE1# set lacp system-id 00:00:00:00:00:05user@PE1# set lacp admin-key 1
  6. Configure the MC-LAG interfaces.

    [edit interfaces ae0 aggregated-ether-options]user@PE1# set mc-ae mc-ae-id 5user@PE1# set mc-ae redundancy-group 10user@PE1# set mc-ae chassis-id 1user@PE1# set mc-ae mode active-activeuser@PE1# set mc-ae status-control active
    [edit interfaces ae1 aggregated-ether-options]user@PE1# set mc-ae mc-ae-id 10user@PE1# set mc-ae redundancy-group 10user@PE1# set mc-ae chassis-id 1user@PE1# set mc-ae mode active-activeuser@PE1# set mc-ae status-control active
    The multichassis aggregated Ethernet identification number (mc-ae-id) specifies which link aggregation group the aggregated Ethernet interface belongs to. The ae0 interfaces on Router PE1 and Router PE2 are configured with mc-ae-id 5. The ae1 interfaces on Router PE1 and Router PE2 are configured with mc-ae-id 10. (To refer to the configuration on Router PE2, see Router PE2).

    The redundancy-group 10 statement is used by ICCP to associate multiple chassis that perform similar redundancy functions and to establish a communication channel so that applications on peering chassis can send messages to each other. The ae0 and ae1 interfaces on Router PE1 and Router PE2 are configured with the same redundancy group redundancy-group 10.

    The chassis-id statement is used by LACP for calculating the port number of the MC-LAG's physical member links. Router PE1 uses chassid-id 1 to identify both its ae0 and ae1 interfaces. Router PE2 (as shown in Router PE2) uses chassis-id 0 to identify both its ae0 and ae1 interfaces.

    The mode statement indicates whether an MC-LAG is in active-standby mode or active-active mode. Chassis that are in the same group must be in the same mode.

  7. Configure a domain that includes the set of logical ports.

    [edit bridge-domains bd0]user@PE1# set domain-type bridgeuser@PE1# set vlan-id alluser@PE1# set service-id 20user@PE1# set interface ae0.0user@PE1# set interface ae1.0user@PE1# set interface ge-1/0/3.0user@PE1# set interface ge-1/1/1.0user@PE1# set interface ge-1/1/4.0
    The ports within a bridge domain share the same flooding or broadcast characteristics in order to perform Layer 2 bridging.

    The bridge-level service-id statement is required to link related bridge domains across peers (in this case Router PE1 and Router PE2), and should be configured with the same value.

  8. At the global level and also in the bridge domain, replicate IGMP join and leave messages from the active link to the standby link of a dual-link MC-LAG interface, to enable faster recovery of membership information after failover.

    [edit multicast-snooping-options]user@PE1# set multichassis-lag-replicate-state
    [edit bridge-domains bd0 multicast-snooping-options]user@PE1# set multichassis-lag-replicate-state
  9. Configure multicast snooping for the MC-LAG interfaces.

    [edit bridge-domains bd0]user@PE1# set protocols igmp-snooping vlan 100 interface ge-1/1/4.0 multicast-router-interfaceuser@PE1# set protocols igmp-snooping vlan 101 interface ge-1/1/4.0 multicast-router-interfaceuser@PE1# set protocols igmp-snooping vlan 200 interface ge-1/1/4.0 multicast-router-interface
  10. Configure ICCP parameters.

    [edit protocols iccp]user@PE1# set local-ip-addr 100.100.100.1user@PE1# set peer 100.100.100.2 redundancy-group-id-list 10user@PE1# set peer 100.100.100.2 liveness-detection minimum-interval 1000
  11. Configure the service ID at the global level.

    [edit switch-options]user@PE1# set service-id 10
    You must configure the same unique network-wide configuration for a service in the set of PE routers providing the service. This service ID is required if the multichassis aggregated Ethernet interfaces are part of a bridge domain.

Results

From configuration mode, confirm your configuration by entering the show bridge-domains, show chassis, show interfaces, show multicast-snooping-options, show protocols, and show switch-options commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@PE1# show bridge-domains
bd0 {domain-type bridge;vlan-id all;service-id 20;interface ae1.0;interface ge-1/0/3.0;interface ge-1/1/1.0;interface ge-1/1/4.0;interface ae0.0;multicast-snooping-options {multichassis-lag-replicate-state;}protocols {igmp-snooping {vlan 100 {interface ge-1/1/4.0 {multicast-router-interface;}}vlan 101 {interface ge-1/1/4.0 {multicast-router-interface;}}vlan 200 {interface ge-1/1/4.0 {multicast-router-interface;}}}}}
user@PE1# show chassis
aggregated-devices {ethernet {device-count 5;}}
user@PE1# show interfaces
ge-1/0/1 {gigether-options {802.3ad ae1;}}
ge-1/0/6 {gigether-options {802.3ad ae0;}}
ge-1/0/2 {unit 0 {family inet {address 100.100.100.1/30;}}}
ge-1/1/1 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;}}
ge-1/1/4 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;}}
ae0 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;aggregated-ether-options {lacp {active;system-priority 100;system-id 00:00:00:00:00:05;admin-key 1;}mc-ae {mc-ae-id 5;redundancy-group 10;chassis-id 1;mode active-active;status-control active;}}unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;multi-chassis-protection 100.100.100.2 {interface ge-1/1/4.0;}}}
ae1 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;aggregated-ether-options {lacp {active;system-priority 100;system-id 00:00:00:00:00:05;admin-key 1;}mc-ae {mc-ae-id 10;redundancy-group 10;chassis-id 1;mode active-active;status-control active;}}unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;multi-chassis-protection 100.100.100.2 {interface ge-1/1/4.0;}}}
user@PE1# show multicast-snooping-optionsmultichassis-lag-replicate-state;
user@PE1# show protocols
iccp {local-ip-addr 100.100.100.1;peer 100.100.100.2 {redundancy-group-id-list 10;liveness-detection {minimum-interval 1000;}}}
user@PE1# run show switch-optionsservice-id 10;

If you are done configuring the device, enter commit from configuration mode.

Repeat the procedure for Router PE2, using the appropriate interface names and addresses.

Configuring the CE Device

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Router CE

set chassis aggregated-devices ethernet device-count 2set interfaces ge-2/0/2 gigether-options 802.3ad ae0set interfaces ge-2/0/3 gigether-options 802.3ad ae0set interfaces ge-2/1/6 flexible-vlan-taggingset interfaces ge-2/1/6 encapsulation flexible-ethernet-servicesset interfaces ge-2/1/6 unit 0 encapsulation vlan-bridgeset interfaces ge-2/1/6 unit 0 vlan-id-range 100-110set interfaces ae0 flexible-vlan-taggingset interfaces ae0 encapsulation flexible-ethernet-servicesset interfaces ae0 aggregated-ether-options lacp activeset interfaces ae0 aggregated-ether-options lacp system-priority 100set interfaces ae0 unit 0 encapsulation vlan-bridgeset interfaces ae0 unit 0 vlan-id-range 100-500set bridge-domains bd0 domain-type bridgeset bridge-domains bd0 vlan-id allset bridge-domains bd0 interface ge-2/1/6.0set bridge-domains bd0 interface ae0.0

Configuring the CE Device

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure the CE device:

  1. Specify the number of aggregated Ethernet interfaces to be created.

    [edit chassis]user@CE# set aggregated-devices ethernet device-count 2
  2. Specify the members to be included within the aggregated Ethernet bundle.

    [edit interfaces]user@CE# set ge-2/0/2 gigether-options 802.3ad ae0user@CE# set ge-2/0/3 gigether-options 802.3ad ae0
  3. Configure an interface that connects to multicast senders or receivers.

    [edit interfaces ge-2/1/6]user@CE# set flexible-vlan-tagginguser@CE# set encapsulation flexible-ethernet-servicesuser@CE# set unit 0 encapsulation vlan-bridgeuser@CE# set unit 0 vlan-id-range 100-110
  4. Configure parameters on the aggregated Ethernet bundle.

    [edit interfaces ae0]user@CE# set flexible-vlan-tagginguser@CE# set encapsulation flexible-ethernet-servicesuser@CE# set unit 0 encapsulation vlan-bridgeuser@CE# set unit 0 vlan-id-range 100-500
  5. Configure LACP on the aggregated Ethernet bundle.

    [edit interfaces ae0 aggregated-ether-options]user@CE# set lacp activeuser@CE# set lacp system-priority 100
    The active statement initiates transmission of LACP packets.

    For the system-priority statement, a smaller value indicates a higher priority. The device with the lower system priority value determines which links between LACP partner devices are active and which are in standby mode for each LACP group. The device on the controlling end of the link uses port priorities to determine which ports are bundled into the aggregated bundle and which ports are put in standby mode. Port priorities on the other device (the noncontrolling end of the link) are ignored.

  6. Configure a domain that includes the set of logical ports.

    [edit bridge-domains bd0]user@CE# set domain-type bridgeuser@CE# set vlan-id alluser@CE# set interface ge-2/1/6.0user@CE# set interface ae0.0
    The ports within a bridge domain share the same flooding or broadcast characteristics in order to perform Layer 2 bridging.

Results

From configuration mode, confirm your configuration by entering the show bridge-domains, show chassis, and show interfaces commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@CE# show bridge-domains
bd0 {domain-type bridge;vlan-id all;interface ge-2/1/6.0;interface ae0.0;}
user@CE# show chassis
aggregated-devices {ethernet {device-count 2;}}
user@CE# show interfaces
ge-2/0/2 {gigether-options {802.3ad ae0;}}
ge-2/0/3 {gigether-options {802.3ad ae0;}}
ge-2/1/6 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;}}
ae0 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;aggregated-ether-options {lacp {active;system-priority 100;}}unit 0 {encapsulation vlan-bridge;vlan-id-range 100-500;}}

If you are done configuring the device, enter commit from configuration mode.

Configuring the Provider Router

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Router P

set chassis aggregated-devices ethernet device-count 2set interfaces ge-1/0/5 gigether-options 802.3ad ae1set interfaces ge-1/0/11 gigether-options 802.3ad ae1set interfaces ge-1/1/3 flexible-vlan-taggingset interfaces ge-1/1/3 encapsulation flexible-ethernet-servicesset interfaces ge-1/1/3 unit 0 encapsulation vlan-bridgeset interfaces ge-1/1/3 unit 0 vlan-id-range 100-500set interfaces ae1 flexible-vlan-taggingset interfaces ae1 encapsulation flexible-ethernet-servicesset interfaces ae1 aggregated-ether-options lacp activeset interfaces ae1 aggregated-ether-options lacp system-priority 100set interfaces ae1 unit 0 encapsulation vlan-bridgeset interfaces ae1 unit 0 vlan-id-range 100-110set bridge-domains bd0 vlan-id allset bridge-domains bd0 domain-type bridgeset bridge-domains bd0 interface ge-1/1/3.0set bridge-domains bd0 interface ae1.0

Configuring the Router P

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure router P:

  1. Specify the number of aggregated Ethernet interfaces to be created.

    [edit chassis]user@P# set aggregated-devices ethernet device-count 2
  2. Specify the members to be included within the aggregated Ethernet bundle.

    [edit interfaces]user@P# set ge-1/0/5 gigether-options 802.3ad ae1user@P# set ge-1/0/11 gigether-options 802.3ad ae1
  3. Configure an interface that connects to multicast senders or receivers.

    [edit interfaces ge-1/1/3]user@P# set flexible-vlan-tagginguser@P# set encapsulation flexible-ethernet-servicesuser@P# set unit 0 encapsulation vlan-bridgeuser@P# set unit 0 vlan-id-range 100-500
  4. Configure parameters on the aggregated Ethernet bundle.

    [edit interfaces ae1]user@P# set flexible-vlan-tagginguser@P# set encapsulation flexible-ethernet-servicesuser@P# set unit 0 encapsulation vlan-bridgeuser@P# set unit 0 vlan-id-range 100-110
  5. Configure LACP on the aggregated Ethernet bundle.

    [edit interfaces ae1 aggregated-ether-options]user@P# set lacp activeuser@P# set lacp system-priority 100
  6. Configure a domain that includes the set of logical ports.

    [edit bridge-domains bd0]user@P# set vlan-id alluser@P# set domain-type bridgeuser@P# set interface ge-1/1/3.0user@P# set interface ae1.0

Results

From configuration mode, confirm your configuration by entering the show bridge-domains, show chassis, and show interfaces commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@P# show bridge-domains
bd0 {domain-type bridge;vlan-id all;interface ge-1/1/3.0;interface ae1.0;}
user@P# show chassis
aggregated-devices {ethernet {device-count 2;}}
user@P# show interfaces
ge-1/0/5 {gigether-options {802.3ad ae1;}}
ge-1/0/11 {gigether-options {802.3ad ae1;}}
ge-1/1/3 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;unit 0 {encapsulation vlan-bridge;vlan-id-range 100-500;}}
ae1 {flexible-vlan-tagging;encapsulation flexible-ethernet-services;aggregated-ether-options {lacp {active;system-priority 100;}}unit 0 {encapsulation vlan-bridge;vlan-id-range 100-110;}}

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly by running the following commands:

Published: 2015-02-23