set interface

Description

Configures IP address for local networks/interfaces.

Syntax

set interface <name> ipv4-address <ipv4-address>{ mask-length <mask-length> | subnet-mask <subnet-mask> }

Parameters

Parameter

Description

ipv4-address

Enter the IP address of the interface

Type: IP address

mask-length

Represents the network's mask length

Type: A string that contains numbers only

name

Network name

Type: A string that contains [A-Z], [0-9], '_', '.', '-' and '/' characters

subnet-mask

Enter the Subnet mask of the specified network

Type: A subnet mask, or 255.255.255.255

Example

set interface My_Network ipv4-address 192.168.1 mask-length 20