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

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

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.
Syntax
ip address <ip-addr/prefix-length> [secondary] [label <label>]
no ip address [<ip-addr/prefix-length>] [secondary]
Mode
Interface Configuration for a VLAN interface, a local loopback interface, or a PPP
interface.
Usage
To set the primary IP address on the interface, specify only ip address
<ip-address/m>. 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
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.
To add the primary IP address 10.10.10.50/24 to the interface vlan3, use the
Examples
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-50186-01 Rev B
C
OMMANDS
P
)
ROTOCOL
Parameter
<ip-addr/prefix-
length>
secondary
label
<label>
: Use show running-config interface not show ip interface brief when you
configure terminal
interface vlan3
configure terminal
interface vlan3
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.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
661

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents