route

Prev Next

route add/edit and route ipv6_add/edit

route add - Add a new IPv4 route
route edit - Edit an existing IPv4 route
route ipv6_add - Add a new IPv6 route
route ipv6_edit - Edit an existing IPv6 route

Description:

The route add/edit or ipv6_add/ipv6_edit command lets you add or modify the IPv4 or IPv6 system routing table.

Syntax:

route {add|edit} <route-name> { {type {host | net}} |
                                  {destination <ip-addr>} |
                                  {netmask <ip-addr>} |
                                  {gateway <ip-addr>} |
                                  {interface <interface-name>} }+

route {ipv6_add|ipv6_edit} <route-name> { 
{destination <ipv6-addr>/<ipv6-prefixLen>} |
                                  {gateway <ipv6-addr>} |
                                  {interface <interface-name>} }+

Parameters:

Parameter Description
<route-name> <string> The name of the route. It can be a brief description of the route, e.g., "Default".
<interface-name> <string> The interface with which the route is associated. This is only for specific situations when a target exists on a different network for that interface. In most situations, the interface is determined automatically.
type Route type may either be Network for a range of addresses or Host for a specific IP address.
destination Network or host address of the route. Use 0.0.0.0 (for IPv4) or ::/0 (for IPv6) to denote the default route.
netmask Mask assigned to the route. Only used for network routes.
gateway Gateway address associated with this route or default gateway address.
interface The interface with which the route is associated. This is only for specific situations when a target exists on a different network for that interface. In most situations, the interface is determined automatically.

route delete and route ipv6_delete

route delete - Delete an existing IPv4 route
route ipv6_delete - Delete an existing IPv6 route

Description:

The route delete or ipv6_delete commands let you delete configured IPv4 or IPv6 routes in the system.

Syntax:

route {delete|ipv6_delete} <route-name>

Parameters:

Parameter Description
<route-name> <string>

route show active/configuration/ipv6_show active/ipv6_show configuration

route show configuration - Display statically configured IPv4 routes
route show active - Display active IPv4 routes
route ipv6_show configuration - Display statically configured IPv6 routes
route ipv6_show active - Display active IPv6 routes

Description:

The route show or route ipv6_show commands let you show active and configured IPv4 or IPv6 routes in the system.

Syntax:

route {show|ipv6_show} active
  route {show|ipv6_show} [configuration [<route-name>]]

Parameters:

Parameter Description
<route-name> <string>

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks