cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Ask the Expert- SD-WAN

419
Views
5
Helpful
2
Replies
Beginner

Missing VLAN Command

Hi all, I have two 1841s that are pretty well identical. They both have the same IOS version. One (R1841.1) has a HWIC-4ESW whilst the other (R1841.2) doesn't. This is the only difference between them. When I get into configuration mode on both of them and issue the vlan ? command, R1841.1 gives the following:

R1841.1(config)#vlan ?
  WORD        ISL VLAN IDs 1-4094
  accounting  VLAN accounting configuration
  ifdescr         VLAN subinterface ifDescr

R1841.2 gives the following:

R1841.2(config)#vlan ?
  accounting  VLAN accounting configuration
  ifdescr         VLAN subinterface ifDescr

Why would R1841.2 be missing the WORD qualifier from the list of possible commands? Is this to do with the fact it doesn't have a HWIC-4ESW inserted? I can still configure VLANs from the enable prompt (vlan database). I could power them down and swap the 4ESW between the two but am in the middle of doing stuff on them.

Cheers,

Matt.

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Cisco Employee

Hi Matt,Why would R1841.2 be

Hi Matt,

Why would R1841.2 be missing the WORD qualifier from the list of possible commands? Is this to do with the fact it doesn't have a HWIC-4ESW inserted?

Precisely because of that. The vlan vlan-id command is used to define VLANs for switched modules installed into your router. You do not create VLANs for routed subinterfaces should you be using any - you simply create the subinterface and refer to the corresponding VLAN by the usual encapsulation dot1q vlan-id command.

Please feel welcome to ask further.

Best regards,
Peter

2 REPLIES 2
Highlighted
Hall of Fame Cisco Employee

Hi Matt,Why would R1841.2 be

Hi Matt,

Why would R1841.2 be missing the WORD qualifier from the list of possible commands? Is this to do with the fact it doesn't have a HWIC-4ESW inserted?

Precisely because of that. The vlan vlan-id command is used to define VLANs for switched modules installed into your router. You do not create VLANs for routed subinterfaces should you be using any - you simply create the subinterface and refer to the corresponding VLAN by the usual encapsulation dot1q vlan-id command.

Please feel welcome to ask further.

Best regards,
Peter

Beginner

Thanks Peter, that makes

Thanks Peter, that makes sense.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards