switch-route-create

This command is used to create routing setups on a switch.

Syntax   switch-route-create

network ip-address

Specify the destination IPv4 or IPv6 address.

netmask netmask

Specify the destination netmask.

Specify one or more of the following options:

gateway-ip ip-address

Specify the gateway IPv4 or IPv6 address.

nic switch-nic nic

Specify the NIC.

metric integer

Specify the metric for the route as an integer between 1 and 4294967295.

Defaults   None.

Access   CLI

History   

Version 2.3.0

Command introduced.

Version 3.0

The parameter, metric, added.

Usage   Use this command to create routes from switch to switch.

Examples  

CLI network-admin@switch > switch-route-create

switch-route-delete

This command is used to delete the routing setup of a switch.

Syntax   switch-route-delete

network ip-address

Specify the destination IPv4 or IPv6 address.

netmask netmask

Specify the destination netmask.

Specify one or more of the following options:

gateway-ip ip-address

Specify the gateway IPv4 or IPv6 address.

nic switch-nic nic

Specify the NIC.

Defaults   None.

Access   CLI

History   Command introduced in Version 2.3.

Usage   Use this command to delete routes from one switch to another switch.

Examples  

CLI network-admin@switch > switch-route-delete

switch-route-modify

This command is used to modify the routing setup of a switch.

Syntax   switch-route-modify

network ip-address

Specify the destination IPv4 or IPv6 address.

netmask netmask

Specify the destination netmask.

Specify one or more of the following options:

gateway-ip ip-address

Specify the gateway IPv4 or IPv6 address.

nic switch-nic nic

Specify the NIC.

metric integer

Specify the metric for the route as an integer between 1 and 4294967295.

Defaults   None.

Access   CLI

History   

Version 2.3.0

Command introduced.

Version 3.0

The parameter, metric, added.

Usage   Use this command to modify routes from switch to switch.

Examples  

CLI network-admin@switch > switch-route-modify

switch-route-show

This command is used to display switch to switch routes.

Syntax   switch-route-show

network ip-address

Specify the destination IPv4 or IPv6 address.

netmask netmask

Specify the destination netmask.

Specify one or more of the following options:

gateway-ip ip-address

Specify the gateway IPv4 or IPv6 address.

nic switch-nic nic

Specify the NIC.

metric integer

Specify the metric for the route as an integer between 1 and 4294967295.

Defaults   None.

Access   CLI

History   

Version 2.3.0

Command introduced.

Version 3.0

The parameter, metric, added.

Usage   Use this command to display routes from switch to switch.

Examples  To display switch routes, use the following command:

CLI network-admin@switch > switch-route-show