Ios: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 31: Line 31:
for a vlan
for a vlan
  sh mac address-table vlan 105
  sh mac address-table vlan 105
==clean mac cache==
clear mac address-table dynamic
==grep==
==grep==
search for string
search for string

Revision as of 08:04, 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