Add (router-lan) secondary ip address, Add (router-lan) secondary ip address -18 – Carrier Access Network Device Axxius 800 User Manual

Page 118

Advertising
background image

5-18

Axxius 800 - Release 2.2

CLI Commands

add

add (router-lan) secondary ip address

Use the add (router-lan) secondary ip address command to add a secondary IP address and
subnet to the specified LAN interface. The Router will then be capable of routing between the
various subnets on the LAN interface or between any of the LAN subnets and any WAN subnet.
A maximum of 8 secondary IP addresses can be added to the LAN interface.

Syntax:

add {rtr_lan-addr} secondary ip address

{ip-addr [mask]|ip-addr/bits}

Example:

add 4:1 secondary ip address 192.168.1.1 255.255.255.0

The example will add a secondary IP address of 192.168.1.1 and a subnet mask
of 255.255.255.0.

To view the secondary IP addresses, use the show 4:1 command

{rtr_lan-addr}

The Router address is in the form {slot:port} or {slot "profile-name"}.

{ip-addr [mask]|ip-addr/bits}

slot

The slot number (1-8) that contains the Router card.

port

Port number of the Router.

"profile-name"

The profile name for the Router interface. Name must be enclosed
in quotes, with a maximum length of 11 characters.

ip-addr

The IP address of the Host to query, in the form of xxx.xxx.xxx.xxx,
where xxx is between 0-255.

mask

The mask of the secondary IP address, in the form of
xxx.xxx.xxx.xxx, where xxx is between 0-255.

bits

The subnet mask, specified as the number of ones bits in the mask
value. Range is between 1-32.

Advertising