DELL 8132 ユーザーズマニュアル

ページ / 1818
1064
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:
Router entries are checked for applicable destinations.
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.X8100-SWUM102.book  Page 1064  Friday, March 15, 2013  8:56 AM