ip route(静的経路)
CautionStatic routes
(config)# ip route <net> <mask> <next-hop>
Adds static routes; all-zeros makes the default. Raise the AD for floating-static backup paths.
Examples
ip route 0.0.0.0 0.0.0.0 203.0.113.1 250A floating default route
Syntax
(config)# ip route net mask nexthop [AD] / no ip route ...
Before you run it
Bad routes black-hole traffic.
Related commands
- show ip routeRouting table
- configure terminalEnter config mode
You can carry a laptop to the rack. Signal will not follow.
Check syntax standing in front of the hardware, with no connection at all. The app keeps 1,510 commands and 120 fix flows on your device. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store