cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5531
Views
20
Helpful
9
Replies

unable to create int vlan xxx

rkbcontrol
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

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...


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

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

 

View solution in original post

9 Replies 9

Leo Laohoo
Hall of Fame
Hall of Fame

Routers do not understand "interface vlans".  

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

 

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

 

#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)

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

 

Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S4b, RELEASE SOFTWARE (fc1)

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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...


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: