05-23-2016 11:52 AM - edited 03-08-2019 05:53 AM
I have a 1711 router. I've added vlan 20. When I try to add fa1 to vlan 20, I get this:
lanaprouter(config-if)#swit
lanaprouter(config-if)#switchport access vlan 20
%Access VLAN 20 does not exist. Please add it to vlan database
Here is my configuration:
Current configuration : 1303 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname lanaprouter
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$4DhJ$hsErstXh6uzuIyyOlici50
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
ip cef
ip domain name lanap
ip ssh version 2
!
!
!
!
username scott secret 5 $1$1/16$6opNCnPnhVcejILn5VzI91
!
!
!
!
!
interface FastEthernet0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet1
switchport access vlan 20
shutdown
!
ip default-gateway 192.168.1.1
no ip http server
no ip http secure-server
However when I do sho ip int br it shows:
Interface IP-Address OK? Method Status Protocol
Async1 unassigned YES NVRAM administratively down down
FastEthernet0 192.168.1.15 YES DHCP up up
FastEthernet1 unassigned YES unset up up
FastEthernet2 unassigned YES unset administratively down down
FastEthernet3 unassigned YES unset administratively down down
FastEthernet4 unassigned YES unset administratively down down
Vlan1 unassigned YES NVRAM up down
Vlan20 192.168.2.5 YES manual up down
And if I try to assign an address to fa1 it says it may not be configured on level 2 links. Can someone please tell me what I'm doing wrong? Thanks.
05-23-2016 03:39 PM
Hello
confg t
vlan 20
exit
sh vlan brief
res
Paul
05-23-2016 03:50 PM
My router doesn't seem to do some commands right. Here's the output I get:
lanaprouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
lanaprouter(config)#vlan 20
^
% Invalid input detected at '^' marker.
lanaprouter(config)#vlan ?
accounting VLAN accounting configuration
I think this might be what you're looking for:
lanaprouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
lanaprouter(config)#int vlan 20
lanaprouter(config-if)#^Z
lanaprouter#sho int vlan 20
Vlan20 is up, line protocol is down
Hardware is EtherSVI, address is 000f.349a.31de (bia 000f.349a.31de)
Internet address is 192.168.2.5/24
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 2
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 packets output, 0 bytes, 0 underruns
0 output errors, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
I try to do sh vlan brief, but once again, commands don't seem to work the same as everyone else's, here's what I get:
lanaprouter#conf t
Enter configuration commands, one per line. End with CNTL/Z.
lanaprouter(config)#int vlan 20
lanaprouter(config-if)#exit
lanaprouter(config)#sh vlan brief
^
% Invalid input detected at '^' marker.
lanaprouter(config)#exit
lanaprouter#sho int vlan 20 brief
^
% Invalid input detected at '^' marker.
Any help is appreciated.
05-23-2016 08:45 PM
I am not sure if 1711 supports it, but If your router has "IP Pluse" image installed you maybe able to use sub-interfaces and than configure the sub-interface with dot1q and vlan 20.
interface FastEthernet1.20
encap dot1q 20
ip address x.x.x.x
HTh
05-24-2016 03:23 AM
Please try this.
1. At Priveleged Exec mode: type "vlan database".
2. You should be in VLAN configuration mode. Then type "VLAN 20". The to exit Vlan mode type exit.
3. Go ahead and type switchport access vlan 20 under interface Fa1.
05-24-2016 04:16 AM
This is indeed how to create a VLAN on a Cisco 1711 router. You need to add it to the vlan database. Good answer.
05-24-2016 12:52 PM
I get the same results.
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