02-16-2023 05:53 AM
I connected a computer with a 25G interface in Cisco Catalyst 9500-48Y4C switch. I saw ports on both PC and the switch are UP (green light). However, the switch could not learn the computer's MAC address. Also, the computer did not know the MAC address of the connected switch port. It seems to be a layer-2 problem. When I tried the ping from the computer to the switch port, as the MAC address of the switch port is not listed on the computer, the broadcast messages were sent out. But what surprised me is that switch still received the broadcast messages from the computer. What is the problem here?
-------------On the switch---------------------
show interface TwentyFiveGigE1/0/X
TwentyFiveGigE1/0/X is up, line protocol is up (connected)
Hardware is Twenty Five Gigabit Ethernet, address is 8024.8f2f.451f (bia 8024.8f2f.451f)
Internet address is 123.123.123.123/24
MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-CU3M
input flow-control is on, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:00, output hang never
Last clearing of "show interface" counters 1w2d
Input queue: 0/375/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
3052 packets input, 201865 bytes, 0 no buffer
Received 3052 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 235 multicast, 0 pause input
0 input packets with dribble condition detected
500755 packets output, 45412032 bytes, 0 underruns
Output 2 broadcasts (0 IP multicasts)
0 output errors, 0 collisions, 6 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
When I ran "ping 123.123.123.123" from the computer, the switch port updated broadcast messages:
show interface TwentyFiveGigE1/0/X
TwentyFiveGigE1/0/X is up, line protocol is up (connected)
Hardware is Twenty Five Gigabit Ethernet, address is 8024.8f2f.451f (bia 8024.8f2f.451f)
Internet address is 123.123.123.123/24
MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-CU3M
input flow-control is on, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:02, output hang never
Last clearing of "show interface" counters 1w2d
Input queue: 0/375/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
3058 packets input, 202249 bytes, 0 no buffer
Received 3058 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 235 multicast, 0 pause input
0 input packets with dribble condition detected
500773 packets output, 45415012 bytes, 0 underruns
Output 2 broadcasts (0 IP multicasts)
0 output errors, 0 collisions, 6 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Switch did not learn MAC address at all:
show mac address-table interface TwentyFiveGigE1/0/X
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
Other information on the switch:
Cisco IOS XE Software, Version 17.03.04
show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Twe1/0/1, Twe1/0/2, Twe1/0/3
Twe1/0/4, Twe1/0/5, Twe1/0/6
Twe1/0/7, Twe1/0/8, Twe1/0/9
Twe1/0/10, Twe1/0/11, Twe1/0/12
Twe1/0/13, Twe1/0/14, Twe1/0/15
Twe1/0/16, Twe1/0/17, Twe1/0/18
Twe1/0/19, Twe1/0/20, Twe1/0/21
Twe1/0/22, Twe1/0/23, Twe1/0/24
Twe1/0/25, Twe1/0/26, Twe1/0/27
Twe1/0/28, Twe1/0/29, Twe1/0/30
Twe1/0/31, Twe1/0/32, Twe1/0/33
Twe1/0/34, Twe1/0/35, Twe1/0/36
Twe1/0/37, Twe1/0/38, Twe1/0/39
Twe1/0/40, Twe1/0/41, Twe1/0/42
Twe1/0/43, Twe1/0/44, Twe1/0/45
Twe1/0/46, Twe1/0/47, Hu1/0/50
Hu1/0/51, Hu1/0/52
2 VLAN0002 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
--------------On the computer--------------------------
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 123.123.123.1 netmask 255.255.255.0 broadcast 123.123.123.255
ether 90:e2:ba:e2:76:cc txqueuelen 1000 (Ethernet)
RX packets 1894 bytes 266637 (266.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6387 bytes 300306 (300.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
user@PC:~$ arp
Address HWtype HWaddress Flags Mask Iface
123.123.123.123 (incomplete) enp2s0f0
03-07-2023 03:41 AM
@MHM Cisco World They are just configured as L2 ports. Let me show it again:
show int TwentyFiveGigE1/0/1
TwentyFiveGigE1/0/1 is up, line protocol is up (connected)
Hardware is Twenty Five Gigabit Ethernet, address is 8024.8f2f.4481 (bia 8024.8f2f.4481)
MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-CU3M
input flow-control is on, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters 02:48:08
Input queue: 0/2000/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
81 packets input, 7308 bytes, 0 no buffer
Received 81 broadcasts (42 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 42 multicast, 0 pause input
0 input packets with dribble condition detected
6585 packets output, 600247 bytes, 0 underruns
Output 0 broadcasts (5579 multicasts)
0 output errors, 0 collisions, 5 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
show int TwentyFiveGigE1/0/4
TwentyFiveGigE1/0/4 is up, line protocol is up (connected)
Hardware is Twenty Five Gigabit Ethernet, address is 8024.8f2f.4484 (bia 8024.8f2f.4484)
MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-CU3M
input flow-control is on, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters 02:49:08
Input queue: 0/2000/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
154 packets input, 11986 bytes, 0 no buffer
Received 154 broadcasts (22 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 22 multicast, 0 pause input
0 input packets with dribble condition detected
6963 packets output, 623388 bytes, 0 underruns
Output 1 broadcasts (5950 multicasts)
0 output errors, 0 collisions, 7 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
For VACL and QoS policies, I did not configure them. Could you please tell me how to further investigate that?
03-07-2023 04:49 AM
friend
show interface is give us both L2 and L3 port
to see if this is L2
show interface switchport x/x
share here please
03-07-2023 05:19 AM
show interface switchport
Name: Twe1/0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Vepa Enabled: false
App Interface: false
Appliance trust: none
Name: Twe1/0/4
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Vepa Enabled: false
App Interface: false
Appliance trust: none
03-08-2023 02:23 PM
show platform software fed active ifm if-id 0x8 <<- this done
show platform software fed active ifm if-id 0xb <<- this done
show platform hardware fed active fwd-asic abstraction print-resource-handle 0x7f35643feab8 <<- I need to see this
show platform hardware fed active fwd-asic abstraction print-resource-handle 0x7f356443be98 <<- I need to see this
#show platform pm port-data TwentyFiveGigE1/0/1 <<- I need to see this
#show platform pm port-data TwentyFiveGigE1/0/4 <<- I need to see this
03-11-2023 06:22 AM - edited 03-11-2023 06:23 AM
For the command:
show platform hardware fed active fwd-asic abstraction print-resource-handle 0x7f356443be98
I mentioned in the previous post that I got the error "[Interface Resource Pointer] not valid handle when I followed your suggestion.
Maybe could you please point me out how to run this command properly?
Please see my comments below
show platform pm port-data TwentyFiveGigE1/0/1
Field AdminFields OperFields
===============================================================
Access Mode Static Static
Access Vlan Id 1 0
Voice Vlan Id 4096 0
VLAN Unassigned 0
ExAccess Vlan Id 32767
Native Vlan Id 1
Port Mode access access
Encapsulation 802.1Q Native
disl trunk off
Media unknown
DTP Nonegotiate 1 1
Port Protected 0 0
Unknown Unicast Blocked 0 0
Unknown Multicast Blocked 0 0
Vepa Enabled 0 0
App interface 0 0
Span Destination 0
Duplex full full
Default Duplex full
Speed 10000 10000
Auto Speed Capable 0 0
No Negotiate 0 0
No Negotiate Capable 1024 1024
Flow Control Receive ON ON
Flow Control Send Off Off
Jumbo 0 0
saved_holdqueue_out 0
saved_input_defqcount 2000
Jumbo Size 1500
Forwarding Vlans : 1
Current Pruned Vlans : none
Previous Pruned Vlans : none
Sw LinkNeg State : LinkStateUp
No.of LinkDownEvents : 1
XgxsResetOnLinkDown(10GE):
Time Stamp Last Link Flapped(U) : Mar 7 11:30:08.166
LastLinkDownDuration(sec) 8
LastLinkUpDuration(sec): 355507
show platform pm port-data TwentyFiveGigE1/0/4
Field AdminFields OperFields
===============================================================
Access Mode Static Static
Access Vlan Id 1 0
Voice Vlan Id 4096 0
VLAN Unassigned 0
ExAccess Vlan Id 32767
Native Vlan Id 1
Port Mode dynamic access
Encapsulation 802.1Q Native
disl auto
Media unknown
DTP Nonegotiate 0 0
Port Protected 0 0
Unknown Unicast Blocked 0 0
Unknown Multicast Blocked 0 0
Vepa Enabled 0 0
App interface 0 0
Span Destination 0
Duplex full full
Default Duplex full
Speed 10000 10000
Auto Speed Capable 0 0
No Negotiate 0 0
No Negotiate Capable 1024 1024
Flow Control Receive ON ON
Flow Control Send Off Off
Jumbo 0 0
saved_holdqueue_out 0
saved_input_defqcount 2000
Jumbo Size 1500
Forwarding Vlans : 1
Current Pruned Vlans : none
Previous Pruned Vlans : none
Sw LinkNeg State : LinkStateUp
No.of LinkDownEvents : 3
XgxsResetOnLinkDown(10GE):
Time Stamp Last Link Flapped(U) : Mar 7 11:30:23.228
LastLinkDownDuration(sec) 5
LastLinkUpDuration(sec): 355498
03-11-2023 06:36 AM
switchport access vlan 1
switchport mode access
there is no VLAN assign to port,
after add two command above shut/no shut
03-12-2023 04:45 AM
maybe I lost here, but as I mention this looks to me like more of a compatibility issue (have you contacted the NIC vendor to troubleshoot with you (or contacted Cisco TAC for the correct answer if the code has any BUG?)
As per the OP, the ports are Layer 3 and trying to get my head around - why do we need to access port config by default if the ports do not belong to any VLAN, cisco default vlan1?
03-07-2023 12:59 AM
@MHM Cisco World @Leo Laohoo @balaji.bandi
I just updated the switch firmware. The problem remains the same. It is really weird to me.
show version
Cisco IOS XE Software, Version 17.06.05
Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 17.6.5, RELEASE SOFTWARE (fc2)
03-07-2023 08:22 AM
i do not think this is issue with Switch for now. since you not able to see MAC address on the ports, this is more of compatable issue.
either change the card with tested one or contact NIC vendor for the support
Since you tested PC to PC with same cable working, you can also test switch port to switch making as layer 3 ports and see if that works. and contact NIC vendor again.
03-12-2023 11:34 AM - edited 03-12-2023 12:05 PM
@balaji.bandi @jshayne
Mr.Balaji ask why assign VLAN1 to port if the port by default is assign to VLAN1.
that totally right
but let me explain some point here,
first @jshayne mention that he face issue of mac not dynamic learn to mac table, the mac table have fields
VLAN-MAC-Port
MAC of PC connect
Port where the PC connect to SW
VLAN must configurable
he also mention that he try L3,
then I think that he change the port to L3 which not work then return to L2, and still port not work.
so I start ask him share some output like fed active ifm if-id,
and I was right the L2 port subblock missing which indicate that the port is not run as L2
then show siwtchport interface he share show that L2 is enable, which show that port is not run as L2
but I sure that issue is from L2 port character,
so I finally ask him share show platform pm
and it give me indicate why port not run L2 port (if I am right), the show platform pm show that the port dont have VLAN1 assign to it.
so I suggest assign again VLAN1 to port.
from where this issue,
the SW to be fast the load must distribute from run all in CPU into Card module.
so the port status and character is show in different places, in CPU FED and ASIC.
so sometimes because of
1- BUG <<- that will confirm from TAC
2- the SW not complete and right initialize the port when reboot <<- but he reboot twice I think after upgrade firmware
3- there is Hardware failure in UADP or ASIC of port range <<- I dont think this is issue, because only part of port config is not functional
so it BUG and he need to contact TAC, which I think he already contact then.
Note:- @jshayne please update us after config vlan1 to port.
thanks
show platform software fed active ifm if-id 0x8
Interface IF_ID : 0x0000000000000008
Interface Name : TwentyFiveGigE1/0/1
Interface Block Pointer : 0x7f35643feab8
Interface Block State : READY
Interface State : Enabled
Interface Status : ADD, UPD
Interface Ref-Cnt : 3
Interface Type : ETHER
Port Type : SWITCH PORT
Port Location : LOCAL
Slot : 1
Unit : 0
Slot Unit : 1
SNMP IF Index : 3
GPN : 101
EC Channel : 0
EC Index : 0
Port Handle : 0xae000065
LISP v4 Mobility : false
LISP v6 Mobility : false
QoS Trust Type : 3
Port Information
Handle ............ [0xae000065]
Type .............. [Layer2]
Identifier ........ [0x8]
Slot .............. [1]
Unit .............. [1]
Port Physical Subblock
Affinity .......... [local]
Asic Instance ..... [1 (A:0,C:1)]
AsicPort .......... [20]
AsicSubPort ....... [0]
MacNum ............ [16]
ContextId ......... [4]
LPN ............... [1]
GPN ............... [101]
Speed ............. [25GB]
type .............. [NIF]
PORT_LE ........... [0x7f35644133d8]
L3IF_LE ........... [0x0]
DI ................ [0x7f3564405b78]
SubIf count ....... [0]
Port QoS Subblock
Trust Type .................... [0x2]
Default Value ................. [0]
Ingress Table Map ............. [0x0]
Egress Table Map .............. [0x0]
Queue Map ..................... [0x0]
Port Policy Subblock
List of Ingress Policies attached to an interface
List of Egress Policies attached to an interface
Openflow Subblock
Enabled ............... [No]
Mirror Count .......... [0]
Ref Count : 3 (feature Ref Counts + 1)
IFM Feature Ref Counts
FID : 59 (AAL_FEATURE_NETFLOW_VACL), Ref Count : 1
FID : 41 (AAL_FEATURE_QOS), Ref Count : 1
IFM Feature Sub block information
FID : 59 (AAL_FEATURE_NETFLOW_VACL), Private Data Ptr: 0x7f3564901058
FID : 41 (AAL_FEATURE_QOS), Private Data Ptr: 0x7f3564412cd8
show interface switchport
Name: Twe1/0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Vepa Enabled: false
App Interface: false
Appliance trust: none
show platform pm port-data TwentyFiveGigE1/0/1
Field AdminFields OperFields
===============================================================
Access Mode Static Static
Access Vlan Id 1 0
Voice Vlan Id 4096 0
VLAN Unassigned 0
ExAccess Vlan Id 32767
Native Vlan Id 1
Port Mode access access
Encapsulation 802.1Q Native
disl trunk off
Media unknown
DTP Nonegotiate 1 1
Port Protected 0 0
Unknown Unicast Blocked 0 0
Unknown Multicast Blocked 0 0
Vepa Enabled 0 0
App interface 0 0
Span Destination 0
Duplex full full
Default Duplex full
Speed 10000 10000
Auto Speed Capable 0 0
No Negotiate 0 0
No Negotiate Capable 1024 1024
Flow Control Receive ON ON
Flow Control Send Off Off
Jumbo 0 0
saved_holdqueue_out 0
saved_input_defqcount 2000
Jumbo Size 1500
Forwarding Vlans : 1
Current Pruned Vlans : none
Previous Pruned Vlans : none
but let
03-13-2023 01:36 AM
@MHM Cisco World I also know that all interfaces are added vlan 1 by default. To confirm, I also tried your suggested commands with vlan 1 configuration on the two mentioned interfaces. The issue still remains the same. I used several hardware switches but never meet this problem before.
03-13-2023 03:47 PM
Yes you are correct by default the port is L2 and assign to VLAN1, but here sure there is bug,
03-14-2023 12:57 AM
Hi @MHM Cisco World I think you are right that there is something wrong with the switch. It is important for me to understand where the bug comes from. Is this the hardware failure? Because as I mentioned earlier, I already upgraded the firmware. With the bug like that, what should I do to fix it? I have already gotten stuck in this problem for a while.
I'm looking forward to hearing from you. Thanks.
03-15-2023 07:44 PM
If you loop the interface with L3 Interface, is that works on the switch
example :
Switch - port 4 (configure L3)---- (IP 10.10.10.1)
|
Switch - port 5 (configure L3)---- (10.10.10.2)
is the port come up and you able to ping L3 IP each other ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide