public static class RoutingStaticConfigUpdateRequest.Route extends Object
Constructor and Description |
---|
Route(String description,
int vnic,
String network,
String nextHop,
Integer mtu,
String type,
Integer adminDistance)
Instantiates a new route.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAdminDistance()
Gets the admin distance.
|
String |
getDescription()
Gets the description.
|
Integer |
getMtu()
Gets the mtu.
|
String |
getNetwork()
Gets the network.
|
String |
getNextHop()
Gets next hop.
|
String |
getType()
Gets the type.
|
int |
getVnic()
Gets the vnic.
|
public Route(String description, int vnic, String network, String nextHop, Integer mtu, String type, Integer adminDistance)
description
- the descriptionvnic
- the vnicnetwork
- the networknextHop
- the nextHopmtu
- the mtutype
- the typeadminDistance
- the adminDistancepublic int getVnic()
Valid values: 0-4103, vNic_[0-4103], gre-[1-96].
String
the vnicpublic String getNetwork()
Uses CIDR notation.
String
the networkpublic String getNextHop()
The router must be able to directly reach the next hop. When ECMP is enabled, multiple next hops can be displayed. Required for local (user) routes, but not required when route is a default route (internal_high)
String
the nextHoppublic Integer getMtu()
Default is 1500. By default, mtu is the MTU value of the interface on which the route is configured.
public String getType()
Specifies whether the static route was created by the system as an auto-generated route or the default route (internal); or whether it is a local (user) route.
String
the typeCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.