route-map
- protocols route-map <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Route-map
- Values:
txt – Route-map name
- Instances:
Multiple
- Required:
- protocols route-map <txt> description <txt>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
txt – Description for this route-map
- protocols route-map <txt> rule <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Rule for this route-map
- Values:
u32 – Route-map rule number (1-65535)
- Instances:
Multiple
- Required:
- protocols route-map <txt> rule <u32> action <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Action to take on prefixes matching this rule
- Values:
permit – Permit matching prefixes
deny – Deny matching prefixes
- protocols route-map <txt> rule <u32> advisor <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Advisor to enable or disable route-map
- Reference:
- protocols route-map <txt> rule <u32> call <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Jump to another Route-Map after match+set
- Reference:
- protocols route-map <txt> rule <u32> description <txt>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
txt – Description for this rule
- protocols route-map <txt> rule <u32> match
- SDE
M10-Smart
M2
RS420
AresC640
Match values from routing table
- protocols route-map <txt> rule <u32> match community
- SDE
M10-Smart
M2
RS420
AresC640
Match BGP community list
- Required:
- protocols route-map <txt> rule <u32> match community exact-match
- SDE
M10-Smart
M2
RS420
AresC640
Do exact matching of communities
- protocols route-map <txt> rule <u32> match community list <id|u32>
- SDE
M10-Smart
M2
RS420
AresC640
BGP community list
- Values:
u32 – Community-list number (standard) (1-99)
u32 – Community-list number (expanded) (100-500)
id – Community-list name
- protocols route-map <txt> rule <u32> match interface <ifc>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
ifc – Match first hop interface of route
- protocols route-map <txt> rule <u32> match ip
- SDE
M10-Smart
M2
RS420
AresC640
IP information
- protocols route-map <txt> rule <u32> match ip address
- SDE
M10-Smart
M2
RS420
AresC640
Match address of route
- protocols route-map <txt> rule <u32> match ip address prefix-len <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match prefix length of ip address
- Values:
u32 – Prefix length (0-32)
- protocols route-map <txt> rule <u32> match ip address prefix-list <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Match entries of prefix-lists
- Reference:
- protocols route-map <txt> rule <u32> match ip nexthop
- SDE
M10-Smart
M2
RS420
AresC640
Match next-hop address of route
- protocols route-map <txt> rule <u32> match ip nexthop prefix-len <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match prefixlen of given nexthop
- Values:
u32 – Prefix length (0-32)
- protocols route-map <txt> rule <u32> match ip nexthop prefix-list <txt>
- SDE
M10-Smart
M2
RS420
AresC640
IP prefix-list to match
- Reference:
- protocols route-map <txt> rule <u32> match ip nexthop type
- SDE
M10-Smart
M2
RS420
AresC640
Match entries by type
- protocols route-map <txt> rule <u32> match ip nexthop type blackhole
- SDE
M10-Smart
M2
RS420
AresC640
Blackhole
- protocols route-map <txt> rule <u32> match ip route-source
- SDE
M10-Smart
M2
RS420
AresC640
Match advertising source address of route
- protocols route-map <txt> rule <u32> match ip route-source prefix-list <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Match entries of prefix-lists
- Reference:
- protocols route-map <txt> rule <u32> match ipv6
- SDE
M10-Smart
M2
RS420
AresC640
IPv6 information
- protocols route-map <txt> rule <u32> match ipv6 address
- SDE
M10-Smart
M2
RS420
AresC640
Match IPv6 address of route
- protocols route-map <txt> rule <u32> match ipv6 address prefix-len <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match prefix length of ipv6 address
- Values:
u32 – Prefix length (0-128)
- protocols route-map <txt> rule <u32> match ipv6 address prefix-list <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Match entries of prefix-lists6
- Reference:
- protocols route-map <txt> rule <u32> match ipv6 nexthop
- SDE
M10-Smart
M2
RS420
AresC640
Match IPv6 next-hop address of route
- protocols route-map <txt> rule <u32> match ipv6 nexthop address <ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
ipv6 – IPv6 address of next hop
- protocols route-map <txt> rule <u32> match ipv6 nexthop type
- SDE
M10-Smart
M2
RS420
AresC640
Match entries by type
- protocols route-map <txt> rule <u32> match ipv6 nexthop type blackhole
- SDE
M10-Smart
M2
RS420
AresC640
Blackhole
- protocols route-map <txt> rule <u32> match local-preference <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match local-preference of route
- Values:
u32 – Metric value (0-4294967295)
- protocols route-map <txt> rule <u32> match metric <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Metric of route to match
- Values:
u32 – Metric value (1-4294967295)
- protocols route-map <txt> rule <u32> match origin <txt>
- SDE
M10-Smart
M2
RS420
AresC640
BGP origin code
- Values:
egp – Exterior gateway protocol origin
igp – Interior gateway protocol origin
incomplete – Incomplete origin
- protocols route-map <txt> rule <u32> match peer
- SDE
M10-Smart
M2
RS420
AresC640
Match peer address
- protocols route-map <txt> rule <u32> match peer interface <ifc>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
ifc – Interface name of peer
- protocols route-map <txt> rule <u32> match peer ip-address <ipv4|ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
- Values:
ipv4 – Peer IPv4/IPv6 address
ipv6 – Peer IPv4/IPv6 address
- protocols route-map <txt> rule <u32> match peer local
- SDE
M10-Smart
M2
RS420
AresC640
Static or Redistributed routes
- protocols route-map <txt> rule <u32> match source-instance <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match the protocol’s instance number
- Values:
u32 – The instance number (0-255)
- protocols route-map <txt> rule <u32> match source-protocol <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Match protocol via which the route was learnt
- Values:
bgp – BGP protocol
connected – Routes from directly connected peer
kernel – Routes from kernel
nhrp – NHRP protocol
ospf – OSPF protocol
ospf6 – OSPF6 protocol
rip – RIP protocol
ripng – RIPNG protocol
static – Statically configured routes
system – Routes from system configuration
- protocols route-map <txt> rule <u32> match source-vrf <id>
- SDE
M10-Smart
M2
RS420
AresC640
Match source vrf
- Reference:
- protocols route-map <txt> rule <u32> match tag <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Match tag of route
- Values:
u32 – Tag value (1-4294967295)
- protocols route-map <txt> rule <u32> on-match
- SDE
M10-Smart
M2
RS420
AresC640
Exit policy on matches
- protocols route-map <txt> rule <u32> on-match goto <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Goto rule number
- Values:
u32 – Rule number (1-65535)
- protocols route-map <txt> rule <u32> on-match next
- SDE
M10-Smart
M2
RS420
AresC640
Goto the next rule number
- protocols route-map <txt> rule <u32> set
- SDE
M10-Smart
M2
RS420
AresC640
Route parameters
- protocols route-map <txt> rule <u32> set aggregator
- SDE
M10-Smart
M2
RS420
AresC640
BGP aggregator attribute
- Required:
- Required:
- protocols route-map <txt> rule <u32> set aggregator as <u32>
- SDE
M10-Smart
M2
RS420
AresC640
AS number of aggregator
- Values:
u32 – BGP AS number (1-4294967295)
- protocols route-map <txt> rule <u32> set aggregator ip <ipv4>
- SDE
M10-Smart
M2
RS420
AresC640
IP address of aggregator
- Values:
ipv4 – IP address
- protocols route-map <txt> rule <u32> set as-path
- SDE
M10-Smart
M2
RS420
AresC640
Transform BGP AS-path attribute
- protocols route-map <txt> rule <u32> set as-path exclude <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Exclude from the as-path
- Values:
u32 – AS number (1-4294967295)
- Instances:
List of values
- protocols route-map <txt> rule <u32> set as-path prepend <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Prepend to the as-path
- Values:
u32 – AS number (1-4294967294)
- Instances:
List of values
- protocols route-map <txt> rule <u32> set atomic-aggregate
- SDE
M10-Smart
M2
RS420
AresC640
BGP atomic aggregate attribute
- protocols route-map <txt> rule <u32> set comm-list <u32|id>
- SDE
M10-Smart
M2
RS420
AresC640
set BGP community list (for deletion)
- Reference:
- Instances:
Multiple
- Required:
- protocols route-map <txt> rule <u32> set comm-list <u32|id> delete
- SDE
M10-Smart
M2
RS420
AresC640
Delete matching communities
- protocols route-map <txt> rule <u32> set community
- SDE
M10-Smart
M2
RS420
AresC640
BGP community attribute
- protocols route-map <txt> rule <u32> set community additive
- SDE
M10-Smart
M2
RS420
AresC640
Enable communities addition
- protocols route-map <txt> rule <u32> set community internet
- SDE
M10-Smart
M2
RS420
AresC640
Symbolic Internet community 0
- protocols route-map <txt> rule <u32> set community local-AS
- SDE
M10-Smart
M2
RS420
AresC640
Advertise communities in local AS only (NO_EXPORT_SUBCONFED)
- protocols route-map <txt> rule <u32> set community no-advertise
- SDE
M10-Smart
M2
RS420
AresC640
Don’t advertise this route to any peer (NO_ADVERTISE)
- protocols route-map <txt> rule <u32> set community no-export
- SDE
M10-Smart
M2
RS420
AresC640
Don’t advertise outside of this AS of confederation boundry (NO_EXPORT)
- protocols route-map <txt> rule <u32> set community none
- SDE
M10-Smart
M2
RS420
AresC640
No community attribute
- protocols route-map <txt> rule <u32> set community value <txt>
- SDE
M10-Smart
M2
RS420
AresC640
Community values
- Values:
txt – Community value in AA:NN format (where AA and NN are (0-65535))
- Instances:
Multiple
- protocols route-map <txt> rule <u32> set distance <u32>
- SDE
M10-Smart
M2
RS420
AresC640
BGP Administrative Distance to use
- Values:
u32 – Distance value (0-255)
- protocols route-map <txt> rule <u32> set forwarding-address <ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
Forwarding Address
- Values:
ipv6 – IPv6 Address
- protocols route-map <txt> rule <u32> set ip
- SDE
M10-Smart
M2
RS420
AresC640
IP information
- protocols route-map <txt> rule <u32> set ip next-hop <id|ipv4>
- SDE
M10-Smart
M2
RS420
AresC640
Next hop address
- Values:
ipv4 – IP address of next hop
peer-address – Use peer address (for BGP only)
unchanged – Don’t modify existing Next hop address
- protocols route-map <txt> rule <u32> set ipv6
- SDE
M10-Smart
M2
RS420
AresC640
IPv6 information
- protocols route-map <txt> rule <u32> set ipv6 next-hop
- SDE
M10-Smart
M2
RS420
AresC640
IPv6 next-hop address
- protocols route-map <txt> rule <u32> set ipv6 next-hop global <ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
IPv6 global address
- Values:
ipv6 – IPv6 address of next hop
- protocols route-map <txt> rule <u32> set ipv6 next-hop local <ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
IPv6 local address
- Values:
ipv6 – IPv6 address of next hop
- protocols route-map <txt> rule <u32> set ipv6 next-hop peer-address
- SDE
M10-Smart
M2
RS420
AresC640
Use peer address (for BGP only)
- protocols route-map <txt> rule <u32> set ipv6 next-hop prefer-global
- SDE
M10-Smart
M2
RS420
AresC640
Prefer global over link-local if both exist
- protocols route-map <txt> rule <u32> set local-preference <u32>
- SDE
M10-Smart
M2
RS420
AresC640
BGP local preference path attribute
- Values:
u32 – Local preference value (0-4294967295)
- protocols route-map <txt> rule <u32> set metric <id>
- SDE
M10-Smart
M2
RS420
AresC640
Metric value for destination routing protocol
- Values:
int – Metric value or increment [+-](-4294967295,4294967295)
+rtt – Add round trip time
-rtt – Subtract round trip time
rtt – Assign round trip time
- protocols route-map <txt> rule <u32> set metric-type <txt>
- SDE
M10-Smart
M2
RS420
AresC640
OSPFv3 external metric-type
- Values:
type-1 – OSPFv6 external type 1 metric
type-2 – OSPFv6 external type 2 metric
- protocols route-map <txt> rule <u32> set origin <txt>
- SDE
M10-Smart
M2
RS420
AresC640
BGP origin code
- Values:
igp – Interior gateway protocol origin
egp – Exterior gateway protocol origin
incomplete – Incomplete origin
- protocols route-map <txt> rule <u32> set originator-id <ipv4>
- SDE
M10-Smart
M2
RS420
AresC640
BGP originator ID attribute
- Values:
ipv4 – IP address of originator
- protocols route-map <txt> rule <u32> set src <ipv4|ipv6>
- SDE
M10-Smart
M2
RS420
AresC640
Source address for route
- Values:
ipv4 – IPv4 source address
ipv6 – IPv6 source address
- Local IP address:
- protocols route-map <txt> rule <u32> set table <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Export route to non-main kernel table
- Values:
u32 – Kernel routing table id (1-4294967295)
- protocols route-map <txt> rule <u32> set tag <u32>
- SDE
M10-Smart
M2
RS420
AresC640
Tag value for routing protocol
- Values:
u32 – Tag value (1-4294967295)
- protocols route-map <txt> rule <u32> set weight <u32>
- SDE
M10-Smart
M2
RS420
AresC640
BGP weight for routing table
- Values:
u32 – Weight value (0-4294967295)