Inheriting A Port Profile - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Ethernet Interfaces
This example shows how to enter port profile configuration mode and enable the port profile:
switch# configure terminal
switch(config)# port-profile type ethernet test
switch(config-port-prof)# state enabled
switch(config-port-prof)#

Inheriting a Port Profile

You can inherit a port profile onto an existing port profile. The switch supports four levels of inheritance.
SUMMARY STEPS
1. configure terminal
2. port-profile name
3. inherit port-profile name
4. exit
5. (Optional) show port-profile
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
port-profile name
Example:
switch(config)# port-profile test
switch(config-port-prof)#
Step 3
inherit port-profile name
Example:
switch(config-port-prof)#
adam
switch(config-port-prof)#
Step 4
exit
Example:
switch(config-port-prof)# exit
switch(config)#
Step 5
show port-profile
Example:
switch(config)# show port-profile name
OL-25842-01
inherit port-profile
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
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.
Exits the port profile configuration mode.
(Optional)
Displays the port profile configuration.
Port Profiles
27

Advertisement

Table of Contents
loading

Table of Contents