Skip to content

Layer 2 Handoff

Location in GUI: Provision » SD-Access » Fabric Sites » Fabric Infrastructure » Border Node » Configure » Layer 2 Handoff

Diagram
NameTypeConstraintMandatoryDefault Value
l2_handoffsClass[l2_handoffs]No

l2_handoffs (catalyst_center.fabric.border_devices)

Section titled “l2_handoffs (catalyst_center.fabric.border_devices)”
NameTypeConstraintMandatoryDefault Value
l2_without_anycast_gatewayClass[l2_without_anycast_gateway]No
l2_with_anycast_gatewayList[l2_with_anycast_gateway]No

l2_without_anycast_gateway (catalyst_center.fabric.border_devices.l2_handoffs)

Section titled “l2_without_anycast_gateway (catalyst_center.fabric.border_devices.l2_handoffs)”
NameTypeConstraintMandatoryDefault Value
vlansList[vlans]No
interfacesListStringNo

l2_with_anycast_gateway (catalyst_center.fabric.border_devices.l2_handoffs)

Section titled “l2_with_anycast_gateway (catalyst_center.fabric.border_devices.l2_handoffs)”
NameTypeConstraintMandatoryDefault Value
l3_virtual_networkStringYes
ip_pool_nameStringYes
external_vlanIntegermin: 2, max: 4094No
interfacesListStringNo

vlans (catalyst_center.fabric.border_devices.l2_handoffs.l2_without_anycast_gateway)

Section titled “vlans (catalyst_center.fabric.border_devices.l2_handoffs.l2_without_anycast_gateway)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
external_vlanIntegermin: 2, max: 4094No

L2 Handoff with Anycast Gateway:

catalyst_center:
fabric:
border_devices:
- name: BR01
border_types:
- LAYER_3
- LAYER_2
default_exit: true
import_external_routes: false
local_autonomous_system_number: 65001
external_domain_routing_protocol_name: BGP
l2_handoffs:
l2_with_anycast_gateway:
- l3_virtual_network: Campus
ip_pool_name: CampusVN-IPPool
external_vlan: 400
interfaces:
- GigabitEthernet1/0/8
- GigabitEthernet1/0/9

To create L2 handoff with anycast gateway, l3_virtual_network attribute has to match L3 virtual network name configured under l3_virtual_networks:

---
catalyst_center:
fabric:
l3_virtual_networks:
- name: Campus
fabric_sites:
- name: Global/Poland/Krakow
authentication_template:
name: No Authentication
pub_sub_enabled: true
l3_virtual_networks:
- Campus

and ip_pool_name attribute has to match IP Pool reservation created under site:

---
catalyst_center:
network_settings:
ip_pools:
- name: Global_Pool
ip_address_space: IPv4
ip_pool_cidr: 192.168.0.0/16
ip_pools_reservations:
- name: CampusVN-IPPool
prefix_length: 24
subnet: 192.168.111.0
gateway: 192.168.111.1
---
catalyst_center:
sites:
areas:
- name: Poland
parent_name: Global
- name: Krakow
parent_name: Global/Poland
ip_pools_reservations:
- CampusVN-IPPool

L2 Handoff without Anycast Gateway:

catalyst_center:
fabric:
border_devices:
- name: BR01
border_types:
- LAYER_3
- LAYER_2
default_exit: true
import_external_routes: false
local_autonomous_system_number: 65001
external_domain_routing_protocol_name: BGP
l2_handoffs:
l2_without_anycast_gateway:
vlans:
- name: L2_VLAN_USERS
external_vlan: 500
interfaces:
- GigabitEthernet1/0/6
- GigabitEthernet1/0/7

To create L2 handoff without anycast gateway, name of vlan have to match vlan name created under l2_virtual_networks:

---
catalyst_center:
fabric:
fabric_sites:
- name: Global/Poland/Krakow
authentication_template:
name: No Authentication
pub_sub_enabled: true
l2_virtual_networks:
- name: L2_SDA_VN_1
vlan_name: L2_VLAN_USERS
vlan_id: 501
traffic_type: DATA
fabric_enabled_wireless: false