1124
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter N Commands
no switchport
no switchport
To configure the interface as a Layer 3 Ethernet interface, use the
no switchport
command.
no switchport
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Interface configuration mode
Command History
Usage Guidelines
You can configure any Ethernet port as a routed interface. When you configure an interface as a Layer 3
interface, any configuration specific to Layer 2 on this interface is deleted.
If you want to configure a Layer 3 interface for Layer 2, enter the
switchport
command. Then, if you
change a Layer 2 interface to a routed interface, enter the
no switchport
command.
Examples
This example shows how to enable an interface as a Layer 3 routed interface:
switch(config)#
interface ethernet 1/5
switch(config-if)#
no switchport
switch(config-if)#
This example shows how to configure a Layer 3 interface as a Layer 2 interface:
switch(config)#
interface ethernet 1/5
switch(config-if)#
switchport
switch(config-if)#
Related Commands
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
copy running-config
startup-config
Saves the running configuration to the startup configuration file.
interface ethernet
(Layer 3)
Configures an Ethernet routed interface or subinterface.
inteface loopback
Configures a loopback interface.
interface port-channel
Configures an EtherChannel interface or subinterface.
ip address
Sets a primary or secondary IP address for an interface.
show interfaces
Displays interface information.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...