| Cisco | HP 3500 & 6200 | HP 5500 | Extreme 440 | ||
| Accesso all’apparato | |||||
| Reset factory default | write erase | unconfigure switch all | |||
| Localizzazione dell’apparato | |||||
| Blink apparato | – | chassislocate [ blink | on | off ] | chassislocate [ blink | on | off ] | – | |
| Ottenere informazioni sull’apparato / os | |||||
| Info sistema | show system | ||||
| Info firmware | show version | show version | display version | show switch | |
| Ottenere informazioni sulla configurazione | |||||
| Info configurazione corrente apparato | show running-config | show running-config | display current-configuration | show configuration | |
| Info configurazione di start-up apparato | show startup-config | show config | display startup | – | |
| Consultazione file di log | |||||
| Visualizza log-file | show logging | show logging | display logbuffer | show log | |
| Ottenere informazioni sugli apparati collegati | |||||
| Info apparati vicini | show cdp neighbors | show cdp neighbors | display lldp neighbor-information [ list ] | show lldp neighbors | |
| Power Over Ethernet | |||||
| Info POE | show power inline | show power-over-ethernet [brief | <ports-list>] | show inline-power info ports <ports-list> | ||
| Mac & Arp Table | |||||
| Info MAC Address Table | show mac address-table | show mac-address | display mac-address | show fdb | |
| Info ARP Table | show arp | show arp | display arp | show iparp | |
| Gestione interfacce | |||||
| Info specifica porta | show interfaces <port-id> | show interfaces <port-id> | display interface [brief] | show ports <port-id> | |
| Info stato porte | show interfaces status | show interfaces brief | show ports [no-refresh] | ||
| Info traffico porte | show interfaces counters | show interfaces port-utilization | show ports statistics | ||
| Disabilitazione porta | configure terminal interface <PORT-ID> shutdown | configure terminal interface 17 disable | system-view interface GigabitEthernet 1/0/17 shutdown | disable ports <PORT-ID> | |
| Abilitazione porta | configure terminal interface <PORT-ID> no shutdown | configure terminal interface <PORT-ID> enable | system-view interface GigabitEthernet 1/0/17 undo shutdown | enable ports <PORT-ID> | |
| Descrizioni | configure terminal interface <PORT-ID> [no] description [<text>] | configure ports <port-id> display-string <str.> | |||
| Gestione VLAN | |||||
| Info su VLANs apparato | show vlan | show vlans | display vlan | show vlan | |
| VLAN(s) di una porta | show vlan brief | show vlans ports <PORT-ID> | ? | show ports <PORT-ID> no-refresh | |
| Porte di una VLAN | show vlan brief | show vlans <VLAN-ID> | display vlan <VLAN-ID> | show vlan “<VLAN-ID>” | |
| Creazione di una VLAN | configure terminal vlan <VLAN-ID> name “<VLAN-Name>” | configure terminal vlan <VLAN-ID> name “<VLAN-Name>” | |||
| Rimozione porta da VLAN | configure terminal interface <PORT-ID> switchport mode access switchport access vlan 1 | configure terminal no vlan <VLAN-ID> [tagged | untagged] <PORT-ID> | interface [GigabitEthernet] <port_id> undo port [trunk] permit vlan [<vlan_list> | all] | configure vlan “<VLAN-ID>” delete ports <PORT-ID> | |
| Assegnazione porta a VLAN | configure terminal interface <PORT-ID> switchport mode access switchport access vlan <VLAN-ID> | configure terminal vlan <VLAN-ID> [tagged | untagged] <PORT-ID> | interface GigabitEthernet <port_id> port [trunk] permit vlan [<vlan_list> | all] | configure vlan “<VLAN-ID>” add ports <PORT-ID> [tagged | untagged] | |
| Configurazione porta per collegamento PC & VOIP | configure terminal interface <PORT-ID> switchport mode access switchport access vlan <VLAN-ID-DATI> switchport voice vlan <VLAN-ID-VOIP> | ||||
| Configurazione porta in Trunk (totale) | configure terminal [switchport encapsulation dot1q] interface <PORT-ID> switchport mode trunk switchport trunk native vlan <VLAN-ID-DATI> | ||||
| Aggiunta di una VLAN ad un trunk | configure terminal [switchport encapsulation dot1q] interface <PORT-ID> switch trunk allowed vlan add <VLAN_ID> | ||||
| Gestione Ethernet Channel | |||||
| Creazione Port Channel | configure terminal interface range fa0/17-18 switchport mode access switchport access vlan 10 channel-group 5 mode [ desirable | auto | on | active | passive ] | ||||
| Rimozione Port Channel | configure terminal no interface port-channel 5 interface fa0/17 no shutdown interface fa0/18 no shutdown | ||||
| Salvataggio configurazione | |||||
| Salvare modifiche | copy running-config startup-config | write memory | save | save configuration [primary | secondary] | |
| Disconnessione | |||||
| Logout | exit | exit | quit | exit | |
| Riavvio sistema | |||||
| Riavvio | reload | reload | reboot | ||
| Riavvio programmato | reload in <min.> | reload after <min.> | reboot time <m dd yyyy hh mm> | ||
| Annullare riavvio | reload cancel | no reload | reboot time <m dd yyyy hh mm> | ||
| Abilitazione / disabilitazione modalità accesso | |||||
| Imposta utente / password | configure terminal password manager user-name <user_id (=admin)> plaintext <password_in_chiaro ()> | configure account “<user_id (=admin)>” password oppure configure account “admin” encrypted “<encrypted-password>” | |||
| HTTP | configure terminal [no] ip http server | configure terminal [no] web-management plaintext | system-view [undo] ip http enable | enable| disable web http | |
| HTTPS | configure terminal [no] ip http secure-server | configure terminal [no] web-management ssl | system-view [undo] ip https enable | enable|disable web https | |
| SSH2 | configure terminal [Crypto Key generate rsa general-keys modulus 768 Ip ssh version 2] line vty 0 15 transport input ssh [telnet] (se non specificato ‘telnet’ abilita solo SSH2, ovvero disabilita Telnet) | configure terminal crypto key generate ssh rsa ip ssh (abilita SSH2) | system-view public-key local create rsa local-user admin Password cipher !PanchoVilla. Authorization-attribute level 3 Service-type ssh quit ssh server enable User-interface vty 0 15 Authentication-mode scheme Idle-timeout 0 0 Protocol inbound ssh | enable | disable ssh2 | |
| Telnet | configure terminal line vty 0 15 transport input telnet [ssh] (se non specificato ‘ssh’ abilita solo Telnet, ovvero e disabilita SSH2) | configure terminal [no] telnet-server | [undo] telnet server enable | enable|disable telnet | |
| Gestione server NTP | |||||
| Visualizza orario | show clock | show time | display clock | show switch | i “Current Time” | |
| Visualizza impostazioni | show ntp status | show sntp | display ntp-service status | show sntp-client | |
| Disabilita NTP | configure terminal no ntp server <IP_Address> | configure terminal no sntp server priority <priority> <IP> <version> | disable sntp-client | ||
| Abilita NTP | configure terminal ntp server 192.168.1.1 | configure terminal timesync sntp sntp server priority 1 192.168.1.1 sntp unicast time timezone 60 time daylight-time-rule middle-europe | system-view clock timezone CET add 01:00:00 clock summer-time CET repeating 02:00:00 2018 march last Sunday 02:00:00 2018 October last Sunday 01:00:00 ntp-service unicast-server 192.168.1.1 priority version 3 | configure sntp-client primary 192.168.1.1 [vr “VR-Default”] [configure sntp-client secondary 192.168.1.1 [“VR-Default”]] configure timezone name CET 60 autodst begins every last sunday march at 2 0 enable sntp-client | |
| DHCP | |||||
| Impostazione IP helper-address | (solo centro stella) conf t interface vlan <vlan_id> ip helper address xxx.xxx.xxx.xxx | (solo centro stella) conf t interface vlan <vlan_id> ip helper address xxx.xxx.xxx.xxx | (solo centro-stella) dhcp relay server-group 0 ip xxx.xxx.xxx.xxx udp-helper enable interface vlan x dhcp select relay dhcp relay server-select 0 | (solo centro-stella) configure bootprelay add xxx.xxx.xxx.xxx vr VR-Default enable bootprelay ipv4 vlan <vlan_name> | |
| Reset configurazione | |||||
| Factory reset | configure terminal erase startup-config |