cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9368
Views
10
Helpful
8
Replies

Vlan not available on 7604, sup720 gig interface

pedro.reis
Level 1
Level 1

Hi,

I'm on my last hair after so much pulling and hours searching for a possible solution to this problem.

I have a Cisco 7604 with a WS-SUP720-3BXL and I cannot assign vlans to subinterfaces....

I have spent hours and hours searcing on cisco.com and google for a solution but nothing so far, I'm in desperate need to get this operational.

cisco-rt-qdl1(config)#interface gigabitEthernet 1/2.3

cisco-rt-qdl1(config-subif)#encapsulation dot1Q 3

Command rejected: VLAN 3 not available

cisco-rt-qdl1(config-subif)#

cisco-rt-qdl1#show vlan id 3

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

3 Management active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

3 enet 100003 1500 - - - - - 0 0

Remote SPAN VLAN

----------------

Disabled

Primary Secondary Type Ports

------- --------- ----------------- ------------------------------------------

cisco-rt-qdl1#sh vlan internal usage

VLAN Usage

---- --------------------

1006 online diag vlan0

1007 online diag vlan1

1008 online diag vlan2

1009 online diag vlan3

1010 online diag vlan4

1011 online diag vlan5

1012 PM vlan process (trunk tagging)

1013 Control Plane Protection

1014 Container0

1015 IPv4 VPN 0 Egress multicast

(from running config)

interface GigabitEthernet1/2

no ip address

shutdown

!

interface GigabitEthernet1/2.3

!

Any help or tips would be extremly appreciated.

Thank you

8 Replies 8

Jon Marshall
Hall of Fame
Hall of Fame

Pedro

This may be to do with the fact that vlans are global to the router.  Is your VTP running as transparent ? From the 7600 12.2SR config guide -

You can configure subinterfaces with any normal range or extended range VLAN ID in VTP transparent mode. Because VLAN IDs 1 to 1005 are global in the VTP domain and can be defined on other network devices in the VTP domain, you can use only extended range VLANs with subinterfaces in VTP client or server mode. In VTP client or server mode, normal range VLANs are excluded from subinterfaces.

see the full link from which the above is taken -

http://www.cisco.com/en/US/docs/routers/7600/ios/12.2SR/configuration/guide/layer3.html#wp1040486

One other point. Do you actually need to use subinterfaces. Could you not just have the port configured as a trunk port and then create L3 vlan interfaces for each vlan rather than use subinterfaces ?

Jon

Hi Jon, thank you for your reply.

I have vtp in transparent yes, I also have attempted several configurations also with vid's > 2000 (extended), the behavior is always the same.

Command rejected: VLAN x not available

I could configure the router similarly as done in a L3 switch but would much much rather use subinterfaces, this router will be the core router of many vlans and also our bgp router to the internet.

I feel more confortable with subinterfaces as I belive it to be a more "correct" way of doing it on a router.

Pedro

Just to confirm -

1) you don't have a L3 vlan interface for vlan 3 ?

2) you haven't used vlan 3 on another subinterface ?

Jon

Hi Jon,

1) correct, I have no "interface vlan 3" for vlan 3 or any other vlan

2) I havent, the configuration of the router is "blank/bare" until I get this issue sorted, I cannot assign any vlan to a sub-interface on any interfaces, in my example I was using vid 3, none of my vlans will not work

Thank you

mlund
Level 7
Level 7

Hi Pedro

"Dot1q 3" can not be used because vlan 3 is already in use.

this is from your output.

cisco-rt-qdl1#show vlan id 3

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

3 Management active

A vlan can only be used ones in a catalyst-box, as a vlan, also dot1q counts.

To use dot1q You must be sure there are no layer2 vlan created with the same number, also You have to be sure there are no other interface configured with the same dot1q tag.

/Mikael

parvanehsr7
Level 1
Level 1

Hi Pedro,

I had the same problem tonight while I was configuring a subinterface in 6509.... I think I fixed it

you should delete the vlan. "encapsulation dot1q 3" if you already has created vlan 3. it means it is not available to use here.

after implementing "encapsulation dot1q vlan-number" command. you can assign ip address to your subinterface as well.

Parvaneh

Thank you bro, I faced the similar problem on CISCO7609-S . Tried to delete vlan then configure encapsulation dot1q x . It works.

yes! thats true!

if you want to use vlan XX in dot1Q, that vlan shouldn't be specified.

I've just setting up a link aggregation again and i've forgotten that! +5

i.e.

cisco-rt-qdl1(config)#interface gigabitEthernet 1/2.3

cisco-rt-qdl1(config-subif)#encapsulation dot1Q 3

Command rejected: VLAN 3 not available

cisco-rt-qdl1(config-subif)#

just type this and after that you'll succeed

cisco-rt-qdl1# conf t

cisco-rt-qdl1(config)# no vlan 3

Review Cisco Networking for a $25 gift card