show startup-config port-profile

To display the startup configuration of port profiles, use the show startup-config port-profile command.

show startup-config switch-profile [pp-profile-name]

Syntax Description

pp-profile-name

(Optional) Name of the port profile. The name can be a maximum of 80 alphanumeric characters and can include an underscore and hyphen. The name cannot contain spaces or special characters.


Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification

5.0(2)N1(1)

This command was introduced.


Examples

This example shows how to display the configuration information of all port profiles stored in the startup configuration file:

switch# show startup-config switch-profile 

!Command: show startup-config port-profile
!Time: Mon Sep  6 07:32:48 2010
!Startup config saved at: Mon Sep  6 07:29:19 2010

version 5.0(2)N1(1)
port-profile type interface-vlan ppVlan
  bandwidth 30000000
  mtu 3000
  description Sample port-profile for VLAN interfaces
port-profile type ethernet eth
  switchport mode trunk
  switchport trunk allowed vlan 300-800
  flowcontrol receive on
  state enabled
port-profile type port-channel ppPO
  delay 5000000
  load-interval counter 1 30
  switchport mode trunk
  description Sample port profile for Port Channel interface
  state enabled
port-profile type ethernet ppEth
  inherit port-profile eth
  switchport mode trunk
  switchport trunk allowed vlan 300-400
  speed 10000
  bandwidth 1000000
  description Sample port profile for Ethernet interfaces
  state enabled

switch#

This example shows how to display the startup configuration of a port profile named ppPO that is configured for port channel interfaces on the switch:

switch# show startup-config port-profile ppPO 

!Command: show startup-config port-profile ppPO
!Time: Mon Sep  6 07:34:31 2010
!Startup config saved at: Mon Sep  6 07:29:19 2010

version 5.0(2)N1(1)
port-profile type port-channel ppPO
  delay 5000000
  load-interval counter 1 30
  switchport mode trunk
  description Sample port profile for Port Channel interface
  state enabled

switch#

This example shows how to display the startup configuration of a port profile named ppEth that is configured for Ethernet interfaces on the switch:

switch# show startup-config port-profile ppEth 

!Command: show startup-config port-profile ppEth
!Time: Mon Sep  6 07:35:44 2010
!Startup config saved at: Mon Sep  6 07:29:19 2010

version 5.0(2)N1(1)
port-profile type ethernet ppEth
  inherit port-profile eth
  switchport mode trunk
  switchport trunk allowed vlan 300-400
  speed 10000
  bandwidth 1000000
  description Sample port profile for Ethernet interfaces
  state enabled

switch# 

Related Commands

Command
Description

copy running-config startup-config

Copies the running configuration to the startup configuration.

show running-config switch-profile

Displays the running configuration information for a switch profile.