Configuring Peer Session Templates Use the following tasks to create and configure a peer session template: Configuring a Basic Peer Session Template Perform this task to create a basic peer session template with general BGP routing session commands that can be applied to many neighbors using one of the next two tasks. Configuring BGP Configuring Peer Session Templates Command or Action Purpose access-list-name] | prefix-list prefix-list-name [prefix-list-name...]} Example: Device(config-route-map)# set ip address prefix-list ORIGINATED ROUTES _ Step 12 set community {community-number [additive] [well-known-community] | none} Example:
Device(config-route-map)# set community 14616:555 additive Sets the BGP community attribute of the injected route. Step 13 exit Example: Device(config-route-map)# exit Exits route map configuration mode and enters global configuration mode. Step 14 ip prefix-list list-name [seq seq-value] {deny network/length | permit network/length} [ge ge-value] [le le-value] Example: Device(config)# ip prefix-list SOURCE permit 10.1.1.0/24 Configures a prefix list. In this example, the prefix list that is named SOURCE is configured to permit routes from network 10.1.1.0/24. Step 15 Repeat Step 14 for every prefix list to be created. -- Step 16 exit Example:
Device(config)# exit Exits global configuration mode and returns to privileged EXEC mode. Step 17 show ip bgp injected-paths Example: Device# show ip bgp injected-paths (Optional) Displays information about injected paths. Configuring BGP 39