Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

Show configured VLANs on specific Service Profile

Hello,

I've been trying to figure out how I can check what VLANs I have assigned to each service profile through CLI. I have no trouble viewing this through the GUI but there's just so many clicks to verify each server (10) with its NICS (2).

Anyone know how this is achieved?

And yes, I have configured vNIC Policys with VLANs mapped to them for the last couple of blades but I haven't had the chance to change this settings on my first 10 profiles =).

Running 2.0(1t)

Thanks!

//Martin

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Show configured VLANs on specific Service Profile

Martin,

Hope this one helps you out

show configuration | egrep -i 'enter vnic|service-pr|eth-if'

This shows VLANs explicitly configured for each vNIC under a service  profile. I have not tested with service profile with vNIC policies.

Alternatively, if you are intersted in service profiles under an organization

scope org /

show configuration | egrep -i 'enter vnic|service-pr|eth-if'

HTH

Padma

2 REPLIES
Cisco Employee

Show configured VLANs on specific Service Profile

Martin,

Hope this one helps you out

show configuration | egrep -i 'enter vnic|service-pr|eth-if'

This shows VLANs explicitly configured for each vNIC under a service  profile. I have not tested with service profile with vNIC policies.

Alternatively, if you are intersted in service profiles under an organization

scope org /

show configuration | egrep -i 'enter vnic|service-pr|eth-if'

HTH

Padma

New Member

Show configured VLANs on specific Service Profile

Thanks alot! Works as a charm!

Regards,

Martin

566
Views
0
Helpful
2
Replies
CreatePlease to create content