Disabling Classless Routing To prevent the device from forwarding packets that are destined for unrecognized subnets to the best supernet route possible, you can disable classless routing behavior. To disable classless routing, perform this procedure: Procedure Configuring Address Resolution Methods You can perform the following tasks to configure address resolution. Configuring IP Unicast Routing Disabling Classless Routing Command or Action Purpose Step 1 enable Example: Device>enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device#configure terminal Enters global configuration mode. Step 3 no ip classless Example:
Device(config)#no ip classless Disables classless routing behavior. Step 4 end Example: Device(config)#end Returns to privileged EXEC mode. Step 5 show running-config Example: Device#show running-config Verifies your entries. Step 6 copy running-config startup-config Example: Device#copy running-config startup-config (Optional) Saves your entries in the configuration file. Configuring IP Unicast Routing 14