October 3

Basic Cisco Switch Configuration Checklist 3 Port Security

Example:

  • int g1/0/24
  • switchport mode access
  • switchport port-security maximum 1
  • switchport port-security violation shutdown (protect, restrict)

To enable the function Type:    switchport port-security

To check a port security status  type:   show port-security    (show port-security int g1/0/24 for detailed info)

To bring a port from a shutdown state:

  • int g1/0/24 
  • shutdown
  • no shutdown
Category: Cisco | LEAVE A COMMENT
October 3

Basic Cisco Switch Configuration Checklist 2

Configuring SSH on a Cisco Device

  1. Create hostname                    hostname abc
  2. Configure a Domain name   ip domain-name abc.com
  3. Generate encryption keys     crypto key generate rsa   -> How many bits in the modulus [512]:
  4. Enable SSH version 2            ip ssh version 2
  5. Create local user account(s) username Peter  secret password
  6. line vty 0 4
  7. Allow telnet or ssh                  transport input telnet ssh
  8. Enable local login                    login local 
  9. Write mem
Category: Cisco | LEAVE A COMMENT