cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
569
Views
0
Helpful
8
Replies

Cisco 9300 IOS XE 17.5.1 - Frames do not switched in static mac

georgios77
Level 1
Level 1

I have the following configuration on a Cisco 9300 : 

interface TenGigabitEthernet1/1/1
switchport access vlan XX
switchport mode access
!
interface TenGigabitEthernet1/1/2
switchport access vlan XX
switchport mode access
!

I have two PCs connected to those interfaces (PC1->Te1/1/1 and PC2->Te1/1/2). When the Switch dynamically learns the MAC address of PC1 (MAC1), it successfully forwards the traffic from PC2 to PC1. However, when I try to add a static entry on the mac address table for PC1 using the following command:

mac address-table static MAC1 vlan XX interface TenGigabitEthernet1/1/1

The switch adds a static entry to the mac address table but doesn't forward the traffic. The show interface TenGigabitEthernet1/1/1 and show interface TenGigabitEthernet1/1/2 show no packet drops. Moreover, by using the monitor capture command on TenGigabitEthernet1/1/2, I see that traffic reaches the switch. 

Any idea? 

Thanks

 

 

 

8 Replies 8

Only check vlan assign to port 

It must same ad vlan yoh use in static mac 

MHM

Thanks for your response.

I have double-checked; it is the same VLAN.  

I have also checked the fed MATM by using the following command: 

show platform software fed switch active matm macTable vlan XX 

 and the entry exists in the macTable (in the same vlan as the dynamic entry of PC2)

9000#show controllers ethernet-controller te x/x/x
9000#sh platform hardware fed switch active fwd-asic drops exceptions

share the output of above if you can 

MHM

This is the output:

show controllers ethernet-controller tenGigabitEthernet 1/1/1
Transmit                  TenGigabitEthernet1/1/1               Receive         
     12751238 Total bytes                    12715060 Total bytes
        31094 Unicast frames                    31040 Unicast frames
     12685980 Unicast bytes                  12661940 Unicast bytes
          623 Multicast frames                    505 Multicast frames
        40640 Multicast bytes                   32600 Multicast bytes
          116 Broadcast frames                     95 Broadcast frames
        24618 Broadcast bytes                   20520 Broadcast bytes
            0 System FCS error frames               0 IpgViolation frames
            0 MacUnderrun frames                    0 MacOverrun frames
            0 Pause frames                          0 Pause frames
            0 Cos 0 Pause frames                    0 Cos 0 Pause frames
            0 Cos 1 Pause frames                    0 Cos 1 Pause frames
            0 Cos 2 Pause frames                    0 Cos 2 Pause frames
            0 Cos 3 Pause frames                    0 Cos 3 Pause frames
            0 Cos 4 Pause frames                    0 Cos 4 Pause frames
            0 Cos 5 Pause frames                    0 Cos 5 Pause frames
            0 Cos 6 Pause frames                    0 Cos 6 Pause frames
            0 Cos 7 Pause frames                    0 Cos 7 Pause frames
            0 Oam frames                            0 OamProcessed frames
            0 Oam frames                            0 OamDropped frames
          645 Minimum size frames                 516 Minimum size frames
        21896 65 to 127 byte frames             21866 65 to 127 byte frames
          994 128 to 255 byte frames              986 128 to 255 byte frames
           76 256 to 511 byte frames               66 256 to 511 byte frames
          593 512 to 1023 byte frames             590 512 to 1023 byte frames
         6848 1024 to 1518 byte frames           6835 1024 to 1518 byte frames
          781 1519 to 2047 byte frames            781 1519 to 2047 byte frames
            0 2048 to 4095 byte frames              0 2048 to 4095 byte frames
            0 4096 to 8191 byte frames              0 4096 to 8191 byte frames
            0 8192 to 16383 byte frames             0 8192 to 16383 byte frames
            0 16384 to 32767 byte frame             0 16384 to 32767 byte frame
            0 > 32768 byte frames                   0 > 32768 byte frames
            0 Late collision frames                 0 SymbolErr frames
            0 Excess Defer frames                   0 Collision fragments
            0 Good (1 coll) frames                  0 ValidUnderSize frames
            0 Good (>1 coll) frames                 0 InvalidOverSize frames
            0 Deferred frames                       0 ValidOverSize frames
            0 Gold frames dropped                   0 FcsErr frames
            0 Gold frames truncated
            0 Gold frames successful
            0 1 collision frames
            0 2 collision frames
            0 3 collision frames
            0 4 collision frames
            0 5 collision frames
            0 6 collision frames
            0 7 collision frames
            0 8 collision frames
            0 9 collision frames
            0 10 collision frames
            0 11 collision frames
            0 12 collision frames
            0 13 collision frames
            0 14 collision frames
            0 15 collision frames
            0 Excess collision frames

LAST UPDATE 12460 msecs AGO

show controllers ethernet-controller tenGigabitEthernet 1/1/2
Transmit                  TenGigabitEthernet1/1/2               Receive         
      1992951 Total bytes                     6811785 Total bytes
            0 Unicast frames                    16664 Unicast frames
            0 Unicast bytes                   6778333 Unicast bytes
        29527 Multicast frames                     21 Multicast frames
      1914757 Multicast bytes                    9884 Multicast bytes
          648 Broadcast frames                    112 Broadcast frames
        78194 Broadcast bytes                   23568 Broadcast bytes
            0 System FCS error frames               0 IpgViolation frames
            0 MacUnderrun frames                    0 MacOverrun frames
            0 Pause frames                          0 Pause frames
            0 Cos 0 Pause frames                    0 Cos 0 Pause frames
            0 Cos 1 Pause frames                    0 Cos 1 Pause frames
            0 Cos 2 Pause frames                    0 Cos 2 Pause frames
            0 Cos 3 Pause frames                    0 Cos 3 Pause frames
            0 Cos 4 Pause frames                    0 Cos 4 Pause frames
            0 Cos 5 Pause frames                    0 Cos 5 Pause frames
            0 Cos 6 Pause frames                    0 Cos 6 Pause frames
            0 Cos 7 Pause frames                    0 Cos 7 Pause frames
            0 Oam frames                            0 OamProcessed frames
            0 Oam frames                            0 OamDropped frames
        29792 Minimum size frames                  15 Minimum size frames
           56 65 to 127 byte frames             11751 65 to 127 byte frames
          249 128 to 255 byte frames              569 128 to 255 byte frames
           78 256 to 511 byte frames               33 256 to 511 byte frames
            0 512 to 1023 byte frames             319 512 to 1023 byte frames
            0 1024 to 1518 byte frames           4110 1024 to 1518 byte frames
            0 1519 to 2047 byte frames              0 1519 to 2047 byte frames
            0 2048 to 4095 byte frames              0 2048 to 4095 byte frames
            0 4096 to 8191 byte frames              0 4096 to 8191 byte frames
            0 8192 to 16383 byte frames             0 8192 to 16383 byte frames
            0 16384 to 32767 byte frame             0 16384 to 32767 byte frame
            0 > 32768 byte frames                   0 > 32768 byte frames
            0 Late collision frames                 0 SymbolErr frames
            0 Excess Defer frames                   0 Collision fragments
            0 Good (1 coll) frames                  0 ValidUnderSize frames
            0 Good (>1 coll) frames                 0 InvalidOverSize frames
            0 Deferred frames                       0 ValidOverSize frames
            0 Gold frames dropped                   0 FcsErr frames
            0 Gold frames truncated
            0 Gold frames successful
            0 1 collision frames
            0 2 collision frames
            0 3 collision frames
            0 4 collision frames
            0 5 collision frames
            0 6 collision frames
            0 7 collision frames
            0 8 collision frames
            0 9 collision frames
            0 10 collision frames
            0 11 collision frames
            0 12 collision frames
            0 13 collision frames
            0 14 collision frames
            0 15 collision frames
            0 Excess collision frames

LAST UPDATE 3227 msecs AGO



sh platform hardware fed switch active fwd-asic drops exceptions

****EXCEPTION STATS ASIC INSTANCE 0 (asic/core 0/0)****
=================================================================================
 Asic/core |                NAME                  |   prev   |  current  |  delta
=================================================================================
0  0  NO_EXCEPTION                                   0          0           0   
0  0  IPV4_CHECKSUM_ERROR                            0          0           0   
0  0  ROUTED_AND_IP_OPTIONS_EXCEPTION                0          0           0   
0  0  CTS_FILTERED_EXCEPTION                         0          0           0   
0  0  SIA_TTL_ZERO                                   0          0           0   
0  0  ALLOW_NATIVE_EXCEPTION_COUNT                   0          14          14  
0  0  ALLOW_DOT1Q_EXCEPTION_COUNT                    0          0           0   
0  0  ALLOW_PRIORITY_TAGGED_EXCEPTION_COUNT          0          0           0   
0  0  ALLOW_UNKNOWN_ETHER_TYPE_EXCEPTION             0          0           0   
0  0  IP_SOURCE_GUARD_VIOLATION                      0          0           0   
0  0  SECURE_L3IF_LEARNING_VIOLATION                 0          0           0   
0  0  AUTH_DRIVEN_DROP                               0          0           0   
0  0  VLAN_LOADBALANCE_GROUP_DENY                    0          0           0   
0  0  RPF_UNICAST_FAIL                               0          0           0   
0  0  RPF_UNICAST_FAIL_SUPPRESS                      0          0           0   
0  0  RPF_UNICAST_CHECK_INCOMPLETE                   0          0           0   
0  0  RPF_MULTICAST_FAIL                             0          0           0   
0  0  PKT_DROP_COUNT                                 0          86          86  
0  0  SOURCE_ROUTE_EXCEPTION                         0          0           0   
0  0  IGR_MISC_FATAL_ERROR                           0          14          14  
0  0  BLOCK_FORWARD                                  0          0           0   
0  0  POLICER_DROP                                   0          0           0   
0  0  DENY_ROUTE                                     0          0           0   
0  0  DENY_BRIDGE                                    0          0           0   
0  0  STATIC_MAC_VIOLATION                           0          0           0   
0  0  STATIC_IP_VIOLATION                            0          0           0   
0  0  FPM_DROP_PACKET                                0          0           0   
0  0  IGR_EXCEPTION_L4_ERROR                         0          0           0   
0  0  IGR_EXCEPTION_L5_ERROR                         0          0           0   
0  0  IGR_EXCEPTION_HARDWARE_PARSE_EXCEPTION         0          0           0   
0  0  IGR_EXCEPTION_INVALID_VLAN_DROP                0          72          72  
0  0  IGR_EXCEPTION_31                               0          0           0   
0  0  FRAGMENTING_IPV4_WITH_OPTIONS                  0          0           0   
0  0  FRAGMENTING_IPV6_WITH_EXTENSIONS               0          0           0   
0  0  ICMP_REDIRECT                                  0          0           0   
0  0  MTU_FAIL_PUNT_TO_CPU_NO_IP_UNREACHABLE         0          0           0   
0  0  LINK_LOCAL_CHECK_FAIL_NO_IP_UNREACHABLE        0          0           0   
0  0  IP_UNICAST_TTL_REACHED_ZERO                    0          0           0   
0  0  MISC_FATAL_ERROR                               0          0           0   
0  0  STP_OR_FLEXLINK_DROP                           0          0           0   
0  0  PROTECTED_PORT_DROP                            0          0           0   
0  0  PVLAN_ISOLATED_CHECK_FAILED                    0          0           0   
0  0  PVLAN_COMMUNITY_CHECK_FAILED                   0          0           0   
0  0  DEJA_VU_CHECK_FAILED                           0          0           0   
0  0  NOT_VLAN_LOAD_BALANCE_GROUP_ALLOWED            0          0           0   
0  0  RSPAN_DROP                                     0          0           0   
0  0  SPLIT_HORIZON_DROP                             0          0           0   
0  0  SYSTEM_TTL_DROP                                0          0           0   
0  0  PRUNED                                         0          0           0   
0  0  DENY_NO_IP_UNREACHABLE                         0          0           0   
0  0  IP_MULTICAST_TTL_REACHED_ZERO                  0          0           0   
0  0  MTU_FAIL_DROP_BRIDGED                          0          0           0   
0  0  MTU_FAIL_DROP_BRIDGED_IP_ROUTED                0          0           0   
0  0  MTU_FAIL_ERSPAN                                0          0           0   
0  0  LINK_LOCAL_CHECK_FAIL_L3M_VALID                0          0           0   
0  0  MTU_FAIL_PUNT_TO_CPU_NOT_NO_IP_UNREACHABLE     0          0           0   
0  0  LINK_LOCAL_CHECK_FAIL_NOT_NO_IP_UNREACHABLE    0          0           0   
0  0  COPY_TO_CPU                                    0          0           0   
0  0  EGR_L3_ERROR                                   0          0           0   
0  0  EGR_L4_ERROR                                   0          0           0   
0  0  EGR_L5_ERROR                                   0          0           0   
0  0  EGR_HARDWARE_PARSE_EXCEPTION                   0          0           0   
0  0  EGR_SHOW_FORWARD_DROP                          0          0           0   
0  0  SGT_CACHING_NEEDED                             0          0           0   


****EXCEPTION STATS ASIC INSTANCE 1 (asic/core 0/1)****
=================================================================================
 Asic/core |                NAME                  |   prev   |  current  |  delta
=================================================================================
0  1  NO_EXCEPTION                                   0          52165       52165
0  1  IPV4_CHECKSUM_ERROR                            0          0           0   
0  1  ROUTED_AND_IP_OPTIONS_EXCEPTION                0          66          66  
0  1  CTS_FILTERED_EXCEPTION                         0          0           0   
0  1  SIA_TTL_ZERO                                   0          0           0   
0  1  ALLOW_NATIVE_EXCEPTION_COUNT                   0          34          34  
0  1  ALLOW_DOT1Q_EXCEPTION_COUNT                    0          15520       15520
0  1  ALLOW_PRIORITY_TAGGED_EXCEPTION_COUNT          0          0           0   
0  1  ALLOW_UNKNOWN_ETHER_TYPE_EXCEPTION             0          0           0   
0  1  IP_SOURCE_GUARD_VIOLATION                      0          0           0   
0  1  SECURE_L3IF_LEARNING_VIOLATION                 0          0           0   
0  1  AUTH_DRIVEN_DROP                               0          6           6   
0  1  VLAN_LOADBALANCE_GROUP_DENY                    0          0           0   
0  1  RPF_UNICAST_FAIL                               0          0           0   
0  1  RPF_UNICAST_FAIL_SUPPRESS                      0          0           0   
0  1  RPF_UNICAST_CHECK_INCOMPLETE                   0          0           0   
0  1  RPF_MULTICAST_FAIL                             0          0           0   
0  1  PKT_DROP_COUNT                                 0          15903       15903
0  1  SOURCE_ROUTE_EXCEPTION                         0          0           0   
0  1  IGR_MISC_FATAL_ERROR                           0          0           0   
0  1  BLOCK_FORWARD                                  0          350         350 
0  1  POLICER_DROP                                   0          0           0   
0  1  DENY_ROUTE                                     0          0           0   
0  1  DENY_BRIDGE                                    0          0           0   
0  1  STATIC_MAC_VIOLATION                           0          0           0   
0  1  STATIC_IP_VIOLATION                            0          0           0   
0  1  FPM_DROP_PACKET                                0          0           0   
0  1  IGR_EXCEPTION_L4_ERROR                         0          0           0   
0  1  IGR_EXCEPTION_L5_ERROR                         0          0           0   
0  1  IGR_EXCEPTION_HARDWARE_PARSE_EXCEPTION         0          0           0   
0  1  IGR_EXCEPTION_INVALID_VLAN_DROP                0          0           0   
0  1  IGR_EXCEPTION_31                               0          0           0   
0  1  FRAGMENTING_IPV4_WITH_OPTIONS                  0          0           0   
0  1  FRAGMENTING_IPV6_WITH_EXTENSIONS               0          0           0   
0  1  ICMP_REDIRECT                                  0          0           0   
0  1  MTU_FAIL_PUNT_TO_CPU_NO_IP_UNREACHABLE         0          0           0   
0  1  LINK_LOCAL_CHECK_FAIL_NO_IP_UNREACHABLE        0          0           0   
0  1  IP_UNICAST_TTL_REACHED_ZERO                    0          0           0   
0  1  MISC_FATAL_ERROR                               0          0           0   
0  1  STP_OR_FLEXLINK_DROP                           0          2632        2632
0  1  PROTECTED_PORT_DROP                            0          0           0   
0  1  PVLAN_ISOLATED_CHECK_FAILED                    0          0           0   
0  1  PVLAN_COMMUNITY_CHECK_FAILED                   0          0           0   
0  1  DEJA_VU_CHECK_FAILED                           0          0           0   
0  1  NOT_VLAN_LOAD_BALANCE_GROUP_ALLOWED            0          0           0   
0  1  RSPAN_DROP                                     0          0           0   
0  1  SPLIT_HORIZON_DROP                             0          0           0   
0  1  SYSTEM_TTL_DROP                                0          0           0   
0  1  PRUNED                                         0          0           0   
0  1  DENY_NO_IP_UNREACHABLE                         0          0           0   
0  1  IP_MULTICAST_TTL_REACHED_ZERO                  0          0           0   
0  1  MTU_FAIL_DROP_BRIDGED                          0          0           0   
0  1  MTU_FAIL_DROP_BRIDGED_IP_ROUTED                0          0           0   
0  1  MTU_FAIL_ERSPAN                                0          0           0   
0  1  LINK_LOCAL_CHECK_FAIL_L3M_VALID                0          0           0   
0  1  MTU_FAIL_PUNT_TO_CPU_NOT_NO_IP_UNREACHABLE     0          0           0   
0  1  LINK_LOCAL_CHECK_FAIL_NOT_NO_IP_UNREACHABLE    0          0           0   
0  1  COPY_TO_CPU                                    0          0           0   
0  1  EGR_L3_ERROR                                   0          0           0   
0  1  EGR_L4_ERROR                                   0          0           0   
0  1  EGR_L5_ERROR                                   0          0           0   
0  1  EGR_HARDWARE_PARSE_EXCEPTION                   0          0           0   
0  1  EGR_SHOW_FORWARD_DROP                          0          0           0   
0  1  SGT_CACHING_NEEDED                             0          0           0   

can you ping from PC to PC 1000 times (when you add it MAC manually) and do 

sh platform hardware fed switch active fwd-asic drops exceptions

we need to see which drop is increase 

Thanks 

MHM

 

balaji.bandi
Hall of Fame
Hall of Fame
mac address-table static MAC1 vlan XX interface TenGigabitEthernet1/1/1

what is the use case here ?

Look  at the explanation of that command - is this what your intention ?

https://www.cisco.com/c/en/us/td/docs/switches/lan/embedded/ess9300/config/b-cisco-embedded-service-9300-series-switches-configuration-guide/m9-173-sm-swadmn-cg.html#concept_xpl_lvr_n1b

If this is only for stick mac you can use different methods as below :

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-10/configuration_guide/sec/b_1610_sec_9300_cg/b_1610_sec_9300_cg_chapter_011101.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks for your response. No, it isn't about stick mac.  What I have tried to succeed is to make the switch forwarding traffic from Te1/1/1 when the line between Te1/1/1 and PC1 became unidirectional (the line transmits data from Te1/1/1 to PC1 but not in the other direction.). Consider that the interfaces are up. In this case, the switch does not receive any frame from PC1 and is not able to dynamically learn the mac address of PC1.   

Post some example output for us to look and guide you, 

again what are you trying to achieve - what is the use case ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card