Use this command to enable (S- and K-Series) or disable IP forwarding on a routing interface.
None.
None.
Interface Configuration command mode.
IP forwarding is not supported on the 7100-Series. You can use the no ip forwarding command to negate IP forwarding configuration on the 7100-Series.
On the S- and K-Series, IP forwarding is enabled by default on an interface. IP forwarding can be disabled on an interface by using the “no” form of this command in interface configuration command mode.
This example shows how to disable IP forwarding on a routing interface:
System(rw)->configure System(rw-config)->interface vlan.0.2 System(rw-config-intf-vlan.0.2)->no ip forwarding