cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2156
Views
0
Helpful
2
Replies

Show configured VLANs on specific Service Profile

Martin Nilsson
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

padramas
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

padramas
Cisco Employee
Cisco Employee

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

Thanks alot! Works as a charm!

Regards,

Martin

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card