cancel
Showing results for 
Search instead for 
Did you mean: 

protocol based vlans

protocol based vlans

EtherNation_Use
Contributor II
Create Date: Apr 5 2012 5:57AM

Hello,

I want to change our vlans to protocol based vlans ipv4 (etype 0x0800, 0x0806). Till now we match all unfiltered protocols. At first i tried to list all configured vlans on the switch. This is my way to get the output of all configured Vlans.

set var CLI.OUT " "
show vlan
set var list1 $TCL(list ${CLI.OUT})
show var list1

In the 2nd step I want to bind every listed vlan to the protocol ipv4 (conf vlan protocol ip). But how can I do that? Do you have an idea, how can I make this by scripting?

Thanks for your help.

M (from matthias_mager)
7 REPLIES 7

EtherNation_Use
Contributor II
Create Date: Apr 12 2012 6:24AM

Adding it to protocol IP or creating a new protocol with IP and ELRP/EDP should work fine. Check the snap type though I thought it was 0xaa which should cover EDP and ELRP.

Thanks
P (from Paul_Russo)

EtherNation_Use
Contributor II
Create Date: Apr 12 2012 2:21AM

Hi Prusso,

thanks for your tip. I don´t use STP, but ELRP. -->

configure protocol IP add snap 0x00bb

Is that ok?

M

(from matthias_mager)

EtherNation_Use
Contributor II
Create Date: Apr 10 2012 10:30AM

ELRP is a very useful tool and be aware that you won't be able to use it...I would rather create an ACL to block the ethertype than creating an ipv4 VLAN

(from Arpit_Bhatt)

EtherNation_Use
Contributor II
Create Date: Apr 10 2012 8:02AM

Hey Matthias

On a side not just remember that when you set the protocol as IP any other protocol is denied including ELRP or STP as those are not IP packets.

Just remember this if you are doing loop recovery.

P (from Paul_Russo)
GTM-P2G8KFN