692
IP Routing Protocol-Independent Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\IP_Routing.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
Command Mode
Global Configuration mode
Example
The following example configures a static route with prefix 172.16.0.0, prefix
length 16, and gateway 131.16.1.1.
Console(config)#
ip route
172.16.0.0 /16 131.16.1.1
ip routing
Use the
ip routing
Global
Configuration mode command to enable IPv4
Routing. Use the
no
format of the command to disable IPv4 Routing.
Syntax
ip routing
no ip routing
Default Configuration
Enabled by default.
Command Mode
Global Configuration mode
Default Configuration
No routing is defined
show ip route
Use the
show ip route
EXEC mode command to display the current routing
table state.
Syntax
show ip route
[connected | static | {address address [mask | prefix-length]
[longer-prefixes]}]