Popular Posts

Wednesday, July 31, 2013

portfast and uplinkpast convergance




Enabling portpast and uplinkpast significantly speedup STP   
convergance

Enabling portfast on access layer switches on ports which connect to a server/pc directly.


P1ASW1(config)#interface fastethernet 0/5
P1ASW1(config-if)#spanning-tree portfast


Enabling uplinkpast on a trunk port which speed stp convergance
P1ASW1(config)# spanning-tree uplinkpast

To check STP status
P1ASW1(config)#show spanning-tree vlan 11

Configuring EtherChannel



Configuring EtherChannel
Configuring EtherChannel will help to increase the band with by bundling two links.
First configure ports as trunks.

ALS1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ALS1(config)# interface range fastEthernet 0/7 - 12
ALS1(config-if-range)# switchport trunk encapsulation dot1q
ALS1(config-if-range)# switchport mode trunk

We can use Port Aggregation Protocol (PAgP), a Cisco EtherChannel protocol to configure EtherChannel.
1.       Configure an EtherChannel with Cisco PAgP
First configure logical interface by binding two interfaces.
ALS1(config)# interface range fastEthernet 0/11 - 12
ALS1(config-if-range)# channel-group 1 mode desirable
Creating a port-channel interface Port-channel 1

Than change the logical interface to a trunk
ALS1(config)# interface port-channel 1
ALS1(config-if)# switchport mode trunk

You can check the Ether-Channel status by
ALS1# show etherchannel summary