Port profile is a mechanism used in NEXUS family of switches for simplifying the configuration of interfaces. We can assign a port profile to multiple interfaces and provide them all the same configuration. Changes to the port profile are propagated to the configuration of all interfaces assigned to it.
There are three types of port-profiles: Ethernet, Interface-VLAN (SVI) and Port-Channel. One can configure Ethernet or vEthernet port profiles to which Ethernet or vEthernet interfaces can be assigned.
There are three types of port-profiles: Ethernet, Interface-VLAN (SVI) and Port-Channel
There are below types of Port-profiles:-
- Ethernet: – It is used when port-profile applied on the physical interfaces.
- Port-channel:- Used in case of port-channel
- Interface-vlan: – When port-profile is applied on the SVI.
Port Profile States
A port profile can be in one of two states: enabled or disabled. When enabled, a port profile is applied to assigned ports
Port Profile Characteristics
You can configure a port profile to have the following characteristics –
- VMware settings
- Port channels
- Static pinning
- Switchport mode
- DHCP snooping
- IP source guard
- ARP inspection
- Port security
- MAC or IP ACLs
Port profle is somewhat related to “Range” command since it configures any range of ports where a “Port Profile” configures ALL ports which inherit it. Any new configuration added to the profile is included to the inheriting ports as well.
Below sample scenario configuration will help understand port profile in a better way –
Now that we have configured the port profile, next step is to assign configuration to group of ports –
Next step is to verify the port configuration and which interfaces the same has been applied to –
Below is another way to validate port profile configuration –