Solved

CISCO Code for 2821

Posted on 2009-07-09
3
649 Views
Last Modified: 2012-05-07
I am trying to configure my router (CISCO 2821) with a couple of VLANs

I have enabled the VLANs (844 and 845) (it wouldn't let me create anything over (1000) ISP wanted us to use 3795 and 3529..Anyhow avoided issue by getting lower numbered VLAns.

So, I create the VLANS and then go to int gig0/0 and switchport and switchport trunk mode however, it will not take any of the commands. I have been advised I need to get the CODE from CISCO that allows layer 2 as well as layer 3 functionality? is this so? And what do I order?

Here is a look at what I am getting from the commands;
VLAN ISL Id: 844
    Name: CDS_internet-CCT_ID_02813BI28001
    Media Type: Ethernet
    VLAN 802.10 Id: 100844
    State: Operational
    MTU: 1500

  VLAN ISL Id: 845
    Name: CDS_MLS-CCT_ID_13560-E1G2260
    Media Type: Ethernet
    VLAN 802.10 Id: 100845
    State: Operational
    MTU: 1500

 

now I got to config t and then Int gig0/0 for the switchport command...See results

corerouter02(config-if)#switchport
                                        ^
% Invalid input detected at '^' marker.
and then back out one layer
 

corerouter02(config)#switchport
                                      ^
% Invalid input detected at '^' marker.

Router version is attached...

Thanks a bunch

Brent
2821version.TXT
0
Comment
Question by:Brent_Austin
3 Comments
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 24816163
0
 

Accepted Solution

by:
wirespeedconsulting earned 125 total points
ID: 24816577
You will need to either buy a switchport module or configure dot1q encapsulation on your interface for a "router on a stick" config.    Your C2821 is a router and doesn't have switchports like a Catalyst.

i.e.
Cisco 2800

interface fastethernet 0/0
no ip address

interface fastethernet 0/0.1
encapsulation dot1q 1 native

interface fastethernet 0/0.100
desc vlan 100
encapsulation dot1q 100
ip address 192.168.100.1 255.255.255.0

interface fastethernet 0/0.200
desc vlan 200
encapsulation dot1q 200
ip address 192.168.200.1 255.255.255.0

on your switch:

interface fastethernet 1/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
0
 

Author Closing Comment

by:Brent_Austin
ID: 31601730
Yes, you are correct. I figured this out late last night. I will put a switch infront of the router and do my layer 2 functionality and the router can handle the layer 3 side...

Thanks,

Brent
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco iWAN 8 89
Regarding command “deactivate snmp traceoptions” in Juniper 3 45
How to set DHCPv6 options on a Sonicwall? 13 144
BGP Code 12 47
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question