Monday, June 17, 2013

Switch Port States

Switch Port States

  • Listening - sends and receives BPDUs to determine root, but does not update the MAC address.
  • Disabled - does not participate in frame forwarding or in stp.
  • Blocking - does not participate in frame forwarding.
  • Forwarding - sends and receives data frames.
  • Learning - populates the MAC address table, but will not forward user data.

HSRP Port States

HRP Port States

  1. Initial - this state indicates that HSRP is not running, and it is entered via a configuration change or when the interface first comes up.
  2. Learn - a router has not determined the virtual ip address and has not yet seen an authenticated hello message from those routers. 
  3. Listen - the router knows the virtual ip address but is neither the active nor the standby router. It listens for hello messages.
  4. Speak - the router sends periodic hello messages and is actively participating in the election of the active  or standby router. A router cannot enter speak state unless  it has the virtual ip address.
  5. Standby - The router is a candidate to become the next  active router and sends periodic hello message.
  6. Active - The router is currently forwarding packets that are set to the group virtual MAC address. The router sends periodic hello messages.

Syslog Levels and Description


Syslog levels and Descriptions

     0. Emergency  - system is unusable (such as imminent system crash).
  1. Alert - action must be taken immediately (such as corrupted system database).
  2. Critical - critical conditions (such as hardware error).
  3. Error - Error conditions.
  4. Warning - Warning conditions.
  5. Notice - normal but significant conditions. It is not an error, but possibly should be handled in a special way.
  6. Informational - Informational Message.
  7. Debug -debug level message.

The Port Aggregation Protocol and Link Aggregation Protocol

The Port Aggregation Protocol (PAgP) and Link Aggregation Protocol (LACP) facilitate the automatic creation of EtherChannels by exchanging packets between Ethernet interfaces.
PAgP is a cisco-proprietary solution and LACP is  a standards based solution.

LACP Modes:

  • on - the link aggregation is forced to be formed without any LACP negotiation, the peer must be set to on as well.
  • off - disables LACP & prevents from forming a port channel.
  • passive - the port does not initiate the channel.
  • active - send LACP packets and will to form a port channel.
PAgP Modes:


  •  on -  the link aggregation is forced to be formed without PAgP negotiation, the peer must be set to on as well.
  • off - disables PAgP and prevents from forming a port-channel.
  • desirable - sends PAgP packets and willing to form a port-channel.
  • auto - does not start PAgP packet negotiation but responds  to PAgP packets it receives 
Note :

An etherchannel in cisco is defined as a layer 2 Etherchannel or a layer 3 Etherchannel.
For layer 2 Etherchannel, physical ports are placed into an Etherchannel group.
A logical port-channel interface will be created automatically.
For layer 3 Etherchannel a layer 3 switch virtual interface (svi)  is created and then the physical ports are bound into this layer 3 svi.