Know about Cisco Switch and Router

231

Difference between enable secret password and enable password?

enable secret password encrypts the password automatically using MD5 hash algorithm. enable password doesn’t encrypt the password thus stores in clear text. But using service password-encryption command at global config mode encyrpts ‘all’ the passwords in the Cisco IOS. However enable secret password provides stronger encryption than the service password-encryption command.

 

Test if you have faulty cable connected on a switch port

Switch#test cable-diagnostics tdr interface gigabitEthernet 0/13
TDR test started on interface Gi0/13
A TDR test can take a few seconds to run on an interface
Use 'show cable-diagnostics tdr' to read the TDR results.
Switch#show cable-diagnostics tdr interface gigabitEthernet 0/13
TDR test last run on: May 10 10:36:29

Interface   Speed     Local pair    Pair    length            Remote pair  Pair status
--------- ----- ---------- ------------------ ----------- --------------------
Gi0/13      1000M     Pair A        47      +/- 4 meters      Pair A       Normal
                      Pair B        50      +/- 4 meters      Pair B       Normal
                      Pair C        51      +/- 4 meters      Pair C       Normal
                      Pair D        49      +/- 4 meters      Pair D       Normal

 


Convert a Switchport to L2 or L3

A switchport by default is L2, in order to configure an IP address on it, you need to convert the switchport to L3

(config-if)# no switchport

To convert a switchport back to L2

(config-if)# switchport

 



Related Articles & Comments

Menu Title
%d bloggers like this: