922
IP Routing Commands
Example
The following example identifies the
ip-address subnet-mask, next-hop-ip
and a preference value of 200.
console(config)#ip route 192.168.10.10 255.255.255.0
192.168.20.1 metric 200
ip route default
Use the
ip route default
command in Global Configuration mode to
configure the next hop address of the default route. Use the no form of the
command to delete the default route.
Syntax
ip route default
next-hop-ip
[
preference
]
no ip route default
next-hop-ip
[
preference
]
•
next-hop-ip
— IP address of the next hop router.
•
preference
— Specifies the preference value, a.k.a administrative distance,
of an individual static route. (Range: 1-255)
Default Configuration
Default value of preference is 1.
Command Mode
Global Configuration mode
User Guidelines
For routed management traffic:
1
Router entries are checked for applicable destinations.
2
The globally assigned default-gateway is consulted.
If DHCP is enabled on multiple in-band interfaces and the system learns a
different default gateway on each, the system retains the first default gateway
it learns and ignores any others. If the first default gateway is lost, the system
does not revert to an alternate default gateway until it renews its IP address.
2CSPC4.XModular-SWUM200.book Page 922 Thursday, March 10, 2011 11:18 AM
Summary of Contents for PowerEdge M420
Page 161: ...Command Groups 161 ...
Page 162: ...162 Command Groups ...
Page 216: ...216 Layer 2 Commands ...
Page 290: ...290 Auto VoIP Commands ...
Page 310: ...310 Data Center Bridging Commands ...
Page 316: ...316 DHCP Layer 2 Relay Commands Example console config dhcp l2relay vlan 10 340 345 ...
Page 324: ...324 DHCP Management Interface Commands ...
Page 340: ...340 DHCP Snooping Commands ...
Page 354: ...354 Dynamic ARP Inspection Commands ...
Page 405: ...Ethernet Configuration Commands 405 Name test ...
Page 406: ...406 Ethernet Configuration Commands ...
Page 426: ...426 Ethernet CFM Commands ...
Page 486: ...486 IPv6 Access List Commands ...
Page 497: ...IPv6 MLD Snooping Commands 497 Vlan Ipv6 Address Ports ...
Page 498: ...498 IPv6 MLD Snooping Commands ...
Page 512: ...512 IP Source Guard Commands ...
Page 524: ...524 iSCSI Optimization Commands ...
Page 532: ...532 Link Dependency Commands ...
Page 572: ...572 Port Aggregator Commands ...
Page 756: ...756 VLAN Commands ...
Page 762: ...762 Voice VLAN Commands ...
Page 796: ...796 802 1x Commands ...
Page 798: ...798 Layer 3 Commands ...
Page 842: ...842 DHCP Server and Relay Agent Commands ...
Page 868: ...868 DVMRP Commands ...
Page 888: ...888 IGMP Commands ...
Page 896: ...896 IGMP Proxy Commands ...
Page 938: ...938 IP Routing Commands ...
Page 1012: ...1012 IPv6 Routing Commands ...
Page 1016: ...1016 Loopback Interface Commands ...
Page 1048: ...1048 Multicast Commands ...
Page 1064: ...1064 IPv6 Multicast Commands RP Address 3001 1 origin BSR ...
Page 1142: ...1142 OSPF Commands ...
Page 1202: ...1202 OSPFv3 Commands ...
Page 1212: ...1212 Router Discovery Protocol Commands ...
Page 1228: ...1228 Routing Information Protocol Commands ...
Page 1260: ...1260 Virtual Router Redundancy Protocol Commands ...
Page 1262: ...1260 Utility Commands ...
Page 1272: ...1270 Auto Install Commands ...
Page 1306: ...1304 Captive Portal Commands ...
Page 1316: ...1314 CLI Macro Commands ...
Page 1334: ...1332 Clock Commands ...
Page 1340: ...1338 Command Line Configuration Scripting Commands ...
Page 1362: ...1360 Configuration and Image File Commands ...
Page 1363: ...Configuration and Image File Commands 1361 ...
Page 1364: ...1362 Configuration and Image File Commands ...
Page 1412: ...1408 Password Management Commands ...
Page 1436: ...1432 RMON Commands ...
Page 1476: ...1472 Sflow Commands ...
Page 1536: ...1532 Syslog Commands ...
Page 1602: ...1598 Telnet Server Commands ...
Page 1604: ...1600 Terminal Length Commands ...
Page 1618: ...1614 User Interface Commands ...
Page 1638: ...1634 Web Server Commands ...
Page 1680: ...1676 Appendix A List of Commands ...
Page 1681: ......
Page 1682: ...www dell com support dell com Printed in the U S A ...