Configuring a Dynamic Port Profile
Note: Port profiles are supported only on physical
Ethernet ports.
Note: Do not include ports that are
members of a LAG when specifying ports for a dynamic port profile.
- Enter global configuration mode.
- Create a port profile and assign a profile name.
- Create an LLDP device entry, including the system name and system description.
- (Optional) Set access-list name for incoming packets.
- To apply the configured port profile to the interface, disable and enable the
interface after creating the dynamic port profiles.
device(config-port-profile-profile2)# exit device(config)# interface ethernet 1/1/42 device(config-if-e1000-1/1/42)# disable device(config-if-e1000-1/1/42)# enable device(config-if-e1000-1/1/42)# exit
Note: If you are connecting the powered devices (PDs) after the port profile creation, you do not need to disable and enable the interface. If the PD is connected to the switch before creating the port profile, disable and enable the interface as shown in the examples.
The following example configures a
MAC-OUI
entry.
device(config)# port-profile profile2 device(config-port-profile-profile2)# mac-oui device(config-port-profile-profile2)# mac-oui F8:E7:1E device(config-port-profile-profile2)# exit device(config)# interface ethernet 1/1/42 device(config-if-e1000-1/1/42)# disable device(config-if-e1000-1/1/42)# enable device(config-if-e1000-1/1/42)# exit