====== Cisco manual ======
( https://www.samuraj-cz.com/clanek/cisco-ios-1-uvod-prikaz-show/ ):
( print every show commands )
sh ?
( show running config )
sh run
( show interface description )
show int des
( show ip interfaces brief )
sh ip int br
( show logging )
sh log
To changing coniguration:
conf t
( configure terminal, to return Ctr + z )
Example change some interface:
int Gi2/0/14
( some interface from show int des )
Before change print configuration interface :
Mainswitch#sh run int Gi2/0/14
Building configuration...
Current configuration : 318 bytes
!
interface GigabitEthernet2/0/14
description BC10 Huawei MM2
switchport access vlan 247
switchport mode access
no logging event link-status
no snmp trap link-status
storm-control broadcast level pps 200 150
storm-control multicast level pps 100 80
spanning-tree portfast
spanning-tree bpduguard disable
end
After that for example change VLAN :
conf t
( enter configuration mode )
int Gi2/0/14
( enter configuratio interface )
switchport access vlan 240
( change VLAN access )
To change VLAN access to trunk
no switchport access vlan 247
( delete access mode conf )
no switchport mode access
( delete access mode conf )
switchport mode trunk
Save configuration :
write
( save configuration )