Cisco Systems N5KC5596TFA Switch User Manual


 
PurposeCommand or Action
Enters interface configuration mode. The range for the
slot is from 1 to 255. The range for the port is from 1
to 128.
switch(config)# interface ethernet
slot/port.number
Step 2
Configures IP address for this interface.switch(config-if)# [ip | ipv6] address
ip-address/length
Step 3
Configures IEEE 802.1Q VLAN encapsulation on the
subinterface. The range for the vlan-id is from 2 to
4093.
switch(config-if)# encapsulation
dot1Q vlan-id
Step 4
(Optional)
Displays the Layer 3 interface statistics.
switch(config-if)# show interfaces
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 subinterface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# ip address 192.0.2.1/8
switch(config-if)# encapsulation dot1Q 33
switch(config-if)# copy running-config startup-config
Configuring the Bandwidth on an Interface
You can configure the bandwidth for a routed interface, port channel, or subinterface.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode. The range for the slot is
from 1 to 255. The range for the port is from 1 to 128.
switch(config)# interface
ethernet slot/port
Step 2
Configures the bandwidth parameter for a routed interface,
port channel, or subinterface, as follows:
switch(conifg-if)# bandwidth
[value | inherit [value]]
Step 3
value—Size of the bandwidth in kilobytes. The range is
from 1 to 10000000.
inherit—Indicates that all subinterfaces of this interface
inherit either the bandwidth value (if a value is specified)
or the bandwidth of the parent interface (if a value is not
specified).
Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)
38 78-26881-OL
Configuring Layer 3 Interfaces
Configuring the Bandwidth on an Interface