Download Print this page

Ip Address (Ip Addressing And Protocol) - Allied Telesis IE340 Series Command Reference Manual

Industrial ethernet layer 3 switches
Hide thumbs Also See for IE340 Series:

Advertisement

IP A
P
DDRESSING AND
ROTOCOL
(IP A
IP ADDRESS
DDRESSING AND

ip address (IP Addressing and Protocol)

Overview
This command sets a static IP address on an interface.
The no variant of this command removes the IP address from the interface.
You cannot remove the primary address when a secondary address is present.
ip address <ip-addr/prefix-length> [secondary] [label <label>]
Syntax
no ip address [<ip-addr/prefix-length>] [secondary]
Mode
Interface Configuration for a VLAN interface or a local loopback interface.
Usage notes
To set the primary IP address on the interface, specify only ip address
<ip-addr/prefix-length>. This overwrites any configured primary IP address. To add
additional IP addresses on this interface, use the secondary parameter. You must
configure a primary address on the interface before configuring a secondary
address.
NOTE
you need to view a secondary address configured on an interface. show ip interface
brief will only show the primary address, not a secondary address for an interface.
Examples
To add the IP address 10.10.10.50/24 to the interface vlan2, use the following
commands:
awplus#
awplus(config)#
awplus(config-if)#
To add the secondary IP address 10.10.11.50/24 to the same interface, use the
following commands:
awplus#
awplus(config)#
awplus(config-if)#
C613-50631-01 Rev A
C
OMMANDS
P
)
ROTOCOL
Parameter
<ip-addr/prefix-
length>
secondary
label
<label>
: Use show running-config interface, instead of show ip interface brief, when
configure terminal
interface vlan2
configure terminal
interface vlan2
Command Reference for IE340 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
Description
The IPv4 address and prefix length you are assigning to the
interface.
Secondary IP address.
Adds a user-defined description of the secondary IP address.
A user-defined description of the secondary IP address. Valid
characters are any printable character and spaces.
ip address 10.10.10.50/24
ip address 10.10.11.50/24 secondary
873

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Ie340-12gpIe340-12gtIe340-20gpIe340l-18gp