![](/images/new-backgrounds/1266963/266963271x1.webp)
Chapter 7: Second Level Commands | June 30, 2006 |
Usage
no ip default-gateway
Example(s)
Host(config)# no ip default-gateway
When assigning a
Host(config)# ip
Operation Warning:
The default gateway is out of subnet
Using the router command
Host(config)# router
This command defines the system default routing process. In cases where advertisement should take place and there is no other higher priority definition, the system uses this definition. The routing modes include Routing Information Protocol Version 2 (RIPv2) and Open Shortest Path First protocol (OSPF).
Usage
router <ripv2 ospf>
Example(s)
Host(config)# router ripv2
Host(config)# router ospf
Using the router id command
Host(config)# router id
This command defines the system router id.
Usage
router id < router ip>
Parameter(s)
<router ip>
OSPF router ID in IP address format.
|