Neighbor Inherit Peer - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

neighbor inherit peer

To configure a BGP peer to inherit peer configuration parameters from a peer template, use
the neighbor inherit peer command in Router Configuration mode. Neighbor session and
policy parameters can be configured once in a peer template and inherited by multiple
neighbors, eliminating the need to configure the same parameters for each neighbor.
Parameters are inherited from the peer template specified and from any templates it inherits
from. A neighbor can inherit directly from only one peer template.
Default
No peer configuration parameters are inherited by default.
Format
neighbor ip-address inherit peer template-name
Mode
BGP Router Config
Parameter
Description
ip-address
The IP address of a neighbor whose configuration parameters are inherited from the peer template.
template-name
The name of the peer template whose peer configuration parameters are to be inherited by this
neighbor.
Command example:
(R1) (Config)# router bgp 65000
(R1) (Config-router)# neighbor 172.20.1.2 remote-as 65001
(R1) (Config-router)# neighbor 172.20.2.2 remote-as 65001
(R1) (Config-router)# template peer AGGR
(R1) (Config-rtr-tmp)# timers 3 9
(R1) (Config-rtr-tmp)# address-family ipv4
(R1) (Config-rtr-tmp-af)# send-community
(R1) (Config-rtr-tmp-af)# route-map RM4-IN in
(R1) (Config-rtr-tmp-af)# route-map RM4-OUT out
(R1) (Config-rtr-tmp-af)# exit
(R1) (Config-rtr-tmp)# exit
(R1) (Config-router)# neighbor 172.20.1.2 inherit peer AGGR
(R1) (Config-router)# neighbor 172.20.2.2 inherit peer AGGR
no neighbor inherit peer
Use the no neighbor inherit peer command to remove the inheritance.
Format
no neighbor ip-address inherit peer template-name
Mode
BGP Router Config
M6100 Series Switches
Border Gateway Protocol Commands
825

Advertisement

Table of Contents
loading

Table of Contents