cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7322
Views
9
Helpful
11
Replies

Nexus 1000v remove unused Uplink port-profile

Mate Grbavac
Level 1
Level 1

Hi,

while first time setting up Nexus 1000v i created some uplink port-profiles. Now, I created new, production, uplink port-profiles and move my vmnics to that new port-profile but can't delete old port-profile because there is still port-channel interface under it.

I tried everything regarding documentation, but I simply can't remove Po2 from Test-SystemUplik port-profile.

Can somebody, please, help me?

port-profile Test-SystemUplink
port-channel2

port-profile Prod-SystemUplink
port-channel3
Ethernet3/1
Ethernet3/2
Ethernet3/3


Nexus1000V-VSM-1# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Nexus1000V-VSM-1(config)# port-profile Test-SystemUplink
Nexus1000V-VSM-1(config-port-prof)# no system vlan
This will remove all system vlans from this port profile. Do you really want to proceed(yes/no)? [yes]
ERROR: Cannot remove system vlans, port-profile currently in use by interface Po2


Nexus1000V-VSM-1(config-port-prof)# int po 2
Nexus1000V-VSM-1(config-if)# shut
ERROR: Cannot set port admin status to 'shutdown' for interface inheriting a system port-profile
Nexus1000V-VSM-1(config-if)# no inherit port-profile Test-SystemUplink
ERROR: Port-profile de-inherit not allowd an intf in attached state
Nexus1000V-VSM-1(config-if)#

 

Best regards,

Mate

11 Replies 11

Robert Burns
Cisco Employee
Cisco Employee

G'day Mate

Do a "show port-profile usage", and verify that the "old" port profile is not being used.

If nothing is using it, you should be able to simply delete it with "no port-profile xxxxxx". 

Once that's removed then delete your Port Channel "no int port-channel x".

Let me know if that works, if not reboot your VSM and try again.

Regards,

Robert