Ios: Difference between revisions
Jump to navigation
Jump to search
(→grep) |
|||
Line 39: | Line 39: | ||
exclude string | exclude string | ||
| -e string | | -e string | ||
==access port good example== | |||
se2-l2-sw01#show run int gig 1/0/15 | |||
Building configuration... | |||
Current configuration : 115 bytes | |||
! | |||
interface GigabitEthernet1/0/15 | |||
switchport access vlan 105 | |||
switchport mode access | |||
spanning-tree portfast | |||
end |
Revision as of 08:07, 23 October 2015
Information about Cisco ios
disable paging
terminal length 0
Show information about switch
show stack
Which switches belong to switch stack.
show switch
How can we tell the stackwise cables were properly inserted?
show switch stack-ring speed
List ports
show ip int brief
show vlan information
show vlan brief
show info about port
sh int Gi1/0/16 switchport sh int Gi4/0/16 switchport
show arp cache
sh ip arp
show arp and grep for
sh ip arp | i e0db.5514.25e4
show mac addresses
show mac-address-table
or
show mac address-table
for a vlan
sh mac address-table vlan 105
clean mac cache
clear mac address-table dynamic
grep
search for string
| i string
exclude string
| -e string
access port good example
se2-l2-sw01#show run int gig 1/0/15 Building configuration... Current configuration : 115 bytes ! interface GigabitEthernet1/0/15 switchport access vlan 105 switchport mode access spanning-tree portfast end