Cisco Nexus 6000 Series NX-OS Multicast Routing Command Reference
N Commands
Downloads: This chapterpdf (PDF - 74.0KB) The complete bookPDF (PDF - 1.68MB) | Feedback

N Commands

Table Of Contents

N Commands

no switchport


N Commands


This chapter describes the Cisco NX-OS routing commands that begin with N.

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

Release
Modification

6.0(2)N1(1)

This command was introduced.


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

Command
Description

copy running-config startup-config

Saves the running configuration to the startup configuration file.

ip address

Sets a primary or secondary IP address for an interface.

show interfaces

Displays interface information.