Ios: Difference between revisions

From Halfface
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 63: Line 63:
=config changes=
=config changes=
  config terminal
  config terminal
=show ip addresses=
show ip              # asa
sh ip interface brief # ios
=show version=
show version
=ASP drops=
Accelerated Security Path (ASP) This command gives an overview of packets that the ASA drops with a reason. Let’s have a look:
show asp drop
clear asp drop
=look at drops=
capture ASP_DROPS type asp-drop acl-drop
show capture ASP_DROPS

Latest revision as of 14:32, 31 October 2023

Information about Cisco ios

login

First mode is called "privileged mode"

disable paging

terminal length 0
terminal pager 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.

show routes

show route    # asa
show ip route # ios

config changes

config terminal

show ip addresses

show ip               # asa
sh ip interface brief # ios

show version

show version

ASP drops

Accelerated Security Path (ASP) This command gives an overview of packets that the ASA drops with a reason. Let’s have a look:

show asp drop
clear asp drop

look at drops

capture ASP_DROPS type asp-drop acl-drop
show capture ASP_DROPS