Chapter 7: Second Level Commands

June 30, 2006

Usage

no ip default-gateway

Example(s)

Host(config)# no ip default-gateway

When assigning a default-gateway that is not in the subnet of the primary or secondary Ethernet interfaces, the system provides a warning.

Host(config)# ip default-gateway 194.90.2.1

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.

7-56

SG1-UM-8500-03

Page 136
Image 136
ADC SG-1 user manual No ip default-gateway, Using the router command, Hostconfig# router, Using the router id command