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:
- Configure a BGP group.[edit]user@host# set protocols bgp group g1
- 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 ]
- (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
- Verify the configuration by checking the output of the show bgp neighbor command.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
