Command Reference Guide
18 ● apply origin 3Com Router 5000 Family and Router 6000 Family
Command Reference
apply origin
Purpose Use the apply origin command to set the routing source of BGP routing
information.
Use the undo apply origin command to cancel the apply clause.
Syntax apply origin { igp | egp as-number | incomplete }
undo apply origin
Parameters igp
Sets the BGP route information source as internal route
egp
Sets the BGP route information source as external
route
as-number
Specifies AS number of external route.
incomplete
Sets the BGP route information source as unknown
source.
Example Display how to define one apply clause. When it is used for setting routing
information attribute, it sets the routing source of the routing information as igp.
[3Com -route-policy] apply origin igp
View This command can be used in the following views:
■ Routing Policy view
Related Commands ■ if-match interface
■ if-match acl
■ if-match ip-prefix
■ if-match ip next-hop
■ if-match cost
■ if-match tag
■ route-policy
■ apply ip-address
■ apply local-preference
■ apply cost
■ apply tag