Protocol Independent Commands - D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

33. Protocol Independent Commands

33-1
This command is used to create a static route entry. Use the no form of this command to remove a
static route entry.
ip route NETWORK-PREFIX NETWORK-MASKIP-ADDRESS [primary | backup]
no ip route NETWORK-PREFIX NETWORK-MASKIP-ADDRESS
Parameters
NETWORK-PREFIX
NETWORK-MASK
IP-ADDRESS
primary
backup
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to create an IP static route. Floating static route is supported. This means that
there could be two routes with the same destination network address and different next hop. If
primary or backup is not specified, the static route will be automatically determined to be a primary
route or a backup route. Primary route has higher priority than backup route, and is always be used
for forwarding when it is active. When primary is down, the backup route will be used.
Example
This example shows how to add a static route entry for 20.0.0.0/8 with the next-hop 10.1.1.254.
Switch# configure terminal
Switch(config)#ip route 20.0.0.0 255.0.0.0 10.1.1.254
Switch(config)#
33-2
This command is used to create an IPv6 static route entry. Use the no form of this command to
remove an IPv6 static route entry.
ipv6 route {default | NETWORK-PREFIX/PREFIX-LENGTH} [INTERFACE-ID] NEXT-HOP-
ADDRESS [primary | backup]
no ipv6 route {default | NETWORK-PREFIX/PREFIX-LENGTH} [INTERFACE-ID] NEXT-HOP-
ADDRESS
DXS-1210 Series Smart Managed Switch CLI Reference Guide
ip route
Specifies the network address.
Specifies the network mask.
Specifies the IP address of the next hop that can be used to reach
destination network.
(Optional) Specifies the route as the primary route to the destination.
(Optional) Specifies the route as the backup route to the destination.
ipv6 route
258

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents