08-20-2014 11:06 AM - edited 03-07-2019 08:27 PM
Hello
I am new to networking. We have a Cisco 3800 series router with 64 ports. We have connected servers and PC's directly to the back of the router. Almost all of the ports are used with the exception of few. We would like to create a VLAN for the remaining few ports. I am able to telnet to the router or connect directly using hyper terminal.
I have been told that we cannot create VLAN's directly on the router. For that purpose we need to first get a switch and connect the switch to the router, then create VLAN’s using the switch. Can someone please provide some tips? Any suggestions would be nice…Thanks
08-20-2014 11:19 AM
Hi ,
Below link should support your requirement
create VLANs Router1#vlan database Router1(vlan)#vlan 10 VLAN 10 added: Name: VLAN0010 Router1(vlan)#vlan 51 VLAN 51 added: Name: VLAN0051 Router1(vlan)#vlan 50 VLAN 50 added: Name: VLAN0050 Router1(vlan)#vlan 100 VLAN 100 added: Name: VLAN0100 Router1(vlan)#vlan 200 VLAN 200 added: Name: VLAN0200 Router1(vlan)#exit APPLY completed. Exiting.... Router1#
Port for Server Configuration Router1(config)#interface fastEthernet 1/2 Router1(config-if)#switchport mode access Router1(config-if)#switchport access vlan 10 Router1(config-if)#spanning-tree portfast Router1(config-if)#speed 100 Router1(config-if)#duplex full Router1(config-if)#exit
HTH
Sandy
08-21-2014 09:33 AM
Thanks for the answer. Going forward when I issued the command #show vlan-switch. I saw VLAN 1 as default and active. I did not see any ports assigned to VLAN 1. I was expecting to see all the 64 ports (e.g fa0/1...etc) showing up on VLAN 1, but I do not see any ports listed. Maybe no ports are defined in the VLAN 1? As before all the devices PC, servers, Printers..etc are directly connected to the back of this CISCO 3800 series router. They are able to communicate with each other. Also they are all on one subnet 10.16.3.x.
If I make a new VLAN e.g test VLAN and only assign two ports to this new VLAN. Do I have to assign a new static IP addresses to these new ports. Can they the new VLAN ports use the IP addresses from already defined subnet 10.16.3.X....Thanks
08-21-2014 10:40 AM
Hi ,
Can i have your device config
1) Show running-config
2) show vlan-switch
Do you want to create vlan or you want to assign ports from existing vlan .
HTH
Sandy
08-21-2014 01:14 PM
Appreciate you getting back. Here is the "show vlan-switch" output
----------------------->
#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
---------------------->
As before I do not see any VLAN's set up. How come all the ports are not showing up on default VLAN 1. Maybe I can create a new VLAN and assign 2 or 3 ports to it. Please advise...Thanks
08-21-2014 07:23 PM
Hi ,
Can i have show version & Show run of your router ??
HTH
Sandy
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide