Guidelines And Limitations For Port Profiles - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

About Port Profiles
You can have one port profile inherit the settings from another port profile. Inheriting another port profile
allows the initial port profile to assume all of the commands of the second, inherited, port profile that do not
conflict with the initial port profile. Four levels of inheritance are supported. The same port profile can be
inherited by any number of port profiles.
To apply the port profile configurations to the interfaces, you must enable the specific port profile. You can
configure and inherit a port profile onto a range of interfaces prior to enabling the port profile; you then enable
that port profile for the configurations to take effect on the specified interfaces.
When you remove a port profile from a range of interfaces, the switch undoes the configuration from the
interfaces first and then removes the port profile link itself. When you remove a port profile, the switch checks
the interface configuration and either skips the port profile commands that have been overridden by directly
entered interface commands or returns the command to the default value.
If you want to delete a port profile that has been inherited by other port profiles, you must remove the inheritance
before you can delete the port profile.
You can choose a subset of interfaces from which to remove a port profile from among that group of interfaces
that you originally applied the profile. For example, if you configured a port profile and configured ten
interfaces to inherit that port profile, you can remove the port profile from just some of the specified ten
interfaces. The port profile continues to operate on the remaining interfaces to which it is applied.
If you delete a specific configuration for a specified range of interfaces using the interface configuration mode,
that configuration is also deleted from the port profile for that range of interfaces only. For example, if you
have a channel group inside a port profile and you are in the interface configuration mode and you delete that
port channel, the specified port channel is also deleted from the port profile as well.
After you inherit a port profile on an interface or range of interfaces and you delete a specific configuration
value, that port profile configuration will not operate on the specified interfaces.
If you attempt to apply a port profile to the wrong type of interface, the switch returns an error.
When you attempt to enable, inherit, or modify a port profile, the switch creates a checkpoint. If the port
profile configuration fails, the switch rolls back to the prior configuration and returns an error. A port profile
is never only partially applied.

Guidelines and Limitations for Port Profiles

Port profiles have the following configuration guidelines and limitations:
• Each port profile must have a unique name across interface types and the network.
• Commands that you enter under the interface mode take precedence over the port profile's commands
if there is a conflict. However, the port profile retains that command in the port profile.
• The port profile's commands take precedence over the default commands on the interface, unless the
default command explicitly overrides the port profile command.
• After you inherit a port profile onto an interface or range of interfaces, you can override individual
configuration values by entering the new value at the interface configuration level. If you remove the
individual configuration values at the interface configuration level, the interface uses the values in the
port profile again.
• There are no default configurations associated with a port profile.
• A subset of commands are available under the port profile configuration mode, depending on which
interface type that you specify.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
12
Configuring Ethernet Interfaces
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents