You can move an IP shared interface from one layer 2 interface to another by issuing the ip share-interface command to specify a different layer 2 interface. Moving an IP interface does not affect interface statistics, packets forwarded through the interface, or policies attached to the IP interface.
Example
The following commands create shared interface si0 on the layer 2 interface atm5/3.101:
- host1(config)#virtual-router vr-a:vrf-1
- host1:vr-a:vrf-1(config)#interface ip si0
- host1:vr-a:vrf-1(config-if)#ip share-interface
atm 5/3.101
- host1:vr-a:vrf-1(config-if)#exit
The following commands move shared interface si0 to the layer 2 interface atm5/3.201:
- host1:vr-a:vrf-1(config)#interface ip si0
- host1:vr-a:vrf-1(config-if)#ip share-interface
atm 5/3.201