Apply Origin; Apply Preference - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

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 cost, apply 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
1-8

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents