Cisco Cisco IOS Software Release 12.0(24)S

Page de 42
      BGP Configuration Using Peer Templates
How to Configure BGP Using Peer Templates
11
Cisco IOS Release: Multiple Releases (see the Feature History table)
Configuring Peer Session Template Inheritance with the inherit peer-session 
Command
This task configures peer session template inheritance with the inherit peer-session command. It creates 
and configures a peer session template and allows it to inherit a configuration from another peer session 
template. 
Note
The commands in Steps 5 and 6 are optional and could be replaced with any supported general session 
commands. 
SUMMARY STEPS
1.
enable
2.
configure terminal 
3.
router bgp as-number
4.
template peer-session session-template-name 
5.
description text-string
6.
update-source interface-type interface-number 
7.
inherit peer-session session-template-name 
8.
exit peer-session 
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure
 terminal 
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
router bgp 
as-number 
Example:
Router(config)# router bgp 101
Enters router configuration mode and creates a BGP routing 
process. 
Step 4
template peer-session 
session-template-name
Example:
Router(config-router)# template peer-session 
CORE1 
Enter session-template configuration mode and creates a 
peer session template.