Users Guide

Parameters
ebgp-templateEnter an external BGP template to establish a BGP neighborship through this
interface.
ebgp-templateEnter an internal BGP template to establish a BGP neighborship through this
interface.
template-nameEnter the name of the template.
Default Not configured
Command Mode ROUTER-NEIGHBOR
Usage
Information
This command is available only if you use the neighbor unnumbered-auto command.
Example
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# template int-bgp
OS10(config-router-template)# timers 30 90
OS10(config-router-template)# exit
OS10(config-router-bgp-100)# template ext-bgp
OS10(config-router-template)# timers 40 120
OS10(config-router-template)# exit
OS10(config-router-bgp-100)# neighbor unnumbered-auto
OS10(config-router-neighbor)# inherit ibgp-template int-bgp
OS10(config-router-neighbor)# inherit ebgp-template ext-bgp
OS10(config-router-neighbor)# no shutdown
Supported
Releases
10.5.2.0 or later
inherit template
Configures a peer group template name that the neighbors use to inherit peer-group configuration.
Syntax
inherit template template-name [inherit-type {ibgp | ebgp}]
Parameters
template-name Enter a template name. A maximum of 16 characters.
inherit-type {ibgp | ebgp} To associate a template to an unnumbered peer, specify the
inherit-type. The options are ibgp and ebgp.
Default Not configured
Command Mode ROUTER-NEIGHBOR
Usage
Information
When network neighbors inherit a template, all that are enabled on the template are also supported on the
neighbors. The no version of this command disables the peer group template configuration.
Example
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# template Group
OS10(config-router-template)# weight 100
OS10(config-router-template)# exit
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# no switchport
OS10(conf-if-eth1/1/1)# exit
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# neighbor interface ethernet 1/1/1
OS10(config-router-neighbor)# inherit template Group inherit-type ebgp
OS10(config-router-neighbor)# no shutdown
Supported
Releases
10.2.0E or later
ipv6 bgp unnumbered
Configures an interface to be a BGP auto-unnumbered interface.
Syntax
ipv6 bgp unnumbered {ebgp-template | ibgp-template}
852 Layer 3