You can enter show commands in the external controller scope to view the configurations pushed down from the external controller.
Note |
The show run command shows all of the configurations that have been configured using the CLI. The show run controller command shows all of the configurations that have been pushed down from the controller.
|
This example shows how
the output of the
show
port-channel summary command varies depending on whether you are in
the base scope or the external controller scope, if you have assigned the
switch resources for the external controller as follows:
controller type l2-vxlan identifier 1
assign vlan 1001-1256 dedicated
assign interface ethernet 1/2-3 shared
assign interface port-channel 1-10 shared
controller description ctrlr-1
The following output
displays when you enter the
show
port-channel summary command in the base scope:
switch# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
1 Po1(SU) Eth LACP Eth1/5(P) Eth1/6(P)
2 Po2(SU) Eth LACP Eth1/7(P) Eth1/8(P)
3 Po3(SU) Eth LACP Eth1/9(P) Eth1/10(P)
4 Po4(SU) Eth LACP Eth1/11(P) Eth1/12(P)
5 Po5(SU) Eth LACP Eth1/13(P) Eth1/14(P)
6 Po6(SU) Eth LACP Eth1/15(P) Eth1/16(P)
7 Po7(SU) Eth LACP Eth1/17(P) Eth1/18(P)
8 Po8(SU) Eth LACP Eth1/19(P) Eth1/20(P)
9 Po9(SU) Eth LACP Eth1/21(P) Eth1/22(P)
10 Po10(SU) Eth LACP Eth1/23(P) Eth1/24(P)
101 Po101(SD) Eth NONE --
102 Po102(SD) Eth NONE --
103 Po103(SD) Eth NONE --
104 Po104(SD) Eth NONE --
1001 Po1001(SU) Eth LACP Eth1/35(P) Eth1/36(P)
The following output
displays when you enter the
show
port-channel summary command in the external controller scope:
switch%%ctrlr-1# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only)
s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
1 Po1(SU) Eth LACP Eth1/5(P) Eth1/6(P)
2 Po2(SU) Eth LACP Eth1/7(P) Eth1/8(P)
3 Po3(SU) Eth LACP Eth1/9(P) Eth1/10(P)
4 Po4(SU) Eth LACP Eth1/11(P) Eth1/12(P)
5 Po5(SU) Eth LACP Eth1/13(P) Eth1/14(P)
6 Po6(SU) Eth LACP Eth1/15(P) Eth1/16(P)
7 Po7(SU) Eth LACP Eth1/17(P) Eth1/18(P)
8 Po8(SU) Eth LACP Eth1/19(P) Eth1/20(P)
9 Po9(SU) Eth LACP Eth1/21(P) Eth1/22(P)
10 Po10(SU) Eth LACP Eth1/23(P) Eth1/24(P)
In the external
controller scope, the
show
port-channel summary command displays only the external
controller-exposed port-channel interfaces.
After you assign the
interfaces to the external controller, no VLANs are assigned to them until the
external controller pushes some associations down.
This example shows the
output of the shared interfaces in different scopes if VLANs 10-1000 are
configured on the switch but not assigned to the external controller:
Base scope:
interface ethernet 1/2
switchport mode trunk
switchport trunk allowed vlan 10-1000
External controller
scope:
interface ethernet 1/2
switchport mode trunk
switchport trunk allowed vlan none
In the above example,
no assigned VLANs are configured on the shared interface.
This example shows the output of the initial state (when the controller
is not pushing the port VLAN association):
Base scope:
show running-config interface Ethernet 1/1
!Command: show running-config interface Ethernet1/1
!Time: Tue Mar 8 15:11:38 2017
version 7.0(3)I6(1)
interface Ethernet1/1
switchport mode trunk
switchport trunk allowed vlan 100-1000
!controller type l2-vxlan identifier 1
External controller scope:
show running-config interface Ethernet 1/1
!Executed in context controller l2-vxlan 1
!Command: show running-config interface Ethernet1/1
!Time: Tue Mar 8 15:12:41 2017
version 7.0(3)I6(1)
interface Ethernet1/1
switchport mode trunk
switchport trunk allowed vlan none
!controller type l2-vxlan identifier 1
This example shows the output when the controller is pushing the port
VLAN association (Ethernet 1/1, 503):
Base scope:
show running-config interface Ethernet 1/1
!Command: show running-config interface Ethernet1/1
!Time: Tue Mar 8 15:11:38 2017
version 7.0(3)I6(1)
interface Ethernet1/1
switchport mode trunk
switchport trunk allowed vlan 100-1000
!controller type l2-vxlan identifier 1
External controller scope:
show running-config interface Ethernet 1/1
!Executed in context controller l2-vxlan 1
!Command: show running-config interface Ethernet1/1
!Time: Tue Mar 8 15:12:41 2017
version 7.0(3)I6(1)
interface Ethernet1/1
switchport mode trunk
switchport trunk allowed vlan 503
!controller type l2-vxlan identifier 1