07-05-2011 01:25 PM - edited 03-07-2019 01:06 AM
I've got a 2811 running c2800nm-adventerprisek9-mz.124-22.T.bin code in my lab and I'm simply trying to create an interface vlan without any sucess. Here is the relevant output:
Router#show ver
Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 12.4(22)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 10-Oct-08 00:05 by prod_rel_team
ROM: System Bootstrap, Version 12.3(8r)T7, RELEASE SOFTWARE (fc1)
Router uptime is 1 day, 6 hours, 23 minutes
System returned to ROM by reload at 12:47:18 UTC Mon Jul 4 2011
System image file is "flash:c2800nm-adventerprisek9-mz.124-22.T.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
Cisco 2811 (revision 53.51) with 223232K/38912K bytes of memory.
Processor board ID FTX0945A4VT
2 FastEthernet interfaces
1 Serial(sync/async) interface
2 Channelized (E1 or T1)/PRI ports
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2102
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#inter
Router(config)#interface vlan146
^
% Invalid input detected at '^' marker.
The ^ above doesnt seem to line up as my router shows it. On the router it points at the "l" in vlan. Here is whats available for "interface v"
Router(config)#interface v?
Vif Virtual-Dot11Radio Virtual-PPP Virtual-Template
Virtual-TokenRing vmi
It seems I'm missing something obvious.
I've seen other 2811's with interface vlans running Advanced IP Services code, and what I can find about Advanced Enterprise is that it has all Advanced IP Services code plus other features.
Clearly, something is amiss. I'd appreciate any suggestions. It feels like a Monday.
Solved! Go to Solution.
07-05-2011 01:39 PM
This is router and not a switch. So you can not create a vlan interface. If you had a switch module installed, then you could create vlan interfaces (SVI). If you want to configure a router on a stck, then you need to create Sub-interfaces with dot.q tagging.
interface fe0/0.10
ip address
dot.1q
etc
HTH
Reza
07-05-2011 01:39 PM
This is router and not a switch. So you can not create a vlan interface. If you had a switch module installed, then you could create vlan interfaces (SVI). If you want to configure a router on a stck, then you need to create Sub-interfaces with dot.q tagging.
interface fe0/0.10
ip address
dot.1q
etc
HTH
Reza
07-05-2011 06:58 PM
On normal router interfaces you would have to configure subinterfaces to route multiple subnets across a trunk link to a switch.
07-05-2011 07:50 PM
let us take a simple network:
pc====vlan 2=======int fa 0/2===2950 switch======int fa 0/0===2811 router
2950 switch configurations would be
conf ter
inter fa 0/2
switchport mode access
switchport access vlan 2
no shut
The uplinks between 2950 and 2811 should be trunk allowing the vlan 2.
configurations on router would be
=================================
conf ter
interface fastethernet 0/0.1===============>creating sub inerface
encapsulation dot 1q 2==============> enabling encapsulation dot 1q for vlan 2
ip address 10.10.10.3 255.255.255.0 ========> this ip would be the gateway for the end devices in vlan 2
no shut
Hope this helps.
-Somu Jayaraman
07-05-2011 08:11 PM
You are using a 2811 router which doesnt allow you to create SVI 's unless you have a ESM installed with it.
And then you can go ahead and configure the sub-interfaces as explained by Somu.
Sweta
07-05-2011 08:27 PM
Thanks for the responses, everyone.
Yea, I've totally overlooked the fact that the ESW is what allows the creation of "interface vlan". Very important distinction that apparently never sunk in. Thanks for the education!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: