Configures a breakout port, verifies the configuration, and configures an EPG on a sub port using the NX-OS style CLI.
Before you begin
-
The ACI fabric is installed, APIC controllers are online, and the APIC cluster is formed and healthy.
-
An APIC fabric administrator account is available that will enable creating the necessary fabric infrastructure configurations.
-
The target leaf switches are registered in the ACI fabric and available.
-
The 40GE or 100GE leaf switch ports are connected with Cisco breakout cables to the downlink ports.
Procedure
-
configure
Enters configuration mode.
Example:
apic1#
configure
-
leaf ID
Selects the leaf switch where the breakout port will be located and enters leaf configuration mode.
Example:
apic1(config)#
leaf
101
-
interface ethernet slot/port
Identifies the interface to be enabled as a 40 Gigabit Ethernet (GE) breakout port.
Example:
apic1(config-leaf)#
interface
ethernet
1/16
-
breakout 10g-4x | 25g-4x
Enables the selected interface for breakout.
Note
Example:
apic1(config-leaf-if)#
breakout
10g-4x
-
show run
Verifies the configuration by showing the running configuration of the interface and returns to global configuration mode.
Example:
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
-
tenant tenant-name
Selects or creates the tenant that will consume the breakout ports and enters tenant configuration mode.
Example:
apic1(config)#
tenant
tenant64
-
vrf context vrf-name
Creates or identifies the Virtual Routing and Forwarding (VRF) instance associated with the tenant and exits the configuration mode.
Example:
apic1(config-tenant)#
vrf
context
vrf64
apic1(config-tenant-vrf)#
exit
-
bridge-domain bridge-domain-name
Creates or identifies the bridge-domain associated with the tenant and enters BD configuration mode.
Example:
apic1(config-tenant)#
bridge-domain
bd64
-
vrf member vrf-name
Associates the VRF with the bridge-domain and exits the configuration mode.
Example:
apic1(config-tenant-bd)#
vrf
member
vrf64
apic1(config-tenant-bd)#
exit
-
application application-profile-name
Creates or identifies the application profile associated with the tenant and the EPG.
Example:
apic1(config-tenant)#
application
app64
-
epg epg-name
Creates or identifies the EPG and enters into EPG configuration mode.
Example:
apic1(config-tenant)#
epg
epg64
-
bridge-domain member bridge-domain-name
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.
Example:
apic1(config-tenant-app-epg)#
bridge-domain
member
bd64
apic1(config-tenant-app-epg)#
exit
apic1(config-tenant-app)#
exit
apic1(config-tenant)#
exit
-
leaf leaf-name
Associates the EPG with a break-out port.
Example:
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.
-
speed interface-speed
Enters leaf interface mode, sets the speed of an interface, and exits the configuration mode.
Example:
apic1(config)#
leaf
101
apic1(config-leaf)#
interface
ethernet
1/16/1
apic1(config-leaf-if)#
speed
10G
apic1(config-leaf-if)#
exit
-
show run
After you have configured the sub ports, entering this command in leaf configuration mode displays the sub port details.
Example:
apic1(config-leaf)#
show
run
The port on leaf 101 at interface 1/16 is confirmed enabled for breakout with sub ports 1/16/1, 1/16/2, 1/16/3, and 1/16/4.
This example configures the port for breakout:
apic1# configure
apic1(config)# leaf 101
apic1(config-leaf)# interface ethernet 1/16
apic1(config-leaf-if)# breakout 10g-4x
This example configures the EPG for the sub ports.
apic1(config)# tenant tenant64
apic1(config-tenant)# vrf context vrf64
apic1(config-tenant-vrf)# exit
apic1(config-tenant)# bridge-domain bd64
apic1(config-tenant-bd)# vrf member vrf64
apic1(config-tenant-bd)# exit
apic1(config-tenant)# application app64
apic1(config-tenant-app)# epg epg64
apic1(config-tenant-app-epg)# bridge-domain member bd64
apic1(config-tenant-app-epg)# end
This example sets the speed for the breakout sub ports to 10G.
apic1(config)# leaf 101
apic1(config-leaf)# interface ethernet 1/16/1
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# exit
apic1(config-leaf)# interface ethernet 1/16/2
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# exit
apic1(config-leaf)# interface ethernet 1/16/3
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# exit
apic1(config-leaf)# interface ethernet 1/16/4
apic1(config-leaf-if)# speed 10G
apic1(config-leaf-if)# exit
This example shows the four sub ports connected to leaf 101, interface 1/16.
apic1#(config-leaf)#
show
run
# Command: show running-config leaf 101
# Time: Fri Dec 2 00:51:08 2016
leaf 101
interface ethernet 1/16/1
speed 10G
negotiate auto
link debounce time 100
exit
interface ethernet 1/16/2
speed 10G
negotiate auto
link debounce time 100
exit
interface ethernet 1/16/3
speed 10G
negotiate auto
link debounce time 100
exit
interface ethernet 1/16/4
speed 10G
negotiate auto
link debounce time 100
exit
interface ethernet 1/16
breakout 10g-4x
exit
interface vfc 1/16