beautypg.com

Deleting an ip route line, Using the ip default-gateway command, Table 7-15.no ip route command parameters -55 – ADC SG-1 User Manual

Page 135

background image

June 30, 2006

Chapter 7: Second Level Commands

SG1-UM-8500-03

7-55

Deleting an IP route line

This command deletes the existing route.

Usage

no ip route [nip]

Parameter(s)

Table 7-15. no ip route command parameters

Example(s)

Using the ip default-gateway command

Use this command to specify the system’s default gateway.

Usage

ip default-gateway

Parameter(s)

The IP address of the default gateway.

Example(s)

Using the no ip default-gateway command

Use this command to specify the system’s default gateway.

Host(config)# ip route 192.168.1.0. 255.255.255.0 192.168.1.2

Host(config)# no ip route

Parameter

Description

Values

[nip]

Native IP

Valid IP or Network

Destination IP or network

Valid IP or Network

Network mask

Valid Mask (Except to 0.0.0.0)

Next-hop IP address

Valid IP address

Host(config)# no ip route 192.168.0.0 255.255.0.0 192.168.0.1

Host(config)# ip default-gateway

Host(config)# ip default-gateway 12.3.11.56

Host(config)# no ip default-gateway