3com S7906E Guide De Référence

Page de 2327
 
1-8 
apply origin 
Syntax 
apply origin { igp | egp as-number | incomplete } 
undo apply origin 
View 
Route policy view 
Default Level 
2: System level 
Parameters 
igp: Sets the origin attribute of BGP routing information to IGP.  
egp: Sets the origin attrubute 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 attribute of BGP routing information to unknown.  
Description 
Use the apply origin command to set the specified origin attribute for BGP routes.  
Use the undo apply origin command to remove the clause configuration.  
No origin attribute is set for BGP routing information by default.  
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 next-hop,  apply local-preference
apply costapply tag.  
Examples 
# Configure node 10 in permit mode of route policy policy1: If BGP routing information matches 
AS-PATH list 1, set the origin attribute of the routing information 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 
Route policy view 
Default Level 
2: System level