The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS interface commands that begin with P.
To enable the virtual port channel (vPC) switch pair to appear as a single Spanning Tree Protocol (STP) root in the Layer 2 topology, use the peer-switch command. To disable the peer switch vPC topology, use the no form of this command.
|
|
---|---|
This example shows how to enable the vPC switch pair to appear as a single STP root in the Layer 2 topology:
|
|
---|---|
To configure a unified port on a Cisco Nexus 5548UP switch or Cisco Nexus 5596UP switch, use the port command. To remove the unified port, use the no form of this command.
port port-number type { ethernet | fc }
no port port-number type { ethernet | fc }
Specifies the type of port to configure on a slot in a chassis. |
|
|
|
---|---|
Unified ports allow you to configure ports as Ethernet, native Fibre Channel or Fibre Channel over Ethernet (FCoE) ports. By default, the ports are Ethernet ports but you can change the port mode to Fibre Channel on the following unified ports:
You must configure Ethernet ports and FC ports in a specified order:
If the order is not followed, the following errors are displayed:
On a Cisco Nexus 5548UP switch, the 32 ports of the main slot (slot1) are unified ports. The Ethernet ports start from port 1/1 to port 1/32. The FC ports start from port 1/32 backwards to port 1/1.
This example shows how to configure a unified port on a Cisco Nexus 5548UP switch or Cisco Nexus 5596UP switch:
This example shows how to configure a unified port on a Cisco N55-M16UP expansion module:
This example shows how to configure 20 ports as Ethernet ports and 12 as FC ports:
|
|
---|---|
Enables preprovisioning of features or interfaces of a module on a slot in a chassis. |
|
Reloads the switch and all attached Fabric Extender chassis or a specific Fabric Extender. |
To configure the load-balancing method among the interfaces in the channel-group bundle, use the port-channel load-balance ethernet command. To return the system priority to the default value, use the no form of this command.
port-channel load-balance ethernet method
no port-channel load-balance ethernet [ method ]
Load-balancing method. See the “Usage Guidelines” section for a list of valid values. |
Loads distribution on the source and destination MAC address.
The default hash polynomial is CRC8a.
|
|
---|---|
The valid load-balancing method values are as follows:
Use the option that provides the balance criteria with the greatest variety in your configuration. For example, if the traffic on an EtherChannel is going only to a single MAC address and you use the destination MAC address as the basis of EtherChannel load balancing, the EtherChannel always chooses the same link in that EtherChannel; using source addresses or IP addresses might result in better load balancing.
This example shows how to set the load-balancing method to use the source IP:
switch(config)#
port-channel load-balance ethernet source-ip
|
|
---|---|