cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1115
Views
5
Helpful
4
Replies

Nexus 1000V - Why is private vlan config options missing???

martinezaw
Level 1
Level 1

Hi All,

I just installed a N1K (with code 4.2(1)SV1(4a)) and I was trying to setup a private vlan.

Example:

vlan 300

  name PRI-VLAN

  private-vlan primary

  private-vlan association 31

vlan 301

  name ASSOC-VLAN

  private-vlan isolated

The option for "private-vlan" does not even show up under the vlan config

N1K(config)# vlan 300

N1K(config-vlan)# ?

  ip              Configure IP features

  name            Ascii name of the VLAN

  no              Negate a command or set its defaults

  service-policy  Configure service policy for an interface

  shutdown        Shutdown VLAN switching

  state           Operational state of the VLAN

  end             Go to exec mode

  exit            Exit from command interpreter

  pop             Pop mode from stack or restore from name

  push            Push current mode to stack or save it under name

  where           Shows the cli context you are in

I upgraded another n1k (that already had pvlan configured) to this version of code and it has the private vlan option. This was just installed yesterday so I don't have the license on it yet.

Anyone have any ideas???

1 Accepted Solution

Accepted Solutions

Ivan Shirshin
Cisco Employee
Cisco Employee

Hi,

Did you globally enable private-vlan feature?

     conf t

          feature private-vlan

          end

     show feature

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards,
Ivan

View solution in original post

4 Replies 4

Ivan Shirshin
Cisco Employee
Cisco Employee

Hi,

Did you globally enable private-vlan feature?

     conf t

          feature private-vlan

          end

     show feature

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards,
Ivan

Thanks! That worked. I notice that the n1k I upgraded previously to 4.2 does not have "feature private-vlan" in the config though it has private vlan config options.

So does this feature have to be explicitly enabled for new installs only?

Great! This feature default state is Disabled:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4/layer_2_switching/configuration/guide/n1000v_l2_4pvlan.html#wp1055679

I think it was already enabled on that other switch befoer the upgrade.

Kind Regards,
Ivan

**Please grade this post if you find it useful.

Kind Regards,
Ivan

rsimoni
Cisco Employee
Cisco Employee

Hi Martin(e),

2 possible reasons:

1) The private_vlan feature is not enabled.

nexus# sh feature

Feature Name          Instance  State  

--------------------  --------  --------

fcsp                  1         disabled

tacacs                1         enabled

private-vlan          1         disabled       <<<<<

udld                  1         enabled

if this is the case you need to enable it

nexus(config)# feature private_vlan

2) The private_vlan feature is not available as you don't have a valid license (or the grace period has expired)

If you type "show license usage" on both n1k you most likely see a license difference between the 2.

If tbis is the case you need to install and enable a valid license.

for more see

http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0/license/configuration/guide/license_2install_cfg.html#wpxref56739

Riccardo

Review Cisco Networking products for a $25 gift card