Cisco Systems N5KC5596TFA Inheriting a Port Profile, inherit port-profile name, Procedure

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 34
Image 34
Inheriting a Port Profile

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)# 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.

Procedure

 

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)# inherit port-profile adam switch(config-port-prof)#

port-profile name 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-port-prof)# exit

 

 

switch(config)#

 

Step 5

show port-profile

(Optional)

 

 

Displays the port profile configuration.

 

Example:

 

 

switch(config)# show port-profile name

 

Step 6

copy running-config startup-config

Example:

switch(config)# copy running-config startup-config

(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)# port-profile test switch(config-ppm)# inherit port-profile adam switch(config-ppm)#

 

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

22

78-26881-OL

Page 34
Image 34
Cisco Systems N5KC5596TFA Inheriting a Port Profile, inherit port-profile name, Procedure, configure terminal, exit