User Manual

Table Of Contents
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
[Description]
Adds a static route for IPv4.
If this command is executed with the "no" syntax, the specified route is deleted.
[Example]
Set the default gateway to 192.168.1.1.
SWX3220(config)#ip route 0.0.0.0/0 192.168.1.1
For the destination 172.16.0.0/16, set the gateway to 192.168.2.1.
SWX3220(config)#ip route 172.16.0.0 255.255.0.0 192.168.2.1
7.2.2 Set number of equal-cost multi-path registrations
[Syntax]
maximum-paths num
no maximum-paths [num]
[Parameter]
num : <1-8>
Number of equal-cost multi-path registrations
[Initial value]
4
[Input mode]
global configuration mode
[Description]
Sets the number of equal-cost multi-path registrations.
The setting value of this command is the number of equal-cost multi-path routes that can be registered in the IPv4 and IPv6
routing tables and forwarding tables.
[Example]
Set the number of equal-cost multi-path registrations as 8.
SWX3220(config)#maximum-paths 8
7.2.3 Show IPv4 Forwarding Information Base
[Syntax]
show ip route [ip_address[/mask]]
250 | Command Reference | Layer 3 functions