cisco — Configuring Peer Session Template Inheritance with the inherit peer-session Command

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. The commands in Steps 5 and 6 are optional and could be replaced with any supported general session commands. Note To configure peer session template inheritance, perform this procedure: Procedure Configuring BGP Configuring Peer Session Template Inheritance with the inherit peer-session Command Command or Action Purpose Any supported general session command can be used here.

For a list of the supported commands, see the “Restrictions” section. Step 6 timers keepalive-interval hold-time Example: Device(config-router-stmp)# timers 30 300 (Optional) Configures BGP keepalive and hold timers. The hold time must be at least twice the keepalive time. Note Any supported general session command can be used here. For a list of the supported commands, see the “Restrictions” section. Step 7 end Example: Device(config-router)# end Exits session-template configuration mode and returns to privileged EXEC mode. Step 8 show ip bgp template peer-session [session-template-name] Example: Device# 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 session-template-name argument. This command also supports all standard output modifiers. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Configuring BGP 41