User Manual

Table Of Contents
7.1.5 Set auto IP function
[Syntax]
auto-ip switch
no auto-ip
[Parameter]
switch : Behavior of the auto IP function
Setting value Description
enable Enable the auto IP function
disable Disable the auto IP function
[Initial value]
auto-ip disable
[Input mode]
interface mode
[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.
This command cannot be used if the stack function is enabled and the stack port is using the Auto IP function.
[Example]
Enable the Auto IP function for VLAN #2.
SWR2310(config)#interface vlan2
SWR2310(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
234 | Command Reference | Layer 3 functions