Moving IP Shared Interfaces

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.

Note: All IP configurations will be removed from the interface when you issue the no ip interface command in Interface Configuration mode.

To move an IP shared interface from one layer 2 interface to another:

  1. Create a shared interface and assign it to one layer 2 interface.
    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
  2. Move the shared interface to another layer 2 interface.
    host1:vr-a:vrf-1(config)#interface ip si0 host1:vr-a:vrf-1(config-if)#ip share-interface atm 5/3.201

Related Documentation