06-14-2012 06:59 AM - edited 03-04-2019 04:40 PM
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???
Solved! Go to Solution.
06-14-2012 07:23 AM
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.
06-14-2012 07:23 AM
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.
06-14-2012 07:34 AM
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?
06-14-2012 07:47 AM
Great! This feature default state is Disabled:
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.
06-14-2012 07:24 AM
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
Riccardo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide