Comware Based
1830207 Members
2006 Online
109999 Solutions
New Discussion

Command switch hp (CLI)

 
VictorMagno
Occasional Visitor

Command switch hp (CLI)

I would like to know if there is a command to detect how many mac addresses per port and also how can I turn some data fetched into a read file to the computer.
NOTE: I use an HP A5120 switch

3 REPLIES 3
Brian_Dsouza
HPE Pro

Re: Command switch hp (CLI)

@VictorMagno

I dont think we have any such command to detect the number of MAC addresses learned per port.But if you are intending to control the number of MAC addresses being learned then you may use the MAC learning limit explained here , refer "Configuring the MAC learning limit".

Having said that, detecting the number of MAC addresses may be possible if there is a defined MIB object that can be later queried off a SNMP device. For this you'd have to check the MIB Object description guide for the device.

 

Hope this helps.

Accept or Kudo

VictorMagno
Occasional Visitor

Re: Command switch hp (CLI)

@Brian_Dsouza 
Thanks for the answer! I also found just that, I wanted to be sure if there was not a way for this, but I will follow this tip. In relation to extracting certain data and transferring to the computer in document form, is it possible in the comware?

Brian_Dsouza
HPE Pro

Re: Command switch hp (CLI)

@VictorMagno Can you elaborate what exactly you are planning to achieve? Could you give us some examples?

Accept or Kudo