Editing Route Maps on Cisco Router 2821

We would like to match router 2 (cts_nc_r2) with router 1 (cts_nc_r1): How would we edit the route map on R2 to R1?

cts_nc_r2#show route
route-map GPAccess, permit, sequence 10
  Match clauses:
    ip address (access-lists): 199
  Set clauses:
    ip next-hop 10.1.0.218
    interface GigabitEthernet0/0.1
  Policy routing matches: 0 packets, 0 bytes


cts_nc_r1#show route
route-map GPAccess, permit, sequence 10
  Match clauses:
    ip address (access-lists): 199
  Set clauses:
    ip next-hop 10.100.200.14
    interface FastEthernet0/3/0
  Policy routing matches: 6686457 packets, 678231057 bytes
route-map GPAcess, permit, sequence 10
  Match clauses:
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes
FRANK EGGLESTONAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don JohnstonInstructorCommented:
We would like to match router 2 (cts_nc_r2) with router 1 (cts_nc_r1):
What do you mean by this?
Do you want the same route map on both routers?  If so, it looks like the only difference is the next hop address. You won't be to have that be the same unless both routers share a common network with that address.
0
FRANK EGGLESTONAuthor Commented:
Hi! Yes both routers are on the same network using GLBP. We inherited the configurations from a previous network engineer. I want to edit the next hop address to 10.1.0.218 but did not want to break anything.

Steven
0
Don JohnstonInstructorCommented:
Okay. Then on the cts_nc_r1 router do the following:

route-map GPAccess, permit, sequence 10
  Set clauses:
    ip next-hop 10.1.0.218
    interface GigabitEthernet0/0.1 ! or whatever interface the 10.1.0.218 is connected to.

Open in new window


IIRC, that should overwrite the existing statements.  But if it doesn't, just followup with "no" in front of the old statements:

route-map GPAccess, permit, sequence 10
    no ip next-hop 10.1.0.218
    no interface GigabitEthernet0/0.1

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.