Did you issue the “no shutdown” command on the interface while in config mode?
**********
As I can see, you’ve included the no shutdown command on both devices (router and switch) so your problem is only on protocols. Try this steps:
On your router, just issue the “no shutdown” command. Also Check if your subinterfaces are correctly configured.
Example configuration: Router
Router(config)#int fa0/1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int fa0/1.X >>X is the VLAN ID configured on your switch
Router(config-subif)#encapsulation dot1Q X >>X is the VLAN ID configured on your switch
Router(config-subif)#ip address 192.168.X,X 255.255.X.X >>gateway for your VLAN
Router(config-subif)#exit
Router(config)#int fa0/1.XX >>another vlan
Router(config-subif)#encapsulation dot1Q XX >>another vlan
Router(config-subif)#ip address 192.168.X,X 255.255.X.X >>gateway for your other VLAN
Router(config-subif)#exit
Troubleshooting your switch:
*Check if the port connected to the router is configured as a trunk
*Check wether the configured vlan is in your vlan table
——————————-
In order to get a “VLAN interface” you just need 2 things:
1) enter the interface config mode and hit “no shut”
2) ensure there is an active port in that VLAN on your device
Discuss This Question: 1  Reply