Send document comments to nexus7k-docfeedback@cisco.com
2-45
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
DETAILED STEPS
This example shows how to enter the port-profile configuration mode for the specified port profile and
bring all the interfaces administratively up:
switch# configure terminal
switch(config)# port-profile type tunnel test
switch(config-ppm)# no shutdown
switch(config-ppm)#
Assigning a Port Profile to a Range of Interfaces
You can assign a port profile to an interface or to a range of interfaces. All the interfaces must be the
same type.
SUMMARY STEPS
1. configure terminal
2. interface [ethernet slot/port | interface-vlan vlan-id | loopback number | port-channel number |
tunnel number]
3. inherit port-profile name
4. exit
5. show port-profile
6. copy running-config startup-config
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 and allows
you to add or remove configurations to the
profile.
Step 3
exit
Example:
switch(config-ppm)# exit
switch(config)#
Exits the port-profile configuration mode.
Step 4
show port-profile
Example:
switch(config)# show port-profile
(Optional) Displays the port-profile
configuration.
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
(Optional) Copies the running
configuration to the startup configuration.