Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

PDF

Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

Enforced bridge domains

Want to summarize with AI?

Log in

Describes the enforced bridge domain configuration that creates an endpoint in a subject endpoint group (EPG) that can only ping subnet gateways within the associated bridge domain.


An enforced bridge domain configuration entails creating an endpoint in a subject endpoint group (EPG) that can only ping subnet gateways within the associated bridge domain. With this configuration, you can then create a global exception list of IP addresses that can ping any subnet gateway.

Figure 1. Enforced bridge domain

Enforced bridge domain considerations

These considerations apply to enforced bridge domains:

  • The exception IP addresses can ping all of the bridge domain gateways across all of your VRF instances.

  • A loopback interface configured for an L3Out does not enforce reachability to the IP address that is configured for the subject loopback interface.

  • When an eBGP peer IP address exists in a different subnet than the subnet of the L3Out interface, you must add the peer subnet to the allowed exception subnets. Otherwise, eBGP traffic is blocked because the source IP address exists in a different subnet than the L3Out interface subnet.

  • For a BGP prefixed-based peer, you must add the peer subnet to the list of allowed exception subnets. For example, if 20.1.1.0/24 is configured as BGP prefixed-based peer, you must add 20.1.1.0/24 to the list of allowed exception subnets.

  • An enforced bridge domain is not supported with the Management tenant, regardless if the VRF instances are in-band or out-of-band, and any rules to control the traffic to these VRF instances should be configured using regular contracts.


Configure an enforced bridge domain using the NX-OS style CLI

This section provides information on how to configure your enforced bridge domain using the NX-OS style command line interface (CLI).

Procedure

  1. Create and enable the tenant:

    Example:

    In the following example ("cokeVrf") is created and enabled.

    apic1(config-tenant)# vrf context cokeVrf
    
    apic1(config-tenant-vrf)# bd-enforce enable
    
    apic1(config-tenant-vrf)# exit
    apic1(config-tenant)#exit
  2. Add the subnet to the exception list.

    Example:

    apic1(config)#bd-enf-exp-ip add1.2.3.4/24
    
    apic1(config)#exit
    

You can confirm if the enforced bridge domain is operational using the following type of command:
apic1# show running-config all | grep bd-enf
bd-enforce enable
bd-enf-exp-ip add 1.2.3.4/24
The following command removes the subnet from the exception list:
apic1(config)# no bd-enf-exp-ip 1.2.3.4/24
apic1(config)#tenant coke
apic1(config-tenant)#vrf context cokeVrf

What to do next

To disable the enforced bridge domain run the following command:
apic1(config-tenant-vrf)# no bd-enforce enable