cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26214
Views
20
Helpful
5
Replies

Unable to configure Vlan1: Invalid input detected at '^' marker

csasaki
Level 1
Level 1

HI,

 

We just got an ISR 4331 and I am in the process of configuring it. 

However, when I try to access interface Vlan 1, I am unable to access interface Vlan 1:

 

RTR(config)#interface vlan1
                                   ^
% Invalid input detected at '^' marker.

 

I can access interface Vlan 1 on another pre-configured router with the same command so I am not sure if I missed something in configuration? Also, I can access vlan 1 but not through the interface command:

 

RTR(config)#vlan 1

RTR(config-vlan)#

 

Could someone help me, please? Thanks.

1 Accepted Solution

Accepted Solutions

RTR(config)# interface vlan1

and 

RTR(config)# vlan 1

are different commands

the first configures an interface for the vlan so you can give it an ip-address

the second configures a vlan so you can give it a name, not an ip-address

try show vlan and show interface vlan [n] on both routers 

 

if a router is a real router (L3 device) , then it does not know about vlan's (L2 ) !

however it may recognize dot1q encapsulated (sub)interfaces.

you can check the modules installed with show inventory

 

 

View solution in original post

5 Replies 5

luis_cordova
VIP Alumni
VIP Alumni

Hi @csasak,

 

Is it possible that the switch module is missing from your device? You could check the inventory on your device.

 

Regards

@luis_cordova wrote:

Hi @csasak,

 

Is it possible that the switch module is missing from your device? You could check the inventory on your device.

 

Regards


I had thought about that being the problem but do you know how I could check that? I didn't order this device so I'm not sure what was ordered with it. I've done "show platform" and "show hardware" commands but I don't know what to look for or look at.
 

Hi,

you should use space between vlan number and 'vlan' command. check below guide for interface configurations.

https://www.cisco.com/c/en/us/td/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/routing_bridging/guide/rtbrgdgd/vlansif.html#wp1029764

Kasun Bandara
*** Pls rate and mark solved all useful responses ***
Good Luck
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

balaji.bandi
Hall of Fame
Hall of Fame

Adding to other post check - Confirm that on the inventory of the device. 

If both the device same hardware like the other one working for you,

 

Then follow below guide to configure VLAN :

https://www.cisco.com/c/en/us/td/docs/routers/access/interfaces/eesm/software/configuration/guide/4451_config.html#pgfId-1073928

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

RTR(config)# interface vlan1

and 

RTR(config)# vlan 1

are different commands

the first configures an interface for the vlan so you can give it an ip-address

the second configures a vlan so you can give it a name, not an ip-address

try show vlan and show interface vlan [n] on both routers 

 

if a router is a real router (L3 device) , then it does not know about vlan's (L2 ) !

however it may recognize dot1q encapsulated (sub)interfaces.

you can check the modules installed with show inventory

 

 

Review Cisco Networking for a $25 gift card