Log in
|
How to Buy
|
Contact Us
|
United States (Change)

## Choose Country

### North America

- United States

### Europe

- Deutschland - Germany
- España - Spain
- France
- Italia - Italy
- Россия - Russia
- United Kingdom

### Asia Pacific

- Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
- Australia
- 中国 - China
- India
- 日本 - Japan
- 대한민국 - Korea
- 台灣 - Taiwan

Remember my choice

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Rate and give feedback: Feedback Received. Thank You!
Rate and give feedback:
This document helped resolve my issue. Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:
E-mail:

# ipv6 route

#### Syntax

ipv6 route [ vrf vrfName ] prefix { nextHop | interfaceType interfaceSpecifier }
[ distance ] [ reject | discard ][ tag tagVal ]

no ipv6 route [ vrf vrfName ] prefix [ nextHop | interfaceType interfaceSpecifier ]
[ distance ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
vrf keyword and vrfName variable added in JunosE Release 7.2.0.
reject and discard keywords added in JunosE Release 12.0.0.
tag keyword and tagVal variable added in JunosE Release 12.3.0.

#### Description

Configures a static IPv6 prefix route. The no version removes a static IPv6 prefix route.

#### Options

- vrfName—Name of the VRF; string of 1–32 alphanumeric characters
- prefix—Combination of both a prefix and prefix length (mask) value. The prefix (IP address or network) defines the IPv6 interface or network. The prefix (mask) length of the IPv6 prefix is a decimal value that indicates how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark must precede the decimal value. An example of a prefix would be “ 7fff::0/16” , “ 7fff::0/32” , “ 7fff:2:3::0/24” , or “ 7fff::1/128” .
- nextHop—IPv6 address of the next-hop to reach the destination prefix (network). The next-hop address need not be directly connected; recursion locates the physical next-hop.
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- distance—Preference value for the IPv6 route. A default value of 1 gives static routes precedence over any other type of route (with the exception of connected routes).
- reject—Discards packets received on the static route for the specified interface that are not processed by the router and sends ICMP unreachable messages to the originator. This option is available only for null interfaces
- discard—Discards packets received on the static route for the specified interface that are not processed by the router and does not send ICMP unreachable messages to the originator. This option is available only for null interfaces
- tagVal—Number in the range 0–4294967295 that identifies the tag for this route; default value is 0

#### Mode

Global Configuration

#### Published: 2011-09-29

Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2011 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out