Cisco/CBS220: Difference between revisions

From Omnia
Jump to navigation Jump to search
Line 182: Line 182:
PID              : CBS220-48T-4X
PID              : CBS220-48T-4X
VID              : V02
VID              : V02
</pre>
== Erase Startup Config ==
#  erase  Erase all files on nvram
#    memory  write to memory
write erase
<pre>
#write erase
Do you want to erase all files on nvram and reboot? [y/n] y
*Oct 16 2021 05:19:07.670+0000: %SYSTEM-5-FACTORY_RESTORE: System restore to factory default
</pre>
</pre>



Revision as of 22:22, 28 May 2025

End of Sale / End of Life

https://www.cisco.com/c/en/us/products/collateral/switches/small-business-220-series-smart-plus-switches/220-series-smart-switches-eol.html

"Cisco announces the end-of-sale Cisco 220 Series Smart Switches. The last day to order the affected product(s) is July 30, 2022."

Which is confusing, as this would seem to indicate that the replacement for this document is the Cisco 220 switch?

Default Login

cisco / cisco

Serial Console

Baud rate: 115200

tio -b 115200 /dev/ttyUSB0

Show Running Config

sh run
show running-config

Show Startup Config

sh start
sh startup-config

Show IP

sh ip
#sh ip
IP Address: 192.168.1.254
Subnet Netmask: 255.255.255.0
Default Gateway: 192.168.1.1

Show Mac table

# address-table  Bridge MAC address table configuration
sh mac ad
sh mac address-table

Show VLAN

# vlan     Display VLAN information
sh vlan
#sh vlan
  VID  |     VLAN Name    |        Untagged Ports        |        Tagged Ports          |  Type
-------+------------------+------------------------------+------------------------------+---------
     1 |          default |           gi1-48,te1-4,po1-8 |                          --- | Default

Show arp

# arp  Show the IP ARP translation table
sh arp

Show LACP

sh lacp neighbor
# sh lacp neighbor
Flags:  S - Device is sending Slow LACPDUs
        F - Device is sending Fast LACPDUs
        A - Device is in Active mode        P - Device is in Passive mode

Show lldp

sh lldp neighbors
# sh lldp neighbor

 Port |   Device ID       |     Port ID      |      SysName      |  Capabilities  |  TTL
 ---- + ----------------- + ---------------- + ----------------- + -------------- + -----
  gi1 | C0:C5:20:XX:XX:XX |C0:C5:20:XX:XX:XX |IDF-SWITCH-123     |         Bridge |   112

Show CDP

# neighbor    CDP neighbor entires
sh cdp neighbor
#sh cdp neighbor
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
              S - Switch, H - Host, I - IGMP, r - Repeater, P - VoIP Phone
              M - Remotely-Managed Device, C - CAST Phone Port,
              W - Two-Port MAC Relay
    Device ID       Local      Adv  Holdtime Capability   Platform     Port ID
                    Interface  Ver.
------------------ ----------- ---- -------- ---------- ------------ -----------

Show Error Disable Recovery

#   recovery  Err-Disable shutdown recovery commands


#sh errdisable recovery
 ErrDisable Reason        | Timer Status
--------------------------+---------------
                bpduguard | disabled
                 selfloop | disabled
          broadcast-flood | disabled
  unknown-multicast-flood | disabled
            unicast-flood | disabled
                      acl | disabled
        psecure-violation | disabled
          dhcp-rate-limit | disabled
           arp-inspection | disabled
        dot1x-src-address | disabled
       loopback-detection | disabled

Timer Interval : 300 seconds


Interfaces that will be enabled at the next timeout:

Port |  Error Disable Reason    | Time Left
-----+--------------------------+------------

Configure Terminal

# terminal  Configuration terminal
conf term
configure terminal

WARNING: once you enter "configure terminal", the "show" command no longer appears to work

Write Configuration

w mem
write mem
write memory

Show Interfaces

sh interfaces status GigabitEthernet 1-48

Show Version Details

sh ver
show version
#sh ver
Cisco CBS220 Series Switch Software, Version 2.0.1.5, RELEASE SOFTWARE
Copyright (c) 2021 by Cisco Systems, Inc.
Compiled Sep 24 2021 - 13:29:15

ROM: Bootstrap program is CBS220 boot loader
BOOTLDR: CBS220 Boot Loader Version 1.0.0.17, RELEASE SOFTWARE
Compiled Jun 23 2021 - 13:32:02

SwitchXXXXXX uptime is 22 days, 4 hours, 59 mins, 22 secs
system image is image-1

Processor 1000MHz, with 256M bytes of memory.
48 Gigabit Ethernet interfaces
0 Fast Ethernet interfaces

64M bytes of flash memory
Base MAC Address : 74:11:B2:XX:XX:XX
IP Address       : 192.168.1.254
Subnet Mask      : 255.255.255.0
Model Number     : CBS220-48T-4X
Serial Number    : DNI264XXXXX
PID              : CBS220-48T-4X
VID              : V02

Erase Startup Config

#  erase   Erase all files on nvram
#     memory  write to memory
write erase
#write erase
Do you want to erase all files on nvram and reboot? [y/n] y
*Oct 16 2021 05:19:07.670+0000: %SYSTEM-5-FACTORY_RESTORE: System restore to factory default

Default Config

SwitchXXXXXX#sh run
config-file-header
CBS220-48T-4X
SwitchXXXXXX
v2.0.1.5
CLI v1.0
@
!
!
!

username "cisco" privilege admin secret 8 $8$xxxxxxxxxxxxxxxxxxxxxxxxxxx
!
!
!
sntp server pool.ntp.org
sntp server time-a.timefreq.bldrdoc.gov
sntp server time-b.timefreq.bldrdoc.gov
sntp server time-c.timefreq.bldrdoc.gov
sntp server time-pnp.cisco.com
!
voice vlan oui-table add 00:E0:BB 3COM
voice vlan oui-table add 00:03:6B Cisco
voice vlan oui-table add 00:E0:75 Veritel
voice vlan oui-table add 00:D0:1E Pingtel
voice vlan oui-table add 00:01:E3 Siemens
voice vlan oui-table add 00:60:B9 NEC/Philips
voice vlan oui-table add 00:0F:E2 H3C
voice vlan oui-table add 00:09:6E Avaya
!
!
!
!
!
spanning-tree mst configuration
 name "74:11:B2:XX:XX:XX"
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface gi1
!
interface gi2
!
interface gi3
!
interface gi4
!
interface gi5
!
interface gi6
!
interface gi7
!
interface gi8
!
interface gi9
!
interface gi10
!
interface gi11
!
interface gi12
!
interface gi13
!
interface gi14
!
interface gi15
!
interface gi16
!
interface gi17
!
interface gi18
!
interface gi19
!
interface gi20
!
interface gi21
!
interface gi22
!
interface gi23
!
interface gi24
!
interface gi25
!
interface gi26
!
interface gi27
!
interface gi28
!
interface gi29
!
interface gi30
!
interface gi31
!
interface gi32
!
interface gi33
!
interface gi34
!
interface gi35
!
interface gi36
!
interface gi37
!
interface gi38
!
interface gi39
!
interface gi40
!
interface gi41
!
interface gi42
!
interface gi43
!
interface gi44
!
interface gi45
!
interface gi46
!
interface gi47
!
interface gi48
!
interface te1
!
interface te2
!
interface te3
!
interface te4
!
!
!
!

keywords