![Cisco Nexus 3548 series Скачать руководство пользователя страница 385](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162385.webp)
365
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
template (BGP)
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.
template
{
peer
name
|
peer-policy
name
|
peer-session
name
}
no template
{
peer
name
|
peer-policy
name
|
peer-session
name
}
Syntax Description
Command Default
This command has no default settings.
Command Modes
Neighbor address-family configuration mode
Router bgp configuration mode
Command History
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
peer
name
Specifies the name of the neighbor template.
peer-policy
name
Specifies the name of the peer-policy template.
peer-session
name
Specifies the name of the peer-session template.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Содержание Nexus 3548 series
Страница 14: ...Contents xiv Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 16: ...xvi Cisco Nexus 3548 NX OS Unicast Routing Command Reference OL 27852 01 Chapter New and Changed Information ...
Страница 20: ...xx Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 ...
Страница 426: ...406 Cisco Nexus 3548 Switch NX OS Unicast Routing Command Reference OL 27852 01 Chapter Unicast Routing Commands vrrp ...