cisco — Configuring Peer Policy Template Inheritance with the inherit peer-policy Command

Configuring Peer Policy Template Inheritance with the inherit peer-policy Command This task configures peer policy template inheritance using the inherit peer-policy command. It creates and configure a peer policy template and allows it to inherit a configuration from another peer policy template. The commands in Steps 5 and 6 are optional and could be replaced with any supported BGP policy configuration commands. Note To configure peer policy template inheritance, perform this procedure: Procedure Configuring BGP Configuring Peer Policy Template Inheritance with the inherit peer-policy Command Command or Action Purpose supported commands, see the “Peer Policy Templates” section.

Step 7 prefix-list prefix-list-name {in | out} Example: Device(config-router-ptmp)# prefix-list NO-MARKETING in (Optional) Filters prefixes that are received by the router or sent from the router. The prefix list in the example filters inbound internal addresses. Note Any supported BGP policy configuration command can be used here. For a list of the supported commands, see the “Peer Policy Templates” section. Step 8 end Example: Device(config-router-ptmp)# end Exits policy-template configuration mode and returns to privileged EXEC mode. 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: Enters router configuration mode and creates a BGP routing process. Configuring BGP 46