RATE THIS ANSWER
0
Click to Vote:
0
0
Firstly, one of the configs you have posted is for a switch
interface FastEthernet0/23
switchport access vlan 10
switchport mode trunk
spanning-tree portfast You should NEVER put portfast on a link to another switch, this command turns off spanning-tree, and you don't want to do that on a connection to another network device, that is a sure fire way to get loops in the network.
Also you don't want the
switchport access vlan10 command on there. Leave the deafult VLAN to be VLAN1. On the ports where you have the devices in that VLAN then use the
switchport access vlan x command to put that interface into the vlan.
The other device is not a switch, but a router. If it IS a switch then this is totally the wrong config, but I am fairly sure from that config, that this is a router. you can confirm this by using the
show version command. It will tell you the hardware and software versions.
On the router you have the following
interface FastEthernet0/0.10
description VLAN 10 DeviceManagment
encapsulation dot1Q 10
ip address 192.168.100.1 255.255.255.0
ip policy route-map PowerPath
!
interface FastEthernet0/0.9
description EMAR Vlan 35.x
encapsulation dot1Q 9
ip address 192.168.35.1 255.255.255.0
ip policy route-map PowerPath First remove the policy commands, because these are probably effecting the routing (you can put them back later if needed).
The interface FastEthernet0/0.9, if you want it to be the router for VLAN 35 should have the command
encapsulation dot1Q 35 as the number specifies the VLAN ID in the encapsulation (it is convention to number the sub-interface with the same number, so you may want to remove
interface FastEthernet0/0.9 and create
interface FastEthernet0/0.35 for this).
So you need to do the following commands in config mode
interface FastEthernet0/0.10
no ip policy route-map PowerPath
!
no interface FastEthernet0/0.9
!
interface FastEthernet0/0.35
description EMAR Vlan 35.x
encapsulation dot1Q 35
ip address 192.168.35.1 255.255.255.0
end Now you have created the vlans on the router correctly, you also need to create them on the switch, as there is no VTP with a router, these are not created automatically.
On the switch do the following commands in config mode
vlan 10
name DeviceManagment
sta active
!
vlan 35
name EMAR
sta active
!
interface FastEthernet0/23
no switchport access vlan 10
no spanning-tree portfast
!
end On interfaces you want in VLAN 10 do the command
[Bswitchport access vlan 10
and on interfaces you want in VLAN 35 do the command
[Bswitchport access vlan 35
Then you should find it all works correctly.
Last Answered:
Aug 24 2009 8:33 PM GMT by BlankReg 
11280 pts.
Latest Contributors: ITKE
10345 pts.