Ios: Difference between revisions
Jump to navigation
Jump to search
(→nat) |
|||
Line 55: | Line 55: | ||
ip nat service gatekeeper | ip nat service gatekeeper | ||
no ip nat service gatekeeper | no ip nat service gatekeeper | ||
=show running static= | |||
Show static mapping. |
Revision as of 13:56, 20 November 2018
Information about Cisco ios
login
First mode is called "privileged mode"
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
show running static
Show static mapping.