Removing an ip static route, Removing an ip static route -19 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 741

Advertising
background image

Removing an IP Static Route

Page 25-19

Removing an IP Static Route

The

risr

command is used to remove IP static routes from the switch’s IP Forwarding Table.

Follow the steps below to remove an IP static route.

1. Enter

risr.

The prompt that displays depends on whether routing domains are configured

on the switch. For more information about routing domains, see Chapter 14, “Routing
Domains,” in the Advanced Routing User Manual.

If routing domains are configured on this switch, the following prompt displays:

Routing Domains (RD) are configured on this switch.
List the RD(s) you want this route applied to? (default: none) :

If you are removing a route from an existing domain, press

Enter

. To remove a route from

an existing routing domain, enter the desired routing domain ID (

RDID

) and go to step 3.

If routing domains are not configured on this switch, or if you are applying this route to
the default domain, the following prompt displays:

Do you want to see the current route table? (y or n) (y) :

2. Enter a

y

at this prompt (or just press

<Enter>

) to display the current forwarding table.

A screen similar to the following displays:

IP FORWARDING TABLE

Group VLAN

Network

Mask

Gateway

Metric

Id:

Protocol

------------------------------------------------------------------------------------------------------------------------
0.0.0.0

255.0.0.0

198.206.184.254

1

1:1

STATIC

10.0.0.0

255.0.0.0

10.0.0.1

1

6:1

STATIC

11.0.0.0

255.0.0.0

11.0.0.1

1

5:1

STATIC

90.0.0.0

255.0.0.0

90.0.0.3

1

4:1

STATIC

127.0.0.0

255.0.0.0

127.0.0.1

0

1:2

LOOPBACK

127.0.0.1

255.255.255.255 127.0.0.1

0

2:3

LOOPBACK

196.196.7.0

255.255.255.0

196.196.7.42

1

3:1

RIP

198.206.187.0 255.255.255.0

198.206.183.0

1

1:4

STATIC

198.206.184.0 255.255.255.0

198.206.184.42

1

1:1

RIP

203.229.229.0 255.255.255.0

203.229.229.250

1

2:1

RIP

Destination IP address of host or network :

3. At the prompt for the destination IP address, enter the IP address of the host or network

that you want to remove.

4. A prompt similar to the following displays:

Host or network mask (255.255.255.000) :

Enter the mask (or just press

<Enter>

to accept the default mask).

5. The following prompt displays:

IP address of next hop :

Enter the IP address of the next hop (the gateway) router to the destination IP address.

A message will confirm the deletion of the static route:

Route successfully deleted

Advertising