[Contents] [Prev] [Next] [Index] [Report an Error]

## Example: Configuring ICR Partitions That Group Subscribers by S-VLAN ID

The following example show how to configure a master ICR partition on an ERX1440 router. In this example, you first configure the interface on which the ICR partition resides. You can then create a new VRRP instance to manage the ICR partition. The value you assign to the priority keyword determines the state of the ICR partition. The VRRP instance that has the higher priority manages the master ICR partition. All other VRRP instances manage the backup and dormant partitions.

1. Configure the interface on which the ICR partition resides.
   `
   host1 (config)#interface gigabitEthernet 3/5
   host1 (config-if)#encapsulation vlan
   host1 (config-if)#interface gigabitEthernet 3/5.10
   host1 (config-if)#svlan id 10 1 icr-control-interface
   host1 (config-if)#ip address 3.5.1.1/24
   `
2. Configure the VRRP instance based on the ICR partition requirements.
   `
   host1 (config-if)#ip vrrp 1 virtual-address 3.5.1.10
   host1 (config-if)#ip vrrp 1 priority 200
   host1 (config-if)#ip vrrp 1 timers-learn
   host1 (config-if)#ip vrrp 1 enable
   `
3. Create and identify the ICR partition.
   `
   host1 (config-if)#ip vrrp 1 icr-partition part1Master
   `
4. Group subscribers based on S-VLAN IDs.
   `
   host1 (config-if)#ip vrrp 1 icr-partition group svlan
   host1 (config-if)#ip vrrp 1 icr-partition svlan-range 100 110 control-subinterface
   host1 (config-if)#ip vrrp 1 icr-partition svlan-range 111 119 advertise-mac use-default-mac
   host1 (config-if)#ip vrrp 1 icr-partition svlan-list-explicit 120 1 120 2 advertise-mac control-subinterface use-default-mac
   host1 (config-if)#exit
   `

The following example shows how to configure a backup ICR partition on an E320 router. Configure the interface on which the ICR partition resides and then create a new VRRP instance that manages the backup ICR partition. The value you assign to the priority keyword determines the state of the ICR partition. In the case of a backup ICR partition, specify a value lower than the priority of the master ICR partition.

1. Configure the interface on which the ICR partition resides.
   `
   host2 (config)#interface gigabitEthernet 11/1/0
   host2 (config-if)#encapsulation vlan
   host2 (config-if)#interface gigabitEthernet 11/1/0.10
   host2 (config-if)#svlan id 10 1 icr-control-interface
   host2 (config-if)#ip address 3.5.1.2/24
   `
2. Configure the VRRP instance based on the ICR partition requirements.
   `
   host2 (config-if)#ip vrrp 1 virtual-address 3.5.1.10
   host2 (config-if)#ip vrrp 1 priority 100
   host2 (config-if)#ip vrrp 1 timers-learn
   host2 (config-if)#ip vrrp 1 enable
   `
3. Create and identify the ICR partition.
   `
   host2 (config-if)#ip vrrp 1 icr-partition part1Backup
   `
4. Group subscribers based on S-VLAN IDs.
   `
   host2 (config-if)#ip vrrp 1 icr-partition group svlan
   host2 (config-if)#ip vrrp 1 icr-partition svlan-range 100 110 control-subinterface
   host2 (config-if)#ip vrrp 1 icr-partition svlan-range 111 119 advertise-mac use-default-mac
   host2 (config-if)#ip vrrp 1 icr-partition svlan-list-explicit 120 1 120 2 advertise-mac control-subinterface use-default-mac
   host2 (config-if)#exit
   `

Grouping subscribers based on S-VLAN IDs is the default grouping method for ICR partitions. You can also explicitly choose S-VLAN as the grouping option as shown in this example. To add a group of random S-VLAN IDs, use the svlan-list command.

To group subscribers by VLAN IDs, use the vlan keyword instead of the svlan keyword. To add a group of random VLAN IDs, use the vlan-list command.

| Note: While grouping subscribers based on VLAN IDs, you can use corresponding VLAN grouping commands. However, the svlan-list-explicit command does not have any corresponding VLAN command.

#### Related Topics

- ICR Overview
- Guidelines for Deploying an ICR Partition in Your Network
- ICR Scaling Considerations

[Contents] [Prev] [Next] [Index] [Report an Error]