Cisco Systems N5KC5596TFA manual Removing an Inherited Port Profile, no inherit port-profile name

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 35
Image 35
Removing an Inherited Port Profile

Configuring Layer 2 Interfaces

Port Profiles

This example shows how to add the interface commands to a port profile named ppEth configured for Ethernet interfaces:

switch# configure terminal switch(config)# port-profile ppEth switch(config-port-prof)# switchport mode trunk

switch(config-port-prof)# switchport trunk allowed vlan 300-400 switch(config-port-prof)# flowcontrol receive on switch(config-port-prof)# speed 10000 switch(config-port-prof)#

This example shows how to inherit a port profile named ppEth configured for Ethernet interfaces into an existing port profile named test:

switch# configure terminal switch(config)# port-profile test switch(config-port-prof)# inherit port-profile ppEth switch(config-port-prof)#

This example shows how to assign a port profile named ppEth configured for Ethernet interfaces to a range of Ethernet interfaces:

switch# configure terminal switch(config)# interface ethernet 1/2-5 switch(config-if)# inherit port-profile ppEth switch(config-if)#

This example shows how to remove an inherited port profile named ppEth from an existing port profile named test:

switch# configure terminal switch(config)# port-profile test

switch(config-port-prof)# no inherit port-profile ppEth switch(config-port-prof)#

Removing an Inherited Port Profile

You can remove an inherited port profile.

Procedure

 

Command or Action

Purpose

Step 1

configure terminal

Enters configuration mode.

 

Example:

 

 

switch# configure terminal

 

 

switch(config)#

 

Step 2

port-profile name

Enters port profile configuration mode for

 

 

the specified port profile.

 

Example:

 

 

switch(config)# port-profile test

 

 

switch(config-port-prof)#

 

Step 3

no inherit port-profile name

Removes an inherited port profile from

 

 

this port profile.

Example:

switch(config-port-prof)# no inherit port-profile adam switch(config-port-prof)#

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

78-26881-OL

23

Page 35
Image 35
Cisco Systems N5KC5596TFA Removing an Inherited Port Profile, no inherit port-profile name, Procedure, configure terminal