Configuring Interface Parameters
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to configure the Ethernet interface 3/1 with the default MTU size of 1500 bytes:
switch# configure terminal
switch# interface ethernet 3/1
switch(config-if)# mtu 1500
switch(config-if)#
Shutting Down and Activating an Interface
You can shut down and restart Ethernet or management interfaces.
Before You Begin
• Log in to the CLI in EXEC mode.
• Know that when you shut down an interface, it becomes disabled and the output of monitoring commands
• Know that when you activate an interface that has been shut down, you must restart the device.
Procedure
Step 1
Step 2
Step 3
Command or Action
switch# configure terminal
switch(config)# interface ethernet
slot/port
switch(config-if)# mtu size
switch( config-if)# show interface
ethernet slot/port
switch(config-if)# copy running-config
startup-config
show it as being down.
Command or Action
switch# configure terminal
switch(config)# interface interface
switch(config-if)# shutdown
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
Shutting Down and Activating an Interface
Purpose
Enters global configuration mode.
Specifies an Ethernet interface to configure, and enters
interface configuration mode.
Specifies an MTU size between 1500 (the default)
and 9000 bytes.
(Optional)
Displays the interface status, which includes the MTU
size.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Specifies an Ethernet interface to configure, and enters
interface configuration mode.
Disables the interface in the running configuration .
17