Cisco Nexus 5000 Series Interfaces Command Reference - Cisco Nexus 5000 Series Command Reference Manual

Interface
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

I Commands
Usage Guidelines
You must use the no switchport command in the interface configuration mode to configure the interface as
a Layer 3 routed interface. When you configure the interface as a Layer 3 interface, all Layer 2 specific
configurations on this interface are deleted.
Use the switchport command to convert a Layer 3 interface into a Layer 2 interface. When you configure the
interface as a Layer 2 interface, all Layer 3 specific configurations on this interface are deleted.
Examples
This example shows how to enter configuration mode for a Layer 3 Ethernet interface 1/5:
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# ip address 10.1.1.1/24
switch(config-if)#
This example shows how to configure a Layer 3 subinterface for Ethernet interface 1/5 in the global
configuration mode:
switch(config)# interface ethernet 1/5.2
switch(config-if)# no switchport
switch(config-subif)# ip address 10.1.1.1/24
switch(config-subif)#
This example shows how to configure a Layer 3 subinterface in interface configuration mode:
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# interface ethernet 1/5.1
switch(config-subif)# ip address 10.1.1.1/24
switch(config-subif)#
This example shows how to convert a Layer 3 interface to a Layer 2 interface:
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# ip address 10.1.1.1/24
switch(config-if)# switchport
switch(config-if)#
Related Commands
Command
bandwidth
delay
encapsulation
Description
Sets the bandwidth parameters for an interface.
Configures the interface throughput delay value.
Sets the encapsulation type for an interface.

Cisco Nexus 5000 Series Interfaces Command Reference

interface ethernet (Layer 3)
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents