Assigning Multiple Local IP Addresses and Mask Pairs to a Network Interface

You can also configure multiple local IP addresses and mask pairs for each network interface using the TCPIP ID command. In addition, you can use this command to set the type of RIPv2 authentication.

To configure multiple local IP address and mask pairs, issue the following TCPIP ID command:

NW TCPIP ID ADD NP <device id> Line <line id> [VLAN <vlan id>] <ip address>/<prefix>, <ip address>/<prefix>

The variables are described in Assigning IP Addresses to a Network Interface.

To set the type of RIPv2 authentication, issue the following command:

NW TCPIP ID ADD NP <device id> Line <line id> [VLAN <vlan id>] RAA <authentication type> <ip address>/<prefix>

where <authentication type> is the authentication type assigned to the network processor and Line ID. The other variables are the same as described above.

Examples

Add a single local IP address 192.39.50.2 on NP 2, Line 1.

NW TCPIP ID ADD NP 2 LINE 1 192.39.50.2/27

Add a single local IP address 192.39.10.128 on NP 2 using specific mask.

NW TCPIP ID ADD NP 2 LINE 3 192.39.10.128 / 255.255.0.0

Add a single local IP address using CIDR format 192.39.50.0. and authentication.

NW TCPIP ID ADD NP 2 LINE 1 RAA = PASSWORD SET ABCDEFGHIJK 192.39.50.0/8

Add three local IP addresses to single NP using CIDR format.

NW TCPIP ID ADD NP 3 LINE 2 192.39.50.2/8, 192.39.51.2/8, 165.30.25.3/8 

Add two local IP addresses to a VLAN NP.

NW TCPIP TCPIPID ADD NP 1 LINE 0 VLAN 2 192.39.50.2/8, 192.39.51.2/8

Add two local IPv6 IP addresses to a single NP Line 0 with autoconfiguration enabled and duplicate address detection performed twice on tentative addresses.

NW TCPIP ID ADD NP 1 LINE 0 FF0F:0:0:0:9F:FF:89:98/64, FF0F:0:0:0:9F:FF:88:
98/64 AC + DADT=2