port-group:
max ports: -
inherit:
config attributes:
switchport mode access
switchport access vlan 1
switchport trunk native vlan 1
no shutdown
evaluated config attributes:
switchport mode access
switchport access vlan 1
switchport trunk native vlan 1
no shutdown
assigned interfaces:
switch(config-port-prof)# copy running-config startup-config
Migrating a Channel Group to a Port Profile
You can migrate a channel group to a port profile.
Before You Begin
Log in to the CLI in EXEC mode.
Procedure
Step 1
Place the host in maintenance mode.
Step 2
Do one of the following:
•
If distributed resource scheduling (DRS) is enabled, make sure to wait until the virtual machines are
migrated to other host(s).
•
Otherwise, manually migrate the virtual machines.
Step 3
When all the virtual machines are successfully migrated, from the Cisco Nexus 1000V CLI, create a new
Ethernet type port profile for the uplink ports on this host.
•
Enter one of the following commands:
◦
channel-group auto mode active | passive
◦
channel-group auto mode on mac-pinning
•
Perform a CLI override on the existing port channels.
Step 4
Remove the port channel configuration from the uplink switches.
The new port channel has a new port channel
ID.
Note
Step 5
When all the port(s) are moved from the old port profile, use the following command from the Cisco Nexus
1000V CLI to delete the port channels with zero members:no interface port-channel id
Step 6
Bring the host out of maintenance mode.
Step 7
To save the running configuration persistently through reboots and restarts by copying it to the startup
configuration, enter the following command:
copy running-config startup-config
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
69
Configuring Port Channels
Migrating a Channel Group to a Port Profile