Deconfigure Local ASN during VRF Update

You can deconfigure a local ASN when you update a VRF.

About this task

Follow this procedure to deconfigure a local ASN.

Procedure

  1. To deconfigure a local ASN when you update a tenant VRF, run the following command:
    efa tenant vrf update --name ten1vrf1 --tenant ten1 --operation local-asn-delete
    WARNING : This operation will result in the reset of the backup routing bgp neighbors of the VRF. Do you want to proceed (Y/n)?
    
    
    efa tenant vrf show
    +--------+------+-----------+------------+------------+----+-----+-------+------------------+-----------+-----------+
    |  Name  |Tenant| Routing   | Centralized|Redistribute|Max |Local| Enable|      State       | Dev State | App State |
    |        |      | Type      | Routers    |            |Path|ASN  | GR    |                  |           |           |
    +--------+------+-----------+------------+------------+----+-----+-------+------------------+-----------+-----------+
    |ten1vrf1| ten1 |distributed|            | connected  | 8  |     |false  |vrf-device-created|provisioned|cfg-in-sync|
    +--------+------+-----------+------------+------------+----+-----+-------+------------------+-----------+-----------+
    
  2. Complete the following configuration on SLX device:
    L1# do show running-config router bgp
    router bgp
     local-as 4200000000
     capability as4-enable
     fast-external-fallover
     neighbor 10.20.20.3 remote-as 4200000000
     neighbor 10.20.20.3 next-hop-self
     address-family ipv4 unicast
      network 172.31.254.203/32
      network 172.31.254.226/32
      maximum-paths 8
      graceful-restart
     !
     address-family ipv4 unicast vrf ten1vrf1
      redistribute connected
      neighbor 10.40.40.253 remote-as 4200000000
      neighbor 10.40.40.253 next-hop-self
      maximum-paths 8
     !
     address-family ipv6 unicast vrf ten1vrf1
      redistribute connected
      neighbor fd40:4040:4040:1::ff remote-as 4200000000
      neighbor fd40:4040:4040:1::ff next-hop-self
      neighbor fd40:4040:4040:1::ff activate
      maximum-paths 8
     !
    !
    L2# show running-config router bgp
    router bgp
     local-as 4200000000
     capability as4-enable
     fast-external-fallover
     neighbor 10.20.20.2 remote-as 4200000000
     neighbor 10.20.20.2 next-hop-self
     address-family ipv4 unicast
      network 172.31.254.226/32
      network 172.31.254.243/32
      maximum-paths 8
      graceful-restart
     !
     address-family ipv4 unicast vrf ten1vrf1
      redistribute connected
      neighbor 10.40.40.252 remote-as 4200000000
      neighbor 10.40.40.252 next-hop-self
      maximum-paths 8
     !
     address-family ipv6 unicast vrf ten1vrf1
      redistribute connected
      neighbor fd40:4040:4040:1::fe remote-as 4200000000
      neighbor fd40:4040:4040:1::fe next-hop-self
      neighbor fd40:4040:4040:1::fe activate
      maximum-paths 8
     !