Ipv4 Route Control; Set Static Ipv4 Route - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

194 | Command Reference | Layer 3 functions
[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
[Parameter]
ip_address
mask
netmask
gateway
number
[Initial value]
none
[Input mode]
global configuration mode
:
Discard packet without forwarding it
:
A.B.C.D
IPv4 address
Set this to 0.0.0.0 if specifying the default gateway
:
<1-31>
Number of mask bits
Set this to 0 if specifying the default gateway
:
A.B.C.D
Netmask in address format
Set this to 0.0.0.0 if specifying the default gateway
:
A.B.C.D
IPv4 address of gateway
:
<1-255>
Administrative distance (priority order when selecting route) (if omitted: 1)
Lower numbers have higher priority.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents