Configuring Layer 3 Interfaces
Configuring a Subinterface
| Command or Action | Purpose |
|
|
| Note | To convert a Layer 3 interface back into a Layer |
|
|
| 2 interface, use the switchport command. |
Step 4 | Configures an IP address for this interface. | ||
|
|
| |
Step 5 | (Optional) | ||
| {broadcast p2p} | Configures the interface medium as either point to point | |
|
| or broadcast. | |
|
| Note | The default setting is broadcast, and this setting |
|
|
| does not appear in any of the show commands. |
|
|
| However, if you do change the setting to p2p, you |
|
|
| will see this setting when you enter the show |
|
|
|
|
Step 6 | (Optional) | ||
|
| Displays the Layer 3 interface statistics. | |
Step 7 | (Optional) | ||
| Saves the change persistently through reboots and restarts | ||
|
| by copying the running configuration to the startup | |
|
| configuration. |
This example shows how to configure an IPv4 routed Layer 3 interface:
switch# configure terminal switch(config)# interface ethernet 2/1
Configuring a Subinterface
Before You Begin
•Configure the parent interface as a routed interface.
•Create the
Procedure
| Command or Action | Purpose |
Step 1 | (Optional) | |
|
| Saves the change persistently through reboots and |
|
| restarts by copying the running configuration to the |
|
| startup configuration. |
Cisco Nexus 5000 Series
37 |