3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
1193
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply mpls-label 
apply origin
Syntax
apply origin { igp | egp as-number | incomplete }
undo apply origin
View
Routing policy view
Parameters
igp: Sets the origin of BGP routing information to IGP.
egp: Sets the origin of BGP routing information to EGP.
as-number: Autonomous system number for EGP routes, in the range of 1 to 
65535.
incomplete: Sets the origin of BGP routing information to unknown.
Description
Use the apply origin command to apply the specified origin attribute to BGP 
routes.
Use the undo apply origin command to remove the clause configuration.
No origin attribute is set for routing information by default.
Related commands:
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a route 
matches AS-path-ACL 1, set the origin for the route to IGP.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply origin igp 
apply preference
Syntax
apply preference preference
undo apply preference
View
Routing policy view
Parameters
preference: Routing preference, in the range of 1 to 255.