Configure Local ASN During VRF Update

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

About this task

Follow this procedure to configure a local ASN.

Procedure

  1. To configure a local ASN when you update a tenant VRF, run the following command:
    efa tenant vrf update --name ten1vrf1 --tenant ten1 --operation local-asn-add --local-asn 6000
    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 Type | Centralized Routers | Redistribute | Max Path | Local Asn | Enable GR |       State        |  Dev State  |  App State  |
    +----------+--------+--------------+---------------------+--------------+----------+-----------+-----------+--------------------+-------------+-------------+
    | ten1vrf1 |  ten1  | distributed  |                     |  connected   |    8     |   6000    |   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
      local-as 6000
      redistribute connected
      neighbor 10.40.40.253 remote-as 6000
      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 6000
      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
      local-as 6000
      redistribute connected
      neighbor 10.40.40.252 remote-as 6000
      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 6000
      neighbor fd40:4040:4040:1::fe next-hop-self
      neighbor fd40:4040:4040:1::fe activate
      maximum-paths 8
     !