beautypg.com

No ip route, No ip route 5 – Allied Telesis AT-8100 Series User Manual

Page 1845

background image

AT-8100 Switch Command Line User’s Guide

1845

NO IP ROUTE

Syntax

no ip route

ipaddress1/mask ipaddress2 [admin]

Parameters

ipaddress1

Specifies the IP address of the destination network, subnet, or
node. The IP address for the default route is 0.0.0.0/0.

mask

Specifies the mask of the IP address. The mask represents the
number of bits, from left to right, that constitute the network portion
of the address. The mask may be entered in IP notation (e.g.,
255.255.255.0) or decimal notation (e.g., /24).

ipaddress2

Specifies the IP address of the next hop of the route.

admin

Specifies the administrative distance of the route. This parameter
is optional.

Mode

Global Configuration mode

Description

Use this command to delete static routes and the default gateway from the
routing table. The command to delete the default gateway must include the
IP address of the next hop.

Confirmation Command

“SHOW IP ROUTE” on page 1849

Examples

This example deletes a static route that has the destination network
156.78.101.0, mask 255.255.255.0, and next hop 145.20.11.132:

awplus> enable
awplus# configure terminal
awplus(config)# no ip route 156.78.101.0 255.255.255.0
145.20.11.132