Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
switch(config-if)# copy
running-config startup-config
Step 4
This example shows how to configure Ethernet interface 2/1 with a bandwidth value of 80000:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# bandwidth 80000
switch(config-if)# copy running-config startup-config
Configuring a VLAN Interface
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables VLAN interface mode.switch(config)# feature interface-vlan
Step 2
Creates a VLAN interface. The number range is
from 1 to 4094.
switch(config)# interface vlan number
Step 3
Configures an IP address for this interface.switch(config-if)# [ip | ipv6 ] address
ip-address/length
Step 4
(Optional)
Displays the VLAN interface statistics. The
number range is from 1 to 4094.
switch(config-if)# show interface vlan
number
Step 5
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to
the startup configuration.
switch(config-if)# copy running-config
startup-config
Step 6
This example shows how to create a VLAN interface:
switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface vlan 10
switch(config-if)# ip address 192.0.2.1/8
switch(config-if)# copy running-config startup-config
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
78-26881-OL 39
Configuring Layer 3 Interfaces
Configuring a VLAN Interface