08-03-2021 04:26 AM - edited 08-03-2021 05:10 AM
I am unable to create int vlan xxx on ISR 4331 router, its not recognizing the cmd: int vlan ?
R1(config)#int vlan ?
% Unrecognized command
Vlan1 unassigned YES unset administratively down down
kindly advice
Solved! Go to Solution.
08-03-2021 06:53 AM
Hello
FYI -
interface x/x
description vlan 1
ip address x.x.x.x y.y.y.y
interface x/x.10
description vlan 10
encapsulation dot1Q 10
ip address x.x.x.x y.y.y.y
interface x/x.20
description vlan 20
encapsulation dot1Q 20
ip address x.x.x.x y.y.y.y
etc...
08-04-2021 06:52 AM
Hello @rkbcontrol ,
you have not any etherswitch module so you need to use VLAN based subinterfaces connecting to a switch port configured as a L2 trunk.
The router configuration has been provided by @paul driver
Your GE ports are router interfaces that can support subinterfaces . You cannot define interface of type VLAN .
int gi0/0.222
enc dot1q 222
ip address x.x.x.x 255.255.255.0
Hope to help
Giuseppe
08-03-2021 05:22 AM
Routers do not understand "interface vlans".
08-03-2021 05:25 AM
r1#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
222 test active
layer 2 vlan is active now how do I manage layer 3
08-03-2021 06:03 AM - edited 08-03-2021 06:05 AM
Hello @rkbcontrol ,
as noted by @Leo Laohoo routers do not use SVI interface VLANs unless you have installed an etherswitch module
can you post a show version to see if you have such a module ?
show inventory
Please note that show vlans works on a router that has subinterfaces on a routed port too.
on the other hand some of these modules are actually stand alone switches and you need to connect to them in some way to create the interface Vlan inside the etherswitch module.
Hope to help
Giuseppe
08-04-2021 05:58 AM
#sh inventory
NAME: "Chassis", DESCR: "Cisco ISR4331 Chassis"
NAME: "Power Supply Module 0", DESCR: "250W AC Power Supply for Cisco ISR 4330"
NAME: "Fan Tray", DESCR: "Cisco ISR4330 Fan Assembly"
NAME: "module 0", DESCR: "Cisco ISR4331 Built-In NIM controller"
NAME: "NIM subslot 0/1", DESCR: "NIM-1MFT-T1/E1 - T1/E1 Serial Module"
NAME: "subslot 0/1 db module 0", DESCR: "PVDM4-32 Voice DSP Module"
NAME: "NIM subslot 0/2", DESCR: "NIM-4FXS Voice Analog Module"
NAME: "PVDM subslot 0/4", DESCR: "PVDM4-32 Voice DSP Module"
NAME: "NIM subslot 0/0", DESCR: "Front Panel 3 ports Gigabitethernet Module"
NAME: "module 1", DESCR: "Cisco ISR4331 Built-In SM controller"
NAME: "module R0", DESCR: "Cisco ISR4331 Route Processor"
NAME: "module F0", DESCR: "Cisco ISR4331 Forwarding Processor"
Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S4b, RELEASE SOFTWARE (fc1)
08-04-2021 06:52 AM
Hello @rkbcontrol ,
you have not any etherswitch module so you need to use VLAN based subinterfaces connecting to a switch port configured as a L2 trunk.
The router configuration has been provided by @paul driver
Your GE ports are router interfaces that can support subinterfaces . You cannot define interface of type VLAN .
int gi0/0.222
enc dot1q 222
ip address x.x.x.x 255.255.255.0
Hope to help
Giuseppe
08-03-2021 06:07 AM
Not sure what is the version of code running, Do you have switch module installed ?
here is config guide :
08-04-2021 05:58 AM
Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S4b, RELEASE SOFTWARE (fc1)
08-04-2021 06:08 AM
You do not have any Layer2 switch modules for the VLAN to work, so you have option only Dot1.q sub interface was the option.
08-03-2021 06:53 AM
Hello
FYI -
interface x/x
description vlan 1
ip address x.x.x.x y.y.y.y
interface x/x.10
description vlan 10
encapsulation dot1Q 10
ip address x.x.x.x y.y.y.y
interface x/x.20
description vlan 20
encapsulation dot1Q 20
ip address x.x.x.x y.y.y.y
etc...
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