Configuring IPv4 on a Cisco Nexus Switch

A switch configures its IPv4 address and mask on this special NIC-like VLAN interface. The following steps list the commands used to configure IPv4 on a switch, assuming that the IP address is configured to be in VLAN 1, with Example 8-5 that follows showing a configuration example.

Step 1. Enable the SVI feature on the switch using the feature interface-vlan command.

Step 2. Enter VLAN 1 configuration mode using the interface vlan 1 global configuration command.

Step 3. Assign an IP address and mask using the ip address ip-address mask interface subcommand.

Step 4. If not already enabled, enable the VLAN 1 interface using the no shutdown interface subcommand.

Step 5. (Optional) Add the ip name-server ...

Get CCNA Data Center DCICN 640-911 Official Cert Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.