11
Cisco Nexus 5600 Series NX-OS Multicast Routing Command Reference
OL-31626-01
Chapter I Commands
interface ethernet (Layer 3)
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 Description
bandwidth Sets the bandwidth parameters for an interface.
delay Configures the interface throughput delay value.
encapsulation Sets the encapsulation type for an interface.
ip address Sets a primary or secondary IP address for an interface.
inherit Assigns a port profile to an interface.
interface vethernet Configures a virtual Ethernet interface.
no switchport Configures an interface as a Layer 3 interface.
service-policy Configures a service policy for an interface.
show fex Displays all configured Fabric Extender chassis connected to the switch.
show interface
ethernet
Displays various parameters of an Ethernet IEEE 802.3 interface.