S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
8-135
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
system default switchport
system default switchport
To configure port attributes for Fibre Channel interfaces, use the
system default switchport
command.
To disable port attributes, use the
no
form of the command.
system default switchport
{
shutdown | trunk mode
{
auto
|
off
|
on
}}
no system default switchport
{
shutdown | trunk mode
{
auto
|
off
|
on
}}
Syntax Description
Command Default
Enabled.
Command Modes
Configuration mode
Command History
Usage Guidelines
Attributes configured using this command are applied globally to all future switch port configurations,
even if you do not individually specify them at that time.
This command changes the configuration of the following ports to administrative mode F:
•
All ports that are down.
•
All F ports that are up, whose operational mode is F, and whose administrative mode is not F.
This command does not affect non-F ports that are up; however, if non-F ports are down, this command
changes the administrative mode of those ports.
Examples
The following example shows how to configure port shutdown:
switch(config)#
system default switchport shutdown
The following example shows how to configure the trunk mode:
switch(config)#
system default switchport trunkmode auto
shutdown
Disables or enables switch ports by default.
trunk
Configures the trunking parameters as a default.
mode
Configures the trunking mode.
auto
Enables autosense trunking.
off
Disables
trunking.
on
Enables
trunking.
Release
Modification
4.0(0)N1(1a)
This command was introduced.