Klassische System Setup Befehel
hostname <hostname>
ip domain name <domain>
ip name-server <ip>
ip default-gateway <ip>
clock source sntp sntp server <ip> show clock detail
clock timezone GMT +1
ip ssh server
show user show run | inc user username <user> password <pw> privilege <lvl>
SNMP Server aktivieren
snmp-server server snmp-community <com>
SNMP Community setzten
snmp-server community <com> ro
IP auf einem Interface setzen
int <int> ip address <ip> <subnet>
int <vlan> ip address <ip> <subnet>
int <int> no ip address
show ip interface <int>
show interface <int> show interface status show interface counters protocol status show interface counters port-channel <id>
int <int> switchport mode access vlan <id>
switchport trunk allowed vlan <id>
int range gi1/0/1-20
Anzeigen der Mac's die am Port / Interface angesteckt sind
show mac address-table
vlan database vlan <id> name <name>
vlan database no vlan <id>
int <po#> .... Port Config ...
channe-group <#> mode auto
Man sieht das Budget vom Switch und die Infos aller Interfaces
show power inline
conf t interface gi1/0/1 power inline auto
conf t interface gi1/0/1 no power inline power inline never
conf t interface gi1/0/1 power inline priority <critical|high|low>
show lacp port-channel <#>
show cdp neighbors
show stack show stack 1 show stack 2
Ein Reboot von jedem Member ist nötig.
Node1
conf t stack unit 1 stack configuration links te3-4 unit-id 1 end wr reload
Node2
conf t stack unit 1 stack configuration links te3-4 unit-id 2 end wr reload
conf t stack unit 1 no stack configuration end wr reload
Hardware Infos
show inventory