IOS XR route-policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2020 09:02 PM
Under Cisco IOS I have the following:
route-map RPA-SET-MED permit 10
match ip address prefix-list RPA-HTC-DMZ-NETWORKS
set metric 50
set community 4771:120
!
route-map RPA-SET-MED permit 20
set metric 300
Under IOS XR for an equivalent route-policy as per above what is the equivalent command for "set metric" as set metric is not available under XR ?
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2020 11:26 PM
Hello @jvoorend ,
according to the following document in IOS XR you can use
set med <value>
the link is for IOS XR 7.0, but it is likely not a new command.
Hope to help
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2020 01:36 AM - edited 07-06-2020 01:37 AM
Hello
Ive never used software this however I interpret your IOS route-map as the following in IOS-XR RPL : Here
ipv4 prefix-list RPA-HTC_DMZ-NETWORKS
permit x.x.x.y/24
route-policy RPA-SET-MED
if destination in RPA-HTC_DMZ-NETWORKS then
set med 50
set community 4771:120
endif
if not destination in RPA-HTC_DMZ-NETWORKS then
set med 300
endif
end-policy
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2020 01:49 PM
Many thanks for the replies. Confirms my thinking with regard to config setup.
Cheers
