[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

change static routes on Cisco ASA

Hi to all of you,
I need to modify the 3 static routes show below , can you please confirm that the command I'm going to type ( the ones in BOLD ) are correct?
Thank you
Carlettus

CISCOASA# show route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 84.104.95.1 to network 0.0.0.0

S    192.168.240.0 255.255.255.0 [1/0] via 172.19.5.1, inside
C    84.104.95.0 255.255.255.192 is directly connected, outside
C    172.19.0.0 255.255.0.0 is directly connected, inside
S    192.168.221.0 255.255.255.0 [1/0] via 172.19.5.1, inside
S    192.168.223.0 255.255.255.0 [1/0] via 172.19.5.1, inside
S*   0.0.0.0 0.0.0.0 [1/0] via 84.104.95.1, outside
CISCOASA#

CISCOASA# clear ip route 192.168.240.0
CISCOASA# clear ip route 192.168.221.0
CISCOASA# clear ip route 192.168.223.0

CISCOASA# route inside 192.168.240.0 255.255.255.0 172.19.0.3
CISCOASA# route inside 192.168.221.0 255.255.255.0 172.19.0.3
CISCOASA# route inside 192.168.223.0 255.255.255.0 172.19.0.3
0
carlettus
Asked:
carlettus
1 Solution
 
Don JohnstonInstructorCommented:
The commands to remove the routes are:

no route inside 192.168.240.0 255.255.255.0 172.19.5.1
no route inside 192.168.221.0 255.255.255.0 172.19.5.1
no route inside 192.168.223.0 255.255.255.0 172.19.5.1

And all the commands must be done from config mode.
0
 
carlettusAuthor Commented:
Hi,
it worked . thank you.
Carlettus
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now