This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
cisco:begining_mainual [2021/06/30 15:38] admin created |
cisco:begining_mainual [2021/06/30 15:43] (current) admin |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ( https://www.samuraj-cz.com/clanek/cisco-ios-1-uvod-prikaz-show/ ): | ( https://www.samuraj-cz.com/clanek/cisco-ios-1-uvod-prikaz-show/ ): | ||
| - | sh ? ( pringt every show commands ) | + | ( print every show commands ) |
| + | <code bash> | ||
| + | sh ? | ||
| + | </code> | ||
| + | ( show running config ) | ||
| + | <code bash> | ||
| sh run | sh run | ||
| - | show running config | + | </code> |
| - | show int des | + | ( show interface description ) |
| - | show interface description | + | <code bash> |
| + | show int des | ||
| + | </code> | ||
| + | ( show ip interfaces brief ) | ||
| + | <code bash> | ||
| sh ip int br | sh ip int br | ||
| - | show ip interfaces brief | + | </code> |
| + | ( show logging ) | ||
| + | <code bash> | ||
| sh log | sh log | ||
| - | show logging | + | </code> |
| To changing coniguration: | To changing coniguration: | ||
| - | conf t ( configure terminal, to return Ctr + z ) | + | <code bash> |
| + | conf t | ||
| + | </code> ( configure terminal, to return Ctr + z ) | ||
| Example change some interface: | Example change some interface: | ||
| - | int Gi2/0/14 ( some interface from show int des ) | + | <code bash> |
| + | int Gi2/0/14 | ||
| + | </code> ( some interface from show int des ) | ||
| Before change print configuration interface : | Before change print configuration interface : | ||
| + | <code bash> | ||
| Mainswitch#sh run int Gi2/0/14 | Mainswitch#sh run int Gi2/0/14 | ||
| Building configuration... | Building configuration... | ||
| Line 34: | Line 51: | ||
| spanning-tree bpduguard disable | spanning-tree bpduguard disable | ||
| end | end | ||
| + | </code> | ||
| After that for example change VLAN : | After that for example change VLAN : | ||
| - | conf t ( enter configuration mode ) | + | <code bash> |
| - | int Gi2/0/14 ( enter configuratio interface ) | + | conf t |
| - | switchport access vlan 240 ( change VLAN access ) | + | </code> ( enter configuration mode ) |
| + | <code bash> | ||
| + | int Gi2/0/14 | ||
| + | </code> ( enter configuratio interface ) | ||
| + | <code bash> | ||
| + | switchport access vlan 240 | ||
| + | </code> ( change VLAN access ) | ||
| To change VLAN access to trunk | To change VLAN access to trunk | ||
| - | no switchport access vlan 247 ( delete access mode conf ) | + | <code bash> |
| - | no switchport mode access ( delete access mode conf ) | + | no switchport access vlan 247 |
| + | </code> ( delete access mode conf ) | ||
| + | <code bash> | ||
| + | no switchport mode access | ||
| + | </code> ( delete access mode conf ) | ||
| + | <code bash> | ||
| switchport mode trunk | switchport mode trunk | ||
| - | + | </code> | |
| - | + | Save configuration : | |
| - | write ( save configuration ) | + | <code bash> |
| + | write | ||
| + | </code> ( save configuration ) | ||