Grouping ICR Subscribers Based on VLAN IDs
You can configure ICR subscribers based on VLAN IDs. When
you configure a VLAN list or VLAN range, you can include any or all
of the following keywords:
- Use the control-interface keyword
to control the state of the corresponding subinterfaces (up/AdminDown)
based on the state of the partition (master or backup). If the subinterfaces
are part of the backup partition, the router changes the state of
all the subinterfaces to AdminDown.
- Use the use-default-mac keyword
to enable the subinterfaces to use the default MAC address instead
of the VRRP MAC address. By default, subinterfaces use the virtual
MAC address of the associated VRRP instance.
- Use the advertise-mac keyword
to enable the subinterfaces to transmit gratuitous ARP (GARP) advertisements
when the ICR partition moves from the backup state to the master state.
To group ICR subscribers based on VLAN IDs:
- Specify VLAN
as the grouping type.
host1(config-if)#ip vrrp 1 icr-partition group
vlan
The default grouping option is S-VLAN. If you do not
explicitly specify the grouping option, the subscribers are grouped
based on S-VLAN.
- Add VLAN
subinterfaces to the ICR partition by doing either of the following:
- Specify the VLAN IDs individually by using the vlan-list keyword to add a group of random VLAN IDs.
In the following example, you add VLAN subinterfaces by specifying
each VLAN ID individually because the IDs are in random order.
host1(config-if)#ip vrrp 1 icr-partition vlan-list
10 21 62 control-interface advertise-mac
- Specify the starting ID and ending ID of the range of
VLAN subinterfaces. In the following example, you specify the first
and the last ID of the range because the IDs are in sequential order.
host1(config-if)#ip vrrp 1 icr-partition vlan-range
10 40 control-interface advertise-mac
- (Optional) Configure additional VLAN subinterfaces by
completing Step 2 using unique numbering.
Published: 2010-10-08