D-Link DXS-3600-16S Manual page 451

Dxs-3600 series layer 2/3 managed 10gbe switch
Hide thumbs Also See for DXS-3600-16S:
Table of Contents

Advertisement

Command Default Level
Usage Guideline
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip route 20.0.0.0 255.0.0.0 10.1.1.254
DXS-3600-32S(config)#
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip route 30.0.0.0 255.0.0.0 10.1.1.253 weight 1
DXS-3600-32S(config)#ip route 30.0.0.0 255.0.0.0 10.1.1.254 weight 1
DXS-3600-32S(config)#
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip route 40.0.0.0 255.0.0.0 10.1.1.254 backup
DXS-3600-32S(config)#
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#no ip route 20.0.0.0 255.0.0.0 10.1.1.254
DXS-3600-32S(config)#
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)# ip route 100.1.1.0 255.255.255.0 ip_tunnel tunnel_1
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)# ip vrf VPN-A
DXS-3600-32S(config-vrf)# exit
DXS-3600-32S(config)# ip route vrf VPN-A 100.1.1.0 255.255.255.0 10.1.1.253
DXS-3600-32S(config)#
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
Level: 8
When the value of network and net-mask are both 0.0.0.0, it means to create a static
default route.
Use the command with keyword primary or backup means the newly created route is
a floating static route. The keyword weight means the newly created route is a static
multipath route. The floating static route and the static multipath route are mutually
exclusive. If none of the following parameters, "primary", "backup" or "weight," are
selected, the static route will be:
1. Primary if there is no primary route to the same destination.
2. Backup if there has been a primary route to the same destination.
3. Fail to create if there have been a primary route and a backup route to the
same destination.
4. Fail to create if there has been one static multipath route to the same
destination.
If null0 is specified for one route, the traffic that matched its destination will be
dropped.
If vrf is specified, the static route is added into or deleted from the VRF routing table.
Users can verify the settings by entering the show ip route static command.
This example shows how to add a static route entry with destination 20.0.0.0/8 and
nexthop 10.1.1.254.
This example shows how to add a static weighted multipath route entry with
destination 30.0.0.0/8 and two nexthops: 10.1.1.253, 10.1.1.254.
This example shows how to add a static route entry with destination 40.0.0.0/8 and
nexthop 10.1.1.254 and specify this route to be a backup static route.
This example shows how to remove the static route with destination 20.0.0.0/8 and
nexthop 10.1.1.254.
This example shows how to add a static route using an IP tunnel:
This example shows how to add a static route to VRF VPN-A:
443

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents