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.
- 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
- 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
- Create and identify the ICR partition.host1 (config-if)#ip vrrp 1 icr-partition part1Master
- 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-interface host1 (config-if)#ip vrrp 1 icr-partition svlan-range 111 119 advertise-mac host1 (config-if)#ip vrrp 1 icr-partition svlan-list-explicit 120 1 120 2 advertise-mac control-interface host1 (config-if)#exit
![]() | Note: To enable the new master router to send PPPoE Active Discovery Termination (PADT) packets to the clients and create new sessions for the PPPoE subscribers, you must create a dummy IP interface for each S-VLAN that is part of the ICR partition. |
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.
- 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
- 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
- Create and identify the ICR partition.host2 (config-if)#ip vrrp 1 icr-partition part1Backup
- 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-interface host2 (config-if)#ip vrrp 1 icr-partition svlan-range 111 119 advertise-mac host2 (config-if)#ip vrrp 1 icr-partition svlan-list-explicit 120 1 120 2 advertise-mac control-interface host2 (config-if)#exit
![]() | Note: To enable the new master router to send PPPoE Active Discovery Termination (PADT) packets to the clients and create new sessions for the PPPoE subscribers, you must create a dummy IP interface for each S-VLAN that is part of the ICR partition. |
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. |
Hide Navigation Pane
Show Navigation Pane
SHA1
