HPswitch

From Piszczynski
Revision as of 18:12, 5 December 2023 by Aleks (talk | contribs)

Basic commands

#show config --- Show config file
#show running config --- Show running config file
#copy config config1 usb <file name> --- Copy active config file to USB drive
#copy config config1 tftp <IP> <file name> --- Copy your config to file to TFTP server.
#copy tftp config <fileneme> <IP> ---Copy your config from TFTP server to switch
#show flash --- Displays info about flash (version etc.) -#copy tftp flash <IP> <file name> <primary|secondary> --- Download and update your flash with from TFTP server
#copy flash usb <file name> <primary|secondary> --- Copy flash to USB drive
#copy flash tftp <IP> <file name> <primary|secondary> --- Copy flash to TFTP server
#write memory --- Save config

View MAC Address tables

Listing all learned MAC addresses on the switch, with the port number on which each MAC address was learned

show mac-address

Listing all learned MAC addresses on one or more ports, with their corresponding port numbers For example, to list the learned MAC address on ports A1 through A4 and port A6:

show mac-address a1-a4,a6

Listing all learned MAC addresses on a VLAN, with their port numbers This command lists the MAC addresses associated with the ports for a given VLAN. For example:

show mac-address vlan 100