Technical Documentation

Configuring BGP to Drop Path Attributes

You can configure BGP to drop path attributes from BGP updates during inbound processing. Doing so allows you to filter invalid or undesired path attributes, typically as a result of incorrect implementation of the software or use of nonstandard private path attribute codes.

Note: You can also configure BGP attributes to be ignored. If you configure path attributes to be both dropped and ignored, they will always be dropped because drop-path-attributes takes precedence over ignore-path-attributes.

To configure BGP to drop path attributes:

  1. Configure a BGP group.
    [edit]user@host# set protocols bgp group g1
  2. Configure the path attributes to drop by specifying the path attribute codes.
    [edit protocols bgp group g1]user@host# set drop-path-attributes [ 4 10 128 ]
  3. (Optional) Explicity configure BGP neighbor options to be different from the group options.
    [edit protocols bgp group g1]user@host# set neighbor 1.1.3.2 peer-as 2 local-as 1
  4. Verify the configuration by checking the output of the show bgp neighbor command.

Published: 2010-07-02

Help
|
My Account
|
Log Out