Send document comments to nexus7k-docfeedback@cisco.com
2-47
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 2 Configuring Basic Interface Parameters
Configuring the Basic Interface Parameters
SUMMARY STEPS
1. configure terminal
2. port-profile [type {ethernet | interface-vlan | loopback | port channel | tunnel}] name
3. state enabled
4. exit
5. show port-profile
6. copy running-config startup-config
DETAILED STEPS
This example shows how to enter the port-profile configuration mode and enable the port profile:
switch# configure terminal
switch(config)# port-profile type tunnel test
switch(config-ppm)# state enabled
switch(config-ppm)#
Inheriting a Port Profile
You can inherit a port profile onto an existing port profile. The system supports four levels of inheritance.
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
port-profile [type {ethernet | interface-vlan |
loopback | port channel | tunnel}] name
Example:
switch(config)# port-profile type tunnel test
switch(config-ppm)# no shutdown
switch(config-ppm)#
Enters the port-profile configuration mode
for the specified port profile.
Step 3
state enabled
Example:
switch(config-ppm)# state enabled
switch(config)#
Enables that port profile.
Step 4
exit
Example:
switch(config-ppm)# exit
switch(config)#
Exits the port-profile configuration mode.
Step 5
show port-profile
Example:
switch(config)# show port-profile
(Optional) Displays the port-profile
configuration.
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
(Optional) Copies the running
configuration to the startup configuration.