Step 1
|
configure
|
Enters configuration mode.
|
Step 2
|
leaf
ID
|
Selects the leaf switch where the breakout port will be located and enters leaf configuration mode.
|
Step 3
|
interface
ethernetslot/port
apic1(config-leaf)# interface ethernet 1/16
|
Identifies the interface to be enabled as a 40 Gigabit Ethernet (GE) breakout port.
|
Step 4
|
breakout10g-4x | 25g-4x
apic1(config-leaf-if)# breakout 10g-4x
|
Enables the selected interface for breakout.
|
Step 5
|
show
run
apic1(config-leaf-if)# show run
# Command: show running-config leaf 101 interface ethernet 1 / 16
# Time: Fri Dec 2 18:13:39 2016
leaf 101
interface ethernet 1/16
breakout 10g-4x
apic1(config-leaf-if)# exit
apic1(config-leaf)# exit
|
Verifies the configuration by showing the running configuration of the interface and returns to global configuration mode.
|
Step 6
|
tenant
tenant-name
apic1(config)# tenant tenant64
|
Selects or creates the tenant that will consume the breakout ports and enters tenant configuration mode.
|
Step 7
|
vrf
context
vrf-name
apic1(config-tenant)# vrf context vrf64
apic1(config-tenant-vrf)# exit
|
Creates or identifies the Virtual Routing and Forwarding (VRF) instance associated with the tenant and exits the configuration
mode.
|
Step 8
|
bridge-domain
bridge-domain-name
apic1(config-tenant)# bridge-domain bd64
|
Creates or identifies the bridge-domain associated with the tenant and enters BD configuration mode.
|
Step 9
|
vrf
member
vrf-name
apic1(config-tenant-bd)# vrf member vrf64
apic1(config-tenant-bd)# exit
|
Associates the VRF with the bridge-domain and exits the configuration mode.
|
Step 10
|
application
application-profile-name
apic1(config-tenant)# application app64
|
Creates or identifies the application profile associated with the tenant and the EPG.
|
Step 11
|
epg
epg-name
apic1(config-tenant)# epg epg64
|
Creates or identifies the EPG and enters into EPG configuration mode.
|
Step 12
|
bridge-domain
member
bridge-domain-name
apic1(config-tenant-app-epg)# bridge-domain member bd64
apic1(config-tenant-app-epg)# exit
apic1(config-tenant-app)# exit
apic1(config-tenant)# exit
|
Associates the EPG with the bridge domain and returns to global configuration mode.
Configure the sub ports as desired, for example, use the speed command in leaf interface mode to configure a sub port.
|
Step 13
|
leaf
leaf-name
apic1(config)# leaf 1017
apic1(config-leaf)# interface ethernet 1/13
apic1(config-leaf-if)# vlan-domain member dom1
apic1(config-leaf-if)# switchport trunk allowed vlan 20 tenant t1 application AP1 epg EPG1
Note
|
The vlan-domain and vlan-domain member commands mentioned in the above example are a pre-requisite for deploying an EPG on
a port.
|
|
Associates the EPG with a break-out port.
|
Step 14
|
speed
interface-speed
apic1(config)# leaf 101
apic1(config-leaf)# interface ethernet 1/16/1
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# exit
|
Enters leaf interface mode, sets the speed of an interface, and exits the configuration mode.
|
Step 15
|
show
run
apic1(config-leaf)# show run
|
After you have configured the sub ports, entering this command in leaf configuration mode displays the sub port details.
|