Adding a loopback interface
NOTE:
This task is not supported by Switch 2530 (J9772A–J9783A) products.
Adding a loopback interface
To add a loopback interface on the switch:
Prerequisites
Before you use the CLI to add a loopback interface, you must be at the global configuration level.
Procedure
-
Use the
interface loopback <number>
command to create the loopback interface. The number argument is a value from 1 to 7. -
Use the
ip address <ip address>
command to configure an IP address for the loopback interface. - You can configure up to 32 IP addresses on a loopback interface. You do not need to specify a network mask. A loopback interface uses the default subnet mask 255.255.255.255.
Examples