Written by James McDonald

August 27, 2023

TFTP Server for Windows

https://www.solarwinds.com/free-tools/free-tftp-server

Backup config to TFTP server

copy running-config tftp://10.19.20.30

Set an interface to defaults

!-- in config mode
config t
default interface gi1/0/18

Output

Interface GigabitEthernet1/0/1 set to default configuration

Run show commands while in config mode

(config)#do show running-config interface gi1/0/13

Output

Building configuration...

Current configuration : 90 bytes
!
interface GigabitEthernet1/0/13
 switchport voice vlan 100
 spanning-tree portfast
end

Filter by a value in output

Check connected interfaces

show ip interface brief  | incl up
Vlan1                  192.168.77.215   YES TFTP   up                    up
Vlan91                 172.16.99.240   YES TFTP   up                    up
GigabitEthernet1/0/3   unassigned      YES unset  up                    up
GigabitEthernet1/0/11  unassigned      YES unset  up                    up
GigabitEthernet1/0/12  unassigned      YES unset  up                    up
GigabitEthernet1/0/14  unassigned      YES unset  up                    up
GigabitEthernet1/0/15  unassigned      YES unset  up                    up
GigabitEthernet1/0/16  unassigned      YES unset  up                    up
GigabitEthernet1/0/18  unassigned      YES unset  up                    up
GigabitEthernet1/0/19  unassigned      YES unset  up                    up
GigabitEthernet1/0/27  unassigned      YES unset  up                    up

Display interface details

show interfaces status

Output

Port      Name               Status       Vlan       Duplex  Speed Type
Gi1/0/1                      notconnect   1            auto   auto 10/100/1000BaseTX
Gi1/0/2                      notconnect   1            auto   auto 10/100/1000BaseTX
Gi1/0/3                      connected    1          a-full  a-100 10/100/1000BaseTX
Gi1/0/4                      notconnect   1            auto   auto 10/100/1000BaseTX
Gi1/0/5      TouchPC         notconnect   25           auto   auto 10/100/1000BaseTX
!-- snippage...

See device serial number and model along with installed SFP and other inventory information

show inventory

Output

NAME: "1", DESCR: "WS-C2960X-24PS-L"
PID: WS-C2960X-24PS-L  , VID: V05  , SN: FCW2144B3TC

NAME: "GigabitEthernet1/0/27", DESCR: "1000BaseSX SFP"
PID:                   , VID:      , SN: H632759

See power being used PoE

show power inline

Output

Module   Available     Used     Remaining
          (Watts)     (Watts)    (Watts)
------   ---------   --------   ---------
1           370.0       20.4       349.6
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/1   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/2   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/3   auto   on         15.4    Ieee PD             3     30.0
Gi1/0/4   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/5   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/6   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/7   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/8   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/9   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/10  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/11  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/12  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/13  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/14  auto   on         5.0     Polycom VVX 300     2     30.0
Gi1/0/15  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/16  auto   off        0.0     n/a                 n/a   30.0
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/17  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/18  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/19  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/20  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/21  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/22  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/23  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/24  auto   off        0.0     n/a                 n/a   30.0

Show MAC addresses

show mac address-table 

Show MAC addresses by VLAN

show mac address-tabe vlan 20

Show MAC address by interface

show mac address-table interface Gi1/0/14
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    0044.f2c1.e704    DYNAMIC     Gi1/0/14
Total Mac Addresses for this criterion: 1

Show IP to MAC mappings

show ip arp

Output

Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  172.16.66.1            78   0040.0c07.ac01  ARPA   Vlan99
Internet  172.16.66.10            1   0040.569e.be61  ARPA   Vlan99
Internet  172.16.66.240           -   cc4a.53aa.3941  ARPA   Vlan99
Internet  192.168.77.9             0   0040.56a8.d6a0  ARPA   Vlan1
Internet  192.168.77.12            0   0040.56a8.81ed  ARPA   Vlan1
Internet  192.168.77.19            0   0040.56a8.ddc4  ARPA   Vlan1
Internet  192.168.77.21           12   0040.569e.67bd  ARPA   Vlan1
Internet  192.168.77.113         188   3c47.86c0.2692  ARPA   Vlan1
Internet  192.168.77.215           -   cc4a.53aa.3840  ARPA   Vlan1
Internet  192.168.77.254          14   004b.8f7d.1540  ARPA   Vlan1

Show all interfaces IP addresses and up / down state

show ip interface brief

Output

Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  192.168.77.215   YES TFTP   up                    up
Vlan99                 172.16.66.240   YES TFTP   up                    up
FastEthernet0          unassigned      YES TFTP   administratively down down
GigabitEthernet1/0/1   unassigned      YES unset  down                  down
GigabitEthernet1/0/2   unassigned      YES unset  down                  down
GigabitEthernet1/0/3   unassigned      YES unset  up                    up
GigabitEthernet1/0/4   unassigned      YES unset  down                  down
GigabitEthernet1/0/5   unassigned      YES unset  down                  down
GigabitEthernet1/0/6   unassigned      YES unset  down                  down
GigabitEthernet1/0/7   unassigned      YES unset  down                  down
GigabitEthernet1/0/8   unassigned      YES unset  down                  down
GigabitEthernet1/0/9   unassigned      YES unset  down                  down
GigabitEthernet1/0/10  unassigned      YES unset  down                  down
GigabitEthernet1/0/11  unassigned      YES unset  up                    up
GigabitEthernet1/0/12  unassigned      YES unset  up                    up
GigabitEthernet1/0/13  unassigned      YES unset  down                  down
GigabitEthernet1/0/14  unassigned      YES unset  up                    up
GigabitEthernet1/0/15  unassigned      YES unset  up                    up
GigabitEthernet1/0/16  unassigned      YES unset  up                    up
GigabitEthernet1/0/17  unassigned      YES unset  down                  down
GigabitEthernet1/0/18  unassigned      YES unset  up                    up
GigabitEthernet1/0/19  unassigned      YES unset  up                    up
GigabitEthernet1/0/20  unassigned      YES unset  down                  down
GigabitEthernet1/0/21  unassigned      YES unset  down                  down
GigabitEthernet1/0/22  unassigned      YES unset  down                  down
GigabitEthernet1/0/23  unassigned      YES unset  down                  down
GigabitEthernet1/0/24  unassigned      YES unset  down                  down
GigabitEthernet1/0/25  unassigned      YES unset  down                  down
GigabitEthernet1/0/26  unassigned      YES unset  down                  down
GigabitEthernet1/0/27  unassigned      YES unset  up                    up
GigabitEthernet1/0/28  unassigned      YES unset  down                  down

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…