Cisco Cisco IOS Software Release 12.0(13)S7

Page de 16
      BGP Route-Map Continue
continue
12
Cisco IOS Release 12.0(24)S, 12.3(2)T, 12.2(18)S, and 12.0(31)S 
Router(config-route-map)# match ip address 2 
Router(config-route-map)# match metric 20 
Router(config-route-map)# set as-path prepend 10 10 
Router(config-route-map)# exit 
Router(config)# route-map ROUTE-MAP-NAME permit 30 
Router(config-route-map)# set as-path prepend 10 10 10 
Router(config-route-map)# continue 
Router(config-route-map)# exit 
Router(config)# route-map ROUTE-MAP-NAME permit 40
Router(config-route-map)# match community 10:1
Router(config-route-map)# set local-preference 104
Router(config-route-map)# exit 
Related Commands
Command
Description
aggregate-address 
Creates an aggregate entry in a BGP or multicast BGP database. 
match as-path 
Match BGP autonomous system path access lists.
match community 
Matches a BGP community.
match extcommunity 
Matches a BGP extended community. 
match interface (IP) 
Distributes routes that have their next hop out one of the interfaces specified.
match ip address 
Distributes any routes that have a destination network number address 
permitted by a standard or extended access list, or performs policy routing 
on packets.
match ip next-hop 
Redistributes any routes that have a next-hop router address passed by one 
of the access lists specified.
match ip route-source 
Redistributes routes that have been advertised by routers and access servers 
at the address specified by the access lists.
match length 
Bases policy routing on the Level 3 length of a packet.
match metric (IP) 
Redistributes routes with the metric specified.
match mpls-label 
Redistributes routes that include MPLS labels if the routes meet the 
conditions specified in the route map. 
match route-type (IP) 
Redistributes routes of the specified type.
match tag 
Redistributes routes in the routing table that match the specified tags.
neighbor 
default-originate 
Allows a BGP speaker (the local router) to send the default route 0.0.0.0 to 
a neighbor for use as a default route. 
neighbor route-map 
Applies a route map to incoming or outgoing routes. 
neighbor remote-as
 
Adds an entry to the BGP or multiprotocol BGP neighbor table. 
redistribute (IP) 
Redistributes routes from one routing domain into another routing domain. 
route-map (IP) 
Defines the conditions for redistributing routes from one routing protocol to 
another, or enables policy routing.
set as-path 
Modifies an autonomous system path for BGP routes. 
set automatic-tag 
Automatically computes the tag value in a route map configuration.
set comm-list delete 
Removes communities from the community attribute of an inbound or 
outbound update.
set community 
Sets the BGP communities attribute.
set dampening 
Sets the BGP route dampening factors. 
set default interface 
Indicates where to output packets that pass a match clause of a route map for 
policy routing and have no explicit route to the destination.