Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Configuring IPv6 Static Routes - CLI (ipv6 static-route)

This section includes a complete command reference for the ipv6 static-route command. You can only use the set operation with this command, even when adding or deleting a static route.

Description

Add, change or delete an IPv4 static route.

Syntax

set ipv6 static-route <Destination> 
nexthop gateway <gw_ip>
[priority <p_value>] on|off
      interface <gw_if> [priority <p_value>] on|off
   nexthop blackhole
   nexthop reject
   off

Parameter

nexthop

Defines the next hop path.

on

Enables the specified route or next hop.

off

Deletes the specified route or next hop. If you specify a next hop, only the specified path is deleted. If no next hop is specified, the route and all related paths are deleted.

gateway

Accepts and sends packets to the specified destination.

blackhole

Drops packets, but does not send an error message.

reject

Drops packets and sends an error message to the traffic source.

interface

Identifies the next hop gateway by the interface that connects to it. Use this option only if the next hop gateway has an unnumbered interface.

priority

Assigns a path priority when there are many different paths. The available path with the lowest priority value is selected. The gateway with the lowest priority value is selected.

 

Value

<Destination>

Destination IP address.

<Route Type>

gateway - Accepts and sends packets to the specified destination

reject - Drops packets and sends an error message to the traffic source

blackhole - Drops packets, but does not send an error message-

<gw_ip>

Identifies the next hop gateway by its IP address.

<gw_if>

Identifies the next hop gateway by the interface that connects to it. Use this option only if the next hop gateway has an unnumbered interface.

<p_value>

Integer value between 1 and 8 (default=1).

 

Examples

set ipv6 static-route 3100:192::0/64 nexthop 3900:172::1 priority 2 on
 
set ipv6 static-route 3100:192::0/64 nexthop 3900:172::1 interface eth3 priority 2 on
 
set ipv6 static-route 3100:192::0/64 nexthop off
set ipv6 static-route 3300:123::0/64 nexthop blackhole

Notes

There are no add or show commands for the static route feature.

Related Topics

CLI Procedures - IPv6 Static Routes

 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print