1.1.7 Example for Configuring Basic STP Functions Highlighted

Created Oct 13, 2014 17:13:41Latest reply Nov 13, 2015 14:35:21 2703 4 0 0

Long time no see, guys. These days I’m too busy to learn HCIE, however, I decide to learn one chapter now. The configuration file of eNSP is attached as 1.1.7 Example for configuring basic stp functions.


[SwitchC-Ethernet0/0/4]stp cost 200000

We should use command as above to specify path cost of Ethernet 0/0/4 of Switch C.

[SwitchC-Ethernet0/0/2]stp disable, we use this to disable STP on Ethernet 0/0/2 of Switch C, which is connected with PC.

Now we can see the output of Switch C:

[SwitchC]display stp brief

 MSTID  Port                        Role  STP State     Protection

   0    Ethernet0/0/1               ROOT  FORWARDING      NONE

   0    Ethernet0/0/3               DESI  FORWARDING      NONE

 0    Ethernet0/0/4               ALTE  DISCARDING      NONE

  Because the cost of Ethernet 0/0/4 is big, then it’s selected to be ALTE port to be blocked to avoid loop problem. Ethernet 0/0/2’s STP is disable, that’s why we can’t see it here.

    Why Ethernet 0/0/1 is selected as root port?

    Because Ethernet 0/0/1’s port ID is 0x8002, which is smaller than Ethernet 0/0/3’s 0x8003. The smaller the higher priority.

 

This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

user_113229  Mentor   Created Nov 04, 2015 14:49:05 Helpful(0) Helpful(0)

There is also MSTP, which is complicated. Just remember that, you can use multiple MSIs to give flow to different vlans.

For example, MSI1 for vlan 5 to 10, MSI2 for vlan 11 to 20, MSI0 is for default. Port priority and cost to decide while port to be blocked.

  • x
  • convention:

taha_hussein     Created Nov 13, 2015 00:42:58 Helpful(0) Helpful(0)

Many thanks

  • x
  • convention:

user_113229  Mentor   Created Nov 13, 2015 14:35:21 Helpful(0) Helpful(0)

Reply 4 #

You're welcome.
  • x
  • convention:

user_2790689  Expert   Created Oct 14, 2014 08:53:53 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top