Switching and Routing
1753332 Members
5542 Online
108792 Solutions
New Discussion юеВ

interfeace --> Mac

 
Zaragohari
Occasional Contributor

interfeace --> Mac

Hi,

I have a simple question How can I finde the Mac interface for each port in switches? I run lldp and I need to find the mac address for each port to compare it

I have HPE Comeware 1950.

Best Regards

2 REPLIES 2
Ivan_B
HPE Pro

Re: interfeace --> Mac

Hi @Zaragohari !

If you have unlocked CLI you can use 'display interface <iface_number>' command and look for the 'hardware address' in the output like in this example:

GigabitEthernet2/0/1
Current state: DOWN
Line protocol state: DOWN
IP packet frame type: Ethernet II, hardware address: 40b9-3c09-6523  <<<<<<<<<<<<<<<<<<<< IT IS HERE!!!
Description: GigabitEthernet2/0/1 Interface
Bandwidth: 1000000 kbps
Loopback is not set
Media type is twisted pair
Port hardware type is 1000_BASE_T
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Maximum frame length: 9216
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
PVID: 1
MDI type: Automdix
Port link-type: Hybrid
 Tagged VLANs:   None
 Untagged VLANs: 1(default vlan)
Port priority: 0
Last link flapping: Never
Last clearing of counters: Never
 Peak input rate: 0 bytes/sec, at 2013-05-18 00:23:38 
 Peak output rate: 0 bytes/sec, at 2013-05-18 00:23:38 
 Last 300 second input: 0 packets/sec 0 bytes/sec -%
 Last 300 second output: 0 packets/sec 0 bytes/sec -%
 Input (total):  0 packets, 0 bytes
	 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
 Input (normal):  0 packets, - bytes
	 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
 Input:  0 input errors, 0 runts, 0 giants, 0 throttles
	 0 CRC, 0 frame, - overruns, 0 aborts
	 - ignored, - parity errors
 Output (total): 0 packets, 0 bytes
	 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
 Output (normal): 0 packets, - bytes
	 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
 Output: 0 output errors, - underruns, - buffer failures
	 0 aborts, 0 deferred, 0 collisions, 0 late collisions
	 0 lost carrier, - no carrier

 

I am an HPE employee

Accept or Kudo

Ivan_B
HPE Pro

Re: interfeace --> Mac

Hi @Zaragohari !

If my proposed solution helped you, please, mark the post as accepted solution. If you need any further clarification, just let me know.

Thank you!

I am an HPE employee

Accept or Kudo