Configuring Layer 2 Interfaces
Port Profiles
| Command or Action | Purpose |
Step 4 | exit | Exits 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 assign the port profile named adam to Ethernet interfaces 2/3 to 2/5, 3/2, and 1/20 to 1/25:
switch# configure terminal
switch(config)# interface ethernet 2/3 to 2/5, 3/2, and 1/20 to 1/25
Removing a Port Profile from a Range of Interfaces
You can remove a port profile from some or all of the interfaces to which you have applied the profile.
Procedure
| Command or Action | Purpose |
Step 1 | configure terminal | Enters configuration mode. |
| Example: |
|
| switch# configure terminal |
|
| switch(config)# |
|
Step 2 | interface [ethernet slot/port | Selects the range of interfaces. |
Example:
switch(config)# interface ethernet
Step 3 | no inherit | Removes the specified port profile from |
|
| the selected interfaces. |
Example:
Cisco Nexus 5000 Series
25 |