Cuda 12000 IP Access Switch CLI-based Administration Guide
Configuring IP Addresses 273
You add an IP address to a selected physical interface or the loopback interface, and then enter configuration mode for that IP interface by performing the following tasks:
Example 1
cli:172.16.19.10:root# interface 1/1/1
mode: interface:cable:csi(1/1/1)
cli:172.16.19.10:interface:cable:csi(1/1/1)# ip address 204.142.19.2 255.255.255.0
cli:172.16.19.10:interface:cable:csi(1/1/1):ip-address(204.142.19.2)# show ip
address
Chassis/Slot/Interface 1/1/1
row count: 2
IP Address Net Mask Interface Priority
---------------- ---------------- ---------- ----------
192.168.19.50 255.255.255.0 8781825 Other
204.142.19.2 255.255.255.0 8781825 Primary
cli:172.16.19.10:interface:cable:csi(1/1/1):ip-address(204.142.19.2)#
Example 2
cli:192.168.208.3:root# interface loopback
mode: interface:loopback
cli:192.168.208.3:interface:loopback# show ip address
Chassis/Slot/Interface 131 / 1 / 1
row count: 0
IP Address Net Mask Interface Priority
---------------- ---------------- ---------- ----------
cli:192.168.208.3:interface:loopback# ip address 205.1.1.1 255.255.255.0
cli:192.168.208.3:interface:loopback# show ip address
Chassis/Slot/Interface 131 / 1 / 1
row count: 1
IP Address Net Mask Interface Priority
---------------- ---------------- ---------- ----------
205.1.1.1 255.255.255.0 1099169793 Primary

Task Command

1. Enter configuration mode for the

selected interface

interface {<c/s/i> | loopback}

2. Add the IP address. ip address <ip-address> <mask>