Cisco Nexus 5000 Series Nx-Os Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1 - 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
SUMMARY STEPS
1. configure terminal
2. port-profile [type {ethernet | interface-vlan | port channel}] name
3. exit
4. (Optional) show port-profile
5. (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 [type {ethernet | interface-vlan | port
channel}] name
Example:
switch(config)# port-profile type ethernet test
switch(config-port-prof)#
Step 3
exit
Example:
switch(config-port-prof)# exit
switch(config)#
Step 4
show port-profile
Example:
switch(config)# show port-profile name
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
This example shows how to remove commands from the port profile named ppEth configured for an Ethernet
interface:
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)# no speed 10000
switch(config-port-prof)#
OL-25842-01

Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)

Purpose
Enters configuration mode.
Enters the port profile configuration mode for the
specified port profile and allows you to add or remove
configurations to the profile.
Exits the port profile configuration mode.
(Optional)
Displays the port profile configuration.
(Optional)
Copies the running configuration to the startup
configuration.
Port Profiles
25

Advertisement

Table of Contents
loading

Table of Contents