Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stpd setup - Error: Please configure a stpd dot1q tag first

Status
Not open for further replies.

alexvk

IS-IT--Management
Aug 14, 2007
1
UA
Hi!

I have a strange problem with stpd setup. Here is what I've done (on unconfigured switch):

# create vlan vlan900
# configure vlan900 tag 900
# configure vlan "Default" delete ports 2-6
# configure vlan900 add ports 20 tagged

# create stpd stpd_vlan900
# configure "stpd_vlan900" default-encapsulation dot1d
# configure "stpd_vlan900" add vlan900 ports 2-6
# configure "stpd_vlan900" add vlan900 ports 20 pvst-plus
# configure "stpd_vlan900" tag 900
# enable "stpd_vlan900"
Error: Please configure a stpd dot1q tag first

But I just has configured stpd dot1q tag! Am I doing something wrong or is it a bug?

# sh ver
Switch : 800152-00-04 0709G-00388 Rev 4.0 BootROM: 1.0.2.2 IMG: 12.0.1.11
XGM2-1 :

Image : ExtremeXOS version 12.0.1.11 v1201b11 by release-manager
on Fri May 18 20:56:18 PDT 2007
BootROM : 1.0.2.2

I found that when I add to stp instance ports of only one type - only tagged or only untagged - I can enable that stp instance, and it seems to run well. And then I can add other ports without a problem! But after saving config and restarting switch stp does not start. In logs I see that I must configure stpd dot1q tag.
 
alexvk...

If you are trying to configure the Extreme EXOS switch with Cisco do not use native VLAN configuration. For example on Cisco Side.... Assuming you are just connecting two links between two switches for the purposes of testing only:

Cisco Side:
vlan 900 name vlan900

interface FastEthernet0/2
switchport trunk allowed vlan 900
switchport mode trunk
switchport nonegotiate

Notice no Native VLAN on Cisco Side. Extreme already indicates that they do not support PVST+ on Native VLAN 1 in the their concepts guide. Your configuration has port 20 in the default VLAN untagged still.

Try this. Now for the Extreme Side.

config vlan default delete ports 2-6,20
create vlan vlan900
config vlan vlan900 tag 900
config vlan vlan900 add ports 2-6 untagged
config vlan vlan900 add ports 20 tagged
create stpd stpd_vlan900
config stpd_vlan900 default-encapsulation dot1d
config stpd_vlan900 add vlan900 ports 2-6
config stpd_vlan900 add vlan900 ports 20 pvst-plus
config stpd stpd_vlan900 tag 900
enable stpd_vlan900

Be sure to add the VLAN tag at the end, just before you enable the STPD. If you add it before you add ports in VLAN900 to the domain you will get an error.

Works for me without any errors:
* X450a-48tdc.23 # show stpd stpd_vlan900 ports
Port Mode State Cost Flags Priority Port ID Designated Bridge
2 802.1D DISABLED 4 eBbb-d--- 16 8002 00:00:00:00:00:00:00:00
3 802.1D DISABLED 4 eBbb-d--- 16 8003 00:00:00:00:00:00:00:00
4 802.1D DISABLED 4 eBbb-d--- 16 8004 00:00:00:00:00:00:00:00
5 802.1D DISABLED 4 eBbb-d--- 16 8005 00:00:00:00:00:00:00:00
6 802.1D DISABLED 4 eBbb-d--- 16 8006 00:00:00:00:00:00:00:00
20 PVST+ DISABLED 4 eBbb-d--- 16 8014 00:00:00:00:00:00:00:00

Total Ports: 6

------------------------- Flags: ----------------------------
1: e=Enable, d=Disable
2: (Port role) R=Root, D=Designated, A=Alternate, B=Backup, M=Master
3: (Config type) b=broadcast, p=point-to-point, e=edge, a=auto
4: (Oper. type) b=broadcast, p=point-to-point, e=edge
5: p=proposing, a=agree
6: (partner mode) d = 802.1d, w = 802.1w, m = mstp
7: i = edgeport inconsistency
8: S = edgeport safe guard active
s = edgeport safe guard configured but inactive
9: B = Boundary, I = Internal



Evil will always triumph, because good is dumb. - Darth Helmut, Space Balls
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top