[c-nsp] switchport trunk allowed vlan

Arie Vayner (avayner) avayner at cisco.com
Mon Nov 1 17:22:56 EDT 2010


Tim,

Yes, in order to create the new command you had in mind, we need some
string parsing capabilities we do not have in SXI...
Let's wait a bit, and try again...

Arie

-----Original Message-----
From: Tim Durack [mailto:tdurack at gmail.com] 
Sent: Monday, November 01, 2010 16:23
To: Arie Vayner (avayner)
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] switchport trunk allowed vlan

On Mon, Nov 1, 2010 at 9:24 AM, Arie Vayner (avayner)
<avayner at cisco.com> wrote:

> BTW, In SXI we have enough EEM support to block the command.

Nice - I'll give this a spin.

> In later EEM versions we can do really cool stuff, like adding new
commands, string parsing etc, but unfortunately, its not in SXI yet...

Gotcha. I think I'm going to need this functionality for what I have in
mind:

Administratively disable: "switchport trunk allowed vlan <range>" and
create a replacement command: "switchport trunk allowed vlan range
<range>"

Does that sound about right?

-- 
Tim:>



More information about the cisco-nsp mailing list