Если знаем IP адрес.
1. На самом девайсе, или на шлюзе смотрим MAC-адрес устройства
Пример:
# arp -a | grep 192.168.106.21
? (192.168.106.21) at 4c:72:b9:54:5d:1b on vlan106 expires in 801 seconds [vlan]
2. На коммутаторе смотрим таблицу MAC-адресов и выискиваем нужный.
На Cisco так (нужно правда немного MAC подправить):
#sh mac address-table | i 4c72.b954.5d1b
106 4c72.b954.5d1b DYNAMIC Fa0/46
На Вашем коммутаторе скорее всего также. Пробуйте
PS.
Вот даже мануальчик нарыл:
show mac address-table
Use the show mac address-table EXEC command to view entries in the MAC
address table.
Syntax
show mac address-table [dynamic | static| secure] [vlan vlan] [interface
interface-id] [address mac-address]
Parameters
• dynamic—Displays only dynamic MAC address table entries.
• static—Displays only static MAC address table entries.
• secure—Displays only secure MAC address table entries.400 Address Table Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\Address_Table.fm
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 - FOR PROOF ONLY
• vlan—Specifies VLAN, such as VLAN 1.
• interface-id—Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port or port-channel.
• mac-address—MAC address.
Default
Command Mode
EXEC mode
User Guidelines
Internal usage VLANs (VLANs that are automatically allocated on routed
ports) are presented in the VLAN column by a port number and not by a
VLAN ID.
Example
Console# show mac address-table
Aging time is 300 sec
VLAN MAC Address Port Type
-------- --------------------- ---------- ----------
1 00:00:26:08:13:23 0 self
1 00:3f:bd:45:5a:b1 gi1/0/1 static
1 00:a1:b0:69:63:f3 gi1/0/24 dynamic
2 00:a1:b0:69:63:f3 gi1/0/24 dynamic
Console# show mac address-table 00:3f:bd:45:5a:b1
Aging time is 300 sec
cfdlab.unsw.wikispaces.net/file/view/dell-powercon...