[Description]
For the VLAN interface, enables the Auto IP function which automatically generates the IPv4 link local address
(169.254.xxx.xxx/16).
The Auto IP function works only if an IPv4 address cannot be obtained from the DHCP server after the
ip address dhcp
command is specified.
The Auto IP function can be enabled for only one VLAN interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
If an IPv4 address could be obtained from the DHCP server after the IPv4 link local address was determined, the IPv4 link local
address is discarded, and the IPv4 address obtained from the DHCP server is used.
[Example]
Enable the Auto IP function for VLAN #2.
SWR2311P(config)#interface vlan2
SWR2311P(config-if)#auto-ip enable
7.2 IPv4 route control
7.2.1 Set static IPv4 route
[Syntax]
ip
route
ip_address
/
mask
gateway
[
number
]
ip
route
ip_address
/
mask
null
[
number
]
ip
route
ip_address
netmask
gateway
[
number
]
ip
route
ip_address
netmask
null
[
number
]
no
ip
route
ip_address
/
mask
[
gateway
[
number
]]
no
ip
route
ip_address
/
mask
[
null
[
number
]]
no
ip
route
ip_address
netmask
[
gateway
[
number
]]
no
ip
route
ip_address
netmask
[
null
[
number
]]
[Keyword]
null
:
Discard packet without forwarding it
[Parameter]
ip_address
:
A.B.C.D
IPv4 address
Set this to 0.0.0.0 if specifying the default gateway
mask
:
<1-31>
Number of mask bits
Set this to 0 if specifying the default gateway
netmask
:
A.B.C.D
Netmask in address format
Set this to 0.0.0.0 if specifying the default gateway
gateway
:
A.B.C.D
IPv4 address of gateway
number
:
<1-255>
Administrative distance (priority order when selecting route) (if omitted: 1)
Lower numbers have higher priority.
[Initial value]
none
[Input mode]
global configuration mode
194
| Command Reference | Layer 3 functions