Route Map Commands
©2008 Allied Telesis Inc. All rights reserved.
32.10
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
match origin
Use this command to add an origin match clause to a route map entry. Specify the origin
attribute value to match.
A BGP update message matches the route map if its origin attribute value matches the route
map’s origin value.
Each entry of a route map can only match against one origin in one origin match clause. If the
route map entry already has an origin match clause, entering this command replaces that match
clause with the new clause.
Note that this clause only determines whether the route map checks update messages for the
given origin value. The route map action and its
set
clauses determine what the route map
does with update messages that have that origin.
Use the
no
parameter to remove the origin match clause from the route map entry.
Syntax
match origin
[
egp
|
igp
|
incomplete
]
no match origin
Mode
Route-map mode
Usage
This command is valid for BGP update messages only.
Example
To add entry 34 to the route map called “rmap1”, which will drop externally-originated routes,
use the commands:
awplus(config)#route-map myroute deny 34
awplus(config-route-map)#match origin egp
Related Commands
route-map
set origin
show route-map
Parameter
Description
egp
Learned from an exterior gateway protocol
igp
Learned from a local interior gateway protocol
incomplete
Of unknown heritage, for example a static route