Ip address – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 647
IP Addressing and Protocol Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
25.13
ip address
This command sets a static IP address on an interface. To set the primary IP address on the
interface, specify only ip address
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.
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
no ip address
no ip address
Mode
Interface Configuration for a VLAN interface or a local loopback interface.
Examples
To add the primary IP address 10.10.10.50/24 to the interface vlan3, use the
following commands:
To add the secondary IP address 10.10.11.50/24 to the same interface, use the
following commands:
Note
Use show running-config interface not show ip interface brief when 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.
Parameter
Description
The IPv4 address and prefix length you are assigning to the
interface.
label
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.
awplus#
configure terminal
awplus(config)#
interface vlan3
awplus(config-if)#
ip address 10.10.10.50/24
awplus#
configure terminal
awplus(config)#
interface vlan3
awplus(config-if)#
ip address 10.10.11.50/24 secondary