Configuring A Loopback Interface - Cisco Nexus 3548 Configuration Manual

Nx-os interfaces release 9x
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring a Loopback Interface

switch(config)# interface vlan 10
switch(config-if)# ip address 192.0.2.1/8
switch(config-if)# copy running-config startup-config
Configuring a Loopback Interface
Before you begin
Ensure that the IP address of the loopback interface is unique across all routers on the network.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface loopback instance
3. switch(config-if)# ip address ip-address/length
4. (Optional) switch(config-if)# show interface loopback instance
5. (Optional) switch(config-if)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface loopback instance
Step 3
switch(config-if)# ip address ip-address/length
Step 4
(Optional) switch(config-if)# show interface loopback
instance
Step 5
(Optional) switch(config-if)# copy running-config
startup-config
Example
This example shows how to create a loopback interface:
switch# configure terminal
switch(config)# interface loopback 0
switch(config-if)# ip address 192.0.2.100/8
switch(config-if)# copy running-config startup-config
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
32
Purpose
Enters global configuration mode.
Creates a loopback interface. The instance range is from 0
to 1023.
Configures an IP address for this interface.
Displays the loopback interface statistics. The instance
range is from 0 to 1023.
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
Configuring Layer 3 Interfaces

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents