Configuring Layer 3 Interfaces
Configuring a VLAN Interface
| Command or Action | Purpose |
Step 4 | (Optional) |
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
Configuring a VLAN Interface
Procedure
| Command or Action | Purpose |
Step 1 | switch# configure terminal | Enters global configuration mode. |
Step 2 | switch(config)# feature | Enables VLAN interface mode. |
Step 3 | switch(config)# interface vlan number | Creates a VLAN interface. The number range is |
|
| from 1 to 4094. |
Step 4 | Configures an IP address for this interface. | |
|
| |
Step 5 | (Optional) | |
| number | Displays the VLAN interface statistics. The |
|
| number range is from 1 to 4094. |
Step 6 | (Optional) | |
| Saves the change persistently through reboots and | |
|
| restarts by copying the running configuration to |
|
| the startup configuration. |
This example shows how to create a VLAN interface:
switch# configure terminal switch(config)# feature
Cisco Nexus 5000 Series
39 |