Configuring Peer Session Template Inheritance with the neighbor inherit peer-session Command This task configures a device to send a peer session template to a neighbor to inherit the configuration from the specified peer session template with the neighbor inherit peer-session command. Use the following steps to send a peer session template configuration to a neighbor to inherit. To configure peer session template inheritance, perform this procedure: Procedure Configuring BGP Configuring Peer Session Template Inheritance with the neighbor inherit peer-session Command Command or Action Purpose template can contain up to seven indirectly inherited peer session templates. Step 8 end Example:
Device(config-router)# end Exits session-template configuration mode and enters privileged EXEC mode. Step 9 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 optional 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. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode.
Step 3 router bgp autonomous-system-number Example: Device(config)# router bgp 101 Enters router configuration mode and creates a BGP routing process. Step 4 neighbor ip-address remote-as autonomous-system-number Example: Configures a peering session with the specified neighbor. The explicit remote-as statement is required for the neighbor inherit statement in Step 5 to Configuring BGP 43