Template (Bgp) - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

template (BGP)

To create a peer template and enter a peer template configuration mode, use the template command. To
remove a peer template, use the no form of this command.
Syntax Description
peer name
peer-policy name
peer-session name
Command Default
This command has no default settings.
Command Modes
Neighbor address-family configuration mode
Router bgp configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
This command allows you to enable a set of predefined attributes that a neighbor inherits.
Note
A Border Gateway Protocol (BGP) neighbor cannot be configured to work with both peer groups and
peer templates. A BGP neighbor can be configured to belong to a peer group or to inherit policies from
peer templates only.
Peer templates support only general policy commands. BGP policy configuration commands that are
configured only for specific address families or NLRI configuration modes are configured with peer
templates.
General session commands can be configured once in a peer-session template and then applied to many
neighbors through the direct application of a peer-session template or through indirect inheritance from
a peer-session template. The configuration of peer-session templates simplify the configuration of
general session commands that are commonly applied to all neighbors within an autonomous system.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to create a peer-session template named CORE1. This example inherits the
configuration of the peer-session template named INTERNAL-BGP.
switch# configure terminal
switch(config)# router bgp 64496
switch(config-router)# template peer-session CORE1
OL-27852-01
template {peer name | peer-policy name | peer-session name}
no template {peer name | peer-policy name | peer-session name}
Specifies the name of the neighbor template.
Specifies the name of the peer-policy template.
Specifies the name of the peer-session template.
Modification
This command was introduced.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
template (BGP)
365

Advertisement

Table of Contents
loading

Table of Contents