Configuring Layer 2 Interfaces
Port Profiles
This example shows how to enter port profile configuration mode and enable the port profile:
switch# configure terminal
switch(config)#
Inheriting a Port Profile
You can inherit a port profile onto an existing port profile. The switch supports four levels of inheritance.
Procedure
| Command or Action |
Step 1 | configure terminal |
Example:
switch# configure terminal switch(config)#
Step 2 |
|
Example:
switch(config)#
Step 3 | inherit |
Example:
Purpose
Enters configuration mode.
Enters port profile configuration mode for the specified port profile.
Inherits another port profile onto the existing one. The original port profile assumes all the configurations of the inherited port profile.
Step 4 | exit | Exits the port profile configuration mode. |
| Example: |
|
|
| |
| switch(config)# |
|
Step 5 | show | (Optional) |
|
| Displays the port profile configuration. |
| Example: |
|
| switch(config)# show |
|
Step 6 | copy |
Example:
switch(config)# copy
(Optional)
Copies the running configuration to the startup configuration.
This example shows how to inherit the port profile named adam onto the port profile named test:
switch# configure terminal switch(config)#
| Cisco Nexus 5000 Series |
22 |