38. IP Routing Commands
437
38.1. create iproute
Description
This command is used to create an IP route entry in the Switching Hub's IP routing
table. This command creates an IP route entry in the Switching Hub's IP routing table.
"Primary" and "backup" are mutually exclusive. Users can select only one when
creating one new route. If a user sets neither of these, the system will try to set the
new route first by primary and second by backup and not set this route to be a
multipath route.
Format
create iproute [default | <network_address>] [null0 | <ipaddr> {<metric 1-65535>}
{[primary | backup | weight <value 1-4>]} | ip_tunnel <tunnel_name 12>]
Parameters
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To add a default route with a nexthop of 10.48.74.21:
default Create a default IP route entry.
<network_address>
The IP address and netmask of the IP interface that is the destination of the route. Specify
the address and mask information using the traditional format (for example, 10.1.2.3/
255.0.0.0 or in CIDR format, 10.1.2.3/16).
null0
Specifies the null interface as the next hop.
<ipaddr>Specify the IP address for the next hop router.
<metric 1-65535>
(Optional) The default setting is 1.That is, the default hop cost is 1.
primary
(Optional) Specifies the route as the primary route to the destination.
backup
(Optional) Specifies the route as the backup route to the destination. If the route is
not specified as the primary route or the backup route, then it will be auto-assigned
by the system. The first created is the primary, the second created is the backup.
weight
(Optional) Specifies the weight value of the IP route.
<value 1-4>
Enter the weight value used here. This value must be between 1 and 4.
ip_tunnel
Specifies the IP tunnel used.
<tunnel_name 12>
Enter the IP tunnel name used here. This name can be up to 12 characters long.
Содержание ZEQUO 6400
Страница 158: ...12 Basic IP Commands 159 Zxxx0 admin config ipif System vlan v1 Command config ipif System vlan v1 Success Zxxx0 admin ...
Страница 160: ...12 Basic IP Commands 161 ...
Страница 189: ...17 Command Logging Command List 190 ...
Страница 554: ...49 MAC based Access Control Commands 555 ...
Страница 644: ...58 Network Monitoring Commands 645 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 812: ...69 QoS Commands 813 ...
Страница 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Страница 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Страница 1050: ...91 System Log Lists 1051 ...