Skip to content

bgp_remove_private_as

Github Action edited this page Jun 28, 2023 · 3 revisions

RT-1.11: BGP remove private AS 

Summary

BGP remove private AS

Procedure

  • Establish BGP sessions as follows between ATE and DUT.
    • ATE emulates two eBGP neighbors peering with the DUT using public AS numbers.
      • DUT Port1 (AS 500) ---eBGP--- ATE Port1 (AS 100)
      • DUT Port2 (AS 500) ---eBGP--- ATE Port2 (AS 200)
    • Inject routes with AS_PATH modified to have private AS number 65501 from eBGP neighbor #1 (ATE Port1).
    • Validate received routes on ATE Port2 should have AS Path "500 100 65501".
    • Configure "remove private AS" with type PRIVATE_AS_REMOVE_ALL on DUT.
    • Validate that private AS numbers are stripped before advertisement to the eBGP peer ATE Port2.
    • AS path for received routes on ATE Port2 should be "500 100".
    • TODO: different patterns of private AS should be tested.

Config Parameter coverage

  • /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/config/remove-private-as

Telemetry Parameter coverage

  • /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as4-path/as4-segment/state

Protocol/RPC Parameter coverage

N/A

Minimum DUT platform requirement

N/A

Clone this wiki locally