With the above command, one can figure out which Mac address is on which port of catalyst switch. Switch# show mac-address-table | include 0009.aabb.06e9 Or if you know the mac address and want to know which port the mac address is coming from, use the following command Switch# show mac-address-table | include Fa0/5
If you know the switch port you can use the following command Only ports which have the device connected and active will show the mac address detail.
mac address of the connected device) and port number. The mac address or CAM table shows the Vlan associated with the port, MAC being learned on the port (i.e. With the command, you can figure out which MAC address is on which port. MAC address table showing "Drop" port for learned address in VLAN 835ĬLBdg640Test-AS2960-0#sh mac address-table address Mac Addresses for this criterion: 5 Port security mac-address which can be dynamic or sticky (Discussed in the next lab), the maximum MAC addresses that can be associated with a particular port and the violation action rather it protect, restrict or shutdown the port once the max MAC address limit has been exceeded or a device does not match the configured MAC address on the. PD device, Power source: PSE, Power Priority: High, Wattage: 6.5 Network Policy(Voice): VLAN 835, tagged, Layer-2 priority: 5, DSCP: 46 (PS) Power Source Entity, (PD) Power Device (NP) Network Policy, (LI) Location Identification
Media Attachment Unit type - not advertised LLDP neighbor info showing voice vlan 835ĬLBdg640Test-AS2960-0#sh lldp neighbors fa0/1 detail Operational Trunking Encapsulation: nativeĪdministrative Native VLAN tagging: enabledĪdministrative private-vlan host-association: noneĪdministrative private-vlan mapping: noneĪdministrative private-vlan trunk native VLAN: noneĪdministrative private-vlan trunk Native VLAN tagging: enabledĪdministrative private-vlan trunk encapsulation: dot1qĪdministrative private-vlan trunk normal VLANs: noneĪdministrative private-vlan trunk associations: noneĪdministrative private-vlan trunk mappings: none Resulting Switchport config - voice vlan is 835ĬLBdg640Test-AS2960-0#show int fa0/1 switchportĪdministrative Trunking Encapsulation: dot1q For example, if you configure MAC-1 as the secure MAC address on. Jul 30 11:42:19.600: %AUTHMGR-5-START: Starting 'mab' for client (0004.f297.6668) on Interface Fa0/1 AuditSessionID 0AF0042200000063616A0592 Note If you configure a secure port in restrictive mode, and a station is connected to the port whose MAC address is already configured as a secure MAC address on another port on the switch, the port in restrictive mode shuts down instead of restricting traffic from that station. Can anyone suggest why this is happening? There is no static mac address table blocking configured on the switch. I can see the MAC address of the phone is learned in the right VLANs, but the mac address is showing as "Drop", which normally means the address is statically configured to be blocked. However, I then see no traffic from the phone on the switch. On connecting the phone, I get the port authenticated and assigned to the correct VLAN, with LLDP-MED advertising the correct voice vlan. Only ports which have a device connected and active will show the mac. switch show mac-address-table include 0009.aabb.06e9. I am configuring a Cat 2960 port for connecting a VOIP phone, authenticated by MAB. or if you know the mac address and want to know which port the mac address is coming from, use the following command.