Ios: Difference between revisions
Jump to navigation
Jump to search
(→grep) |
|||
Line 50: | Line 50: | ||
spanning-tree portfast | spanning-tree portfast | ||
end | end | ||
==nat== | |||
ip nat service gatekeeper | |||
no ip nat service gatekeeper |
Revision as of 12:33, 9 December 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
nat
ip nat service gatekeeper no ip nat service gatekeeper