cancel
Showing results for 
Search instead for 
Did you mean: 

ICX 7150: Not letting me create a Router-Interface

jose_quiroz_eln
New Contributor II
HELP!!!

I've been trying to create a vlan with its own dhcp server, however for some reason my switch is not letting me create a router-interface. I do have the dhcp pool ready for it, though.

below is code:
ICX7150-C12 Switch(config)#vlan 30

ICX7150-C12 Switch(config-vlan-30)#tagged e 1/1/3
Added tagged port(s) ethe 1/1/3 to port-vlan 30.

ICX7150-C12 Switch(config-vlan-30)#tagged e 1/1/4
Added tagged port(s) ethe 1/1/4 to port-vlan 30.

ICX7150-C12 Switch(config-vlan-30)#untagged e 1/1/5
Added untagged port(s) ethe 1/1/5 to port-vlan 30.

ICX7150-C12 Switch(config-vlan-30)#router-interface ve 30
Invalid input -> router-interface ve 30
Type ? for a list

ICX7150-C12 Switch(config-vlan-30)#exit

ICX7150-C12 Switch(config)#show run
Current configuration:
!
ver 08.0.70cT211
!
stack unit 1
  module 1 icx7150-c12-poe-port-management-module
  module 2 icx7150-2-copper-port-2g-module
  module 3 icx7150-2-sfp-plus-port-20g-module
!
!
!
!
vlan 1 name DEFAULT-VLAN by port
!
vlan 30 by port
 tagged ethe 1/1/3 to 1/1/4
 untagged ethe 1/1/5
!
!
!
!
!
!
!
!
!
!
!
!
!
aaa authentication web-server default local
aaa authentication login default local
dhcp-gateway-list 10 192.168.30.1
ip address 192.168.1.90 255.255.255.0
no ip dhcp-client enable
ip dhcp-server enable
!
ip dhcp-server pool testvlan30
 excluded-address 192.168.30.1
 lease 1 0 0
 network 192.168.30.0 255.255.255.0
 option  3 ip 192.168.30.1
 deploy
!
!
username telepro password .....
username user password .....
username ruckus password .....
username admin password .....
!
!
interface ethernet 1/3/1
 speed-duplex 1000-full
!
interface ethernet 1/3/2
 speed-duplex 1000-full
!
!
!
!
!
!
!
!
!
end

21 REPLIES 21

josue_jimenez_c
New Contributor III
Hi, you may be probably running switching code, you need to run routing code, the routing code may look like this: SPR08061c, "R" for routing.

alex_shalima
Contributor
Hi Jose,

1. Is your switch in Layer 3 mode? (using router image, instead of switch)

Do this:

show flash
show boot

Make sure that the image it is booting to has a letter R in it.


2. If not, do the below:

Usually, the secondary image on switches is the Router image. To make it boot to secondary permanently do this:

conf t
boot system flash secondary
write memory
reload
y


Happy routing 🙂

Cheers,
Alex



IT WORKED! Thank you!!!

It worked but now i dont have any internet in that vlan 😕
I set vlan 30 with ports 6-12.
but i have my internet connected to port 1, the default vlan.

how can i send internet to vlan 30 while still handing out IP's in the 30 subnet?