Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

CISCO Code for 2821

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
Brent_Austin
Asked:
Brent_Austin
1 Solution
 
Istvan KalmarCommented:
0
 
wirespeedconsultingCommented:
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
 
Brent_AustinAuthor Commented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now