SCRIPT_SWITCH_CISCO

 





Basic Switch Configuration:



Switch Boot Sequence


  1. Power-on self test (POST).

  2. Run boot loader software.

  3. Boot loader performs low-level CPU initialization.

  4. Boot loader initializes the flash file system.

  5. Boot loader locates and loads a default IOS operating system software image into memory and passes control of the switch over to the IOS









Switch LED Indicators





Configuring Switch Management Access







Configure Switch Ports
Duplex Communication





Configure Switch Ports
Configure Switch Ports at the Physical Layer



Configure Switch Ports
Auto-MDIX


  • Certain cable types (straight-through or crossover) were historically required when connecting devices.

  • The automatic medium-dependent interface crossover (auto-MDIX) feature eliminates this problem.

  • When auto-MDIX is enabled, the interface automatically detects and appropriately configures the connection.

  • When using auto-MDIX on an interface, the interface speed and duplex must be set to auto.














Secure Remote Access
SSH Connection


  • Secure Shell (SSH) is a protocol that provides a secure (encrypted)

  • command-line based connection to a remote device.

  • SSH uses TCP port = 22, by default. 

  • Telnet uses TCP port = 23.

  • A version of the IOS software, including cryptographic (encrypted)

  • features and capabilities, is required to enable SSH on switches.


Configuring SSH




Verifying SSH






Port Security
  • The MAC addresses of legitimate devices are allowed access, while other MAC addresses are denied access to network .

  • Static secure MAC addresses – manually configured :

  • switchport port-security mac-address mac-address

  • Sticky secure MAC addresses – added to running configuration and learned dynamically

  • switchport port-security mac-address sticky interface configuration mode command

Violation Modes

Configuring



Verifying


Ports in Error Disabled State











No comments:

Post a Comment

TCP_IP_ATTACKS