cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
636
Views
0
Helpful
5
Replies

L3 to L2 not working in CML

cwkronk1982
Level 1
Level 1

I have a layer 3 port with an IP of 192.168.1.1/24 on a iosv l2 image connected to a layer 2 port on a osv l2 image. The layer 2 port is access and allowing vlan 10. There is an SVI with vlan 10 with an IP of 192.168.1.10. I can't get the two IPs to ping. On the switch with the L3 port, the mac address table is completely blank. If I change the port to L2, the mac address populates with the MAC of the connected port on the L2 switch. As soon as I change it back to L3, it goes blank again. This should work. I've seen this work many time in live environments. Is this just not supported in CML?

5 Replies 5

Harold Ritter
Cisco Employee
Cisco Employee

Hi @cwkronk1982 ,

What is the IOS L2 version that you are running? Can you provide a "show ip int brief" from the 2 devices. 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Experimental Version 15.2(20200924:215240) [sweickge-sep24-2020-l2iol-release 135]

south(config-if)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES manual up up
GigabitEthernet0/1 unassigned YES manual up up
GigabitEthernet0/2 unassigned YES unset up up
GigabitEthernet0/3 unassigned YES unset up up
Port-channel10 192.168.1.1 YES NVRAM up up

south(config-if)#do sh run int po10
Building configuration...

Current configuration : 85 bytes
!
interface Port-channel10
no switchport
ip address 192.168.1.1 255.255.255.0
end



west(config-if)#do sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up up
GigabitEthernet0/3 unassigned YES unset up up
Port-channel10 unassigned YES unset up up
Vlan10 192.168.1.20 YES manual up up

west(config-if)#do sh run int po10
Building configuration...

Current configuration : 83 bytes
!
interface Port-channel10
switchport access vlan 10
switchport mode access
end

Thanks @cwkronk1982 . Can you provide a "show run int" for the port(s) that are part of the port-channel on both switches.

Regards,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

west(config-if)#do sh run int g0/0
Building configuration...

Current configuration : 131 bytes
!
interface GigabitEthernet0/0
switchport access vlan 10
switchport mode access
negotiation auto
channel-group 10 mode on
end

west(config-if)#do sh mac add
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----
10 5254.0005.bbf7 DYNAMIC Po10
10 5254.000e.b947 DYNAMIC Gi0/2
Total Mac Addresses for this criterion: 2

west(config-if)#do sh etherc sum
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use N - not in use, no aggregation
f - failed to allocate aggregator

M - not in use, minimum links not met
m - not in use, port not aggregated due to minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

A - formed by Auto LAG


Number of channel-groups in use: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(SU) - Gi0/0(P)



south(config-if)# do sh run int g0/0
Building configuration...

Current configuration : 110 bytes
!
interface GigabitEthernet0/0
no switchport
no ip address
negotiation auto
channel-group 10 mode on
end

south(config-if)# do sh run int g0/1
Building configuration...

Current configuration : 110 bytes
!
interface GigabitEthernet0/1
no switchport
no ip address
negotiation auto
channel-group 10 mode on
end

south(config-if)#do sh mac add
Mac Address Table
-------------------------------------------

Vlan Mac Address Type Ports
---- ----------- -------- -----
south(config-if)#do sh int po10
Port-channel10 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 5254.0005.8000 (bia 5254.0005.8000)
Internet address is 192.168.1.1/24
MTU 1500 bytes, BW 2000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
62771 packets input, 3951585 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
14070 packets output, 1524749 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

south(config-if)#do sh etherc sum
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use N - not in use, no aggregation
f - failed to allocate aggregator

M - not in use, minimum links not met
m - not in use, port not aggregated due to minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

A - formed by Auto LAG


Number of channel-groups in use: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(RU) LACP Gi0/0(P) Gi0/1(s)



east(config-if)#do sh run int g0/1
Building configuration...

Current configuration : 80 bytes
!
interface GigabitEthernet0/1
negotiation auto
channel-group 10 mode on
end

east(config-if)#do sh etherc sum
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use N - not in use, no aggregation
f - failed to allocate aggregator

M - not in use, minimum links not met
m - not in use, port not aggregated due to minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

A - formed by Auto LAG


Number of channel-groups in use: 1
Number of aggregators: 1

Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(SN) LACP Gi0/1(w)

 is @cwkronk1982 ,

I am not sure what your topology is. You mentioned 2 switches, but I now see 3 (south, west and east). Can you provide a simple diagram.

BTW, I ran a quick test with two switches in CML as you originally described and it works for me. Let me know if you would like me to provide the yaml file. Here's the configuration summary:

L3-Switch:

interface GigabitEthernet0/0
no switchport
no ip address
channel-group 10 mode on
!
interface Port-channel10
no switchport
ip address 192.168.1.1 255.255.255.0

L2-Switch:

interface GigabitEthernet0/0
switchport access vlan 10
switchport mode access
channel-group 10 mode on
!
interface Port-channel10
switchport access vlan 10
switchport mode access
!
interface Vlan10
ip address 192.168.1.20 255.255.255.0

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card