PREV NEXT INDEX

Avici Systems Inc.


set origin


Sets the route origin code for inbound BGP routes.

Syntax: set origin {igp | egp as-number | incomplete}

no set origin

igp

Reachability information is internal to the originating autonomous system.

egp

Reachability information is learned from EGP.

as-number

Number of a remote autonomous system. This value overwrites any existing origin attribute for incoming routes.

incomplete

Reachability information is learned from some other source.

Description: Use the set origin command to define the origin attribute in a BGP route or in a route being redistributed into BGP from another routing domain.

Use the no set origin command to delete an origin entry from a route map.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match the match criteria are processed according to the actions defined by the set commands. Routes that do not match at least one of the match criteria in the route map are ignored.

Use the route-map command to create a route map. Use the various match and set commands to define the conditions for redistributing routes between protocols or instances of the same protocol.

The origin attribute indicates the origin of a routing update. BGP uses the origin attribute to prefer routes. BGP prefers routes with the lowest origin type: IGP is preferred over EGP and EGP is preferred over incomplete.

Factory Default: Default origin.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#access-list 20 permit 10.5.1.121 0.0.0.255

router(config)#access-list 20 permit 10.20.0.0 0.0 255.255

router(config)#access-list 20 permit 10.3.0.0 0.255.255.255

router(config)#access-list 20 deny any

router(config)#route-map set-origin-igp permit 10

router(config-route-map)#match ip address 20

router(config-route-map)#set origin igp

router(config-route-map)#end

router(config)#

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match route-type
match tag
set as-path
set community
set community
set ip next-hop
set level
set local-preference
set metric
set metric-type
set tag
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol39.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com