Difference between revisions of "HP cli basics"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb> =HP cli basics= ==Connect to HP switch CLI== To connect to HP switch over CLI, use: <pre...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[Switch configuration notes]] > [[HP cli basics]] | |||
==Connect to HP switch CLI== | ==Connect to HP switch CLI== | ||
Line 55: | Line 54: | ||
[[Main Page|Home]] > [[Switch configuration notes]] > [[HP cli basics]] |
Revision as of 06:12, 19 April 2022
Home > Switch configuration notes > HP cli basics
Connect to HP switch CLI
To connect to HP switch over CLI, use:
ssh admin@IP or admin1@IP
based on whether username is set as admin or admin1.
Switch to system-view similar to enable mode
To get system-view similar to enable mode use:
system-view
See port number for given MAC address using mac address table (CAM table)
To see port number for given MAC address using mac address table (CAM table):
display mac-address AAAA-BBBB-CCCC
See port configuration
To see configuration for an interface:
display current interface Gig 1/0/34
To change interface configuration
To change interface configuration use:
interface Gig 1/0/34 shut
To quit from switch completely
To quit from switch use:
quit quit