ADC SG-1 Manuale Utente

Pagina di 226
7-55
Deleting an IP route line
This command deletes the existing route.
Usage
no ip route  [nip] <destination prefix> <network mask> <next-hop IP-address>
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 <gateway IP address>
Parameter(s)
<gateway IP address>
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 prefix>
Destination IP or network
Valid IP or Network
<network mask>
Network mask
Valid Mask (Except to 0.0.0.0)
<next-hop IP-address>
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