cisco_interfaces_in_use
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cisco_interfaces_in_use [2024/01/12 20:28] – [Interface Status] walkeradmin | cisco_interfaces_in_use [2024/01/12 20:37] (current) – [Show the Mac Address Table] walkeradmin | ||
---|---|---|---|
Line 125: | Line 125: | ||
| | ||
</ | </ | ||
+ | \\ | ||
+ | I want to look at this specific interface: | ||
+ | < | ||
+ | Vlan Mac Address | ||
+ | 2 | ||
+ | </ | ||
+ | It can be seen that this is interface 5 on our Cisco, that is in VLAN2 and there is a device connected to it with the MAC Address <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | I have logged in to the server that I know is connected to this interface (the servers eno3 is connected) and if I run the command (Linux): | ||
+ | \\ | ||
+ | < | ||
+ | ip a show eno3 | ||
+ | 5: eno3: < | ||
+ | link/ether a4: | ||
+ | altname enp61s0f2 | ||
+ | </ | ||
+ | We can see that the link/ether address is listed as: a4: | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Look for a specific MAC Address ==== | ||
+ | Because there could be many MAC addresses present on an interface when you use the command <color # | ||
+ | \\ | ||
+ | < | ||
+ | sh mac address-table | incl af | ||
+ | |||
+ | Now the only result we get back is this: | ||
+ | 2 a4bf.0169.b7af | ||
+ | </ | ||
+ | We may not know what MAC we are looking for, but if we do this is very useful. | ||
+ | \\ | ||
+ | \\ | ||
cisco_interfaces_in_use.1705091309.txt.gz · Last modified: 2024/01/12 20:28 by walkeradmin