Cisco Cisco IOS Software Release 12.0(24)S

Page de 42
      BGP Configuration Using Peer Templates
How to Configure BGP Using Peer Templates
14
Cisco IOS Release: Multiple Releases (see the Feature History table)
What to Do Next
After the peer session template is created, the configuration of the peer session template can be inherited 
or applied by another peer session template with the inherit peer-session or neighbor inherit 
peer-session
 command.
Verifying Peer Session Templates 
This task verifies the configuration of peer session templates. 
SUMMARY STEPS
1.
show ip bgp template peer-session session-template-name
DETAILED STEPS
Step 5
neighbor
 ip-address inherit peer-session 
session-template-name 
Example:
Router(config-router)# neighbor 172.16.0.1 
inherit peer-session CORE1 
Sends a peer session template to a neighbor so that the 
neighbor can inherit the configuration. 
The example configures a router to send the peer 
session template named CORE1 to the 172.16.0.1 
neighbor to inherit. This template can be applied to a 
neighbor, and if another peer session template is 
indirectly inherited in CORE1, the indirectly inherited 
configuration will also be applied. No additional peer 
session templates can be directly applied. However, the 
directly inherited template can also inherit up to seven 
additional indirectly inherited peer session templates. 
Step 6
exit 
Example:
Router(config-router)# exit 
Exits router configuration mode and enters global 
configuration mode. 
Command or Action
Purpose
Command or Action
Purpose
Step 1
show ip bgp template peer-session 
[session-template-name]
Example:
Router# show ip bgp template peer-session
Displays locally configured peer session templates.
The output can be filtered to display a single peer 
policy template with the peer-session-name argument. 
This command also supports all standard output 
modifiers.