Основные команды:
show run - показать текущий конфиг configure - режим конфигурирования write mem - сохранить настройки
Пример конфига:
config-file-header switch000001 v5.1.0.18 / ? CLI v1.0 @ ! unit-type-control-start unit-type unit 1 network te uplink none unit-type-control-end ! no spanning-tree port jumbo-frame vlan database vlan 25-28,35-38 exit voice vlan oui-table add 0001e3 Siemens_AG_phone________ voice vlan oui-table add 00036b Cisco_phone_____________ voice vlan oui-table add 00096e Avaya___________________ voice vlan oui-table add 000fe2 H3C_Aolynk______________ voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone voice vlan oui-table add 00d01e Pingtel_phone___________ voice vlan oui-table add 00e075 Polycom/Veritel_phone___ voice vlan oui-table add 00e0bb 3Com_phone______________ ip ssh server ip telnet server ! interface vlan 1 ip address 10.12.127.200 255.255.255.0 no ip address dhcp ! interface TengigabitEthernet1 switchport mode trunk ! interface TengigabitEthernet2 switchport mode trunk ! interface TengigabitEthernet3 switchport mode trunk ! interface TengigabitEthernet5 switchport mode trunk ! exit console#
Vlan
vlan database vlan 25-28,35-38
JAMBO PACKET
port jumbo-frame
NO STP
no spanning-tree
TRANK
interface TengigabitEthernet1 switchport mode trunk ! interface TengigabitEthernet2 switchport mode trunk ! interface TengigabitEthernet3 switchport mode trunk ! interface TengigabitEthernet5 switchport mode trunk !
STATIC IP CONTROL
interface vlan 1 ip address 10.12.127.200 255.255.255.0 no ip address dhcp !