Documente Academic
Documente Profesional
Documente Cultură
Chapter 1: IPv6
Please note also that that IPv6 forwarding is enabled by default. If you want to
disable IPv6 forwarding, use the following command in configuration mode: set
system ipv6 disable-forwarding.
IPv6 Configuration
This section presents the following topics:
• IPv6 Overview
• IPv6 Configuration Examples
IPv6 Overview
This section presents the following topics:
• IPv6 Background
• IPv6 Addressing
• Special Addresses
• IPv6 Autoconfiguration
IPv6 Background
There are two versions of the Internet Protocol in use today. Version 4 (IPv4) is the version
most commonly in use. IPv6 is version 6 of the Internet Protocol. The version currently in
use by most devices is version 4 (IPv4). However, there are issues with IPv4, and the
Internet Engineering Task Force (IETF) has designated IPv6 to succeed IPv4 as the
next-generation protocol for use on the Internet.
IPv6 has a number of advantages over IPv4. The following are four important ones:
• Large address space.
An IPv4 address consists of four bytes (32 bits). IPv6 addresses consist of 16 bytes
(128 bits). The increase from 32 to 128 bits results in a huge number of available
addresses: 79 billion billion billion times the addresses available in the IPv4—this is
about 1038 addresses, or 1030 addresses for each person on the planet.
The expanded address space means that IPv6 does not face the address exhaustion
problems predicted imminently for IPv4. Furthermore, the availability for so many
addresses means that private address spaces are not required, and address shortgage
work-arounds such as Network Address Translation (NAT) can be eliminated. With no
private addresses, there need be no hidden networks or hosts, and all devices can be
globally reachable. A larger address space also means that features such as
multihoming and aggregation are easier to implement.
IPv6 Addressing
IP addresses generally take the following form:
x:x:x:x:x:x:x:x
Addresses are case-insensitive; for example, the following is equivalent to example given
above:
1EF7:0000:0000:0000:51da:27c0:E4c2:0124
Leading zeros are optional; for example, the following is a valid IPv6 address:
1EF7:0:0:0:51DA:27C0:E4C2:124
IPv6 addresses often contain many bytes with a value of zero. Successive fields of zeros
can be represented by replacing them with a double colon, as in the following:
1EF7::51DA:27C0:E4C2:124
and this:
0:0:0:0:0:0:0:1
is equivalent to this:
::1
The replacement by the double colon may be made only once within an address, as using
the double colon more than once can result in ambiguity. For example, the following:
1EF7::27C0::E4C2:0124
IPv6 addresses that are extensions of IPv4 addresses can be written in a mixed notation,
where the the rightmost four bytes of the IPv6 address are replaced with the four decimal
octets of the IPv4 address. In mixed notation, the four hexademical bytes are separated by
colons and the four decimal octets are separated by dots, as in the following example:
1EF7:0:0:0:192.168.100.51
Special Addresses
Like IPv4, IPv6 has some special addresses, which are used by convention for special
functions. For unicast addresses, these include the following:
• The unspecified address. This address is used as a placeholder ) when no address is
available (for example, in an initial DHCP address), or to stand for “any” address. In
IPv6, the unspecified address can be represented as either of the following:
0:0:0:0:0:0:0:0
::
• The localhost (loopback) interface. The loopback interface is a software interface that
represents the local device itself. In IPv4, the address 127.0.0.1 is used by convention
for the loopback interface. In IPv6, the loopback interface can be represented by either
of the following:
0:0:0:0:0:0:0:1
::1
The IPv6 address architecture is quite rich, and includes types of addressing unavailable in
IPv4, such as unicast and multicast scoped addresses, aggregatable global addresses, and
anycast addresses. Multicast broadcast addresses do not exist in IPv6. For more
information about the IPv6 address architecture, consult RFC 4291, IP Version 6
Addressing Architecture.
IPv6 Autoconfiguration
IPv6 supports two mechanisms for automatically configuring devices with IP addresses:
“stateful” and “stateless.”
In stateful configuration, addressing and service information is distributed by a protocol
(DHCPv6) in the same way that the Dynamic Host Configuration Protocol (DHCP)
distributes information for IPv4. This information is “stateful” in that both the DHCP
server and the DHCP client must maintain the addressing and service information. The
Vyatta system does not currently support DHCPv6, for which a standard is not yet
available.
The Vyatta system supports stateless configuration. In stateless configuration, the IPv6
system constructs its own unicast global address from the device’s network prefix together
with its Ethernet media access control (MAC) address and proposes this address to the
network without requiring approval from a server (such as a DHCP server). The
combination of network prefix and MAC address is assumed to be unique. Stateless
autoconfiguration performed by default by most IPv6 systems, including the Vyatta system.
For more information on IPv6 autoconfiguration, refer to RFC 2462, IPv6 Stateless
Address Autoconfiguration.
IPv6 Basics
This section provides an overview of how to provide basic IPv6 configuration and
operation. This section presents the following topics:
• Verify IPv6 Support
• Configure an IPv6 Address on an Interface
• Display the IPv6 Routing Table
• Confirm Connectivity
• Display IPv6 Neighbor Discovery (ND) Cache
• Clear ND Cache
Step Command
R1 R2
eth2 eth0
2001:db8:2::1 2001 :db8:2::2
2001:db8:2::/64
IPv6 addresses are configured on Ethernet interfaces in the same way that IPv4 addresses
are.To configure eth2 on R1, perform the following steps in configuration mode.
Step Command
Add the IPv6 address to the eth2 vyatta@R1# set interfaces ethernet eth2 address
interface. 2001:db8:2::1/64
[edit]
Step Command
Add the IPv6 address to the eth0 vyatta@R2# set interfaces ethernet eth0 address
interface. 2001:db8:2::2/64
[edit]
Step Command
Confirm Connectivity
To confirm that R1 and R2 can communicate, use the ping6 command. To confirm
connectivity, perform the following step in operational mode.
Step Command
Step Command
Clear ND Cache
To clear the Neighbor Discovery (ND) cache, use the clear ipv6 neighbors command. To
clear the ND cache on interface eth2, perform the following step in operational mode.
Step Command
Clear the list of known neighbors vyatta@R1:~$ clear ipv6 neighbors interface eth2
on eth2.
R4
eth0
2001:db8:1::1
2001:db8:1::/64
2001:db8:1::1
eth0
R1 R2
eth2 eth0
2001:db8:2::1 2001 :db8:2::2
2001:db8:2::/64
Step Command
If forwarding is not enabled, as is the case in Example 1-8, the system must be configured
to enable forwarding. To enable forwarding, perform the following steps in configuration
mode.
Step Command
Step Command
Add the default route on R4. vyatta@R4# set protocols static route6 ::/0 next-hop
2001:db8:1::1
[edit]
Step Command
Add a static route on R2. vyatta@R2# set protocols static route6 2001:db8:1::/64
next-hop 2001:db8:2::1
[edit]
Confirm Connectivity
To confirm that R2 and R4 can communicate, use the ping6 command. To confirm
connectivity between R2 and R4, perform the following step in operational mode.
Step Command
As an alternative, use traceroute6 to verify that the goes from R2 to R1 to R4. To confirm
connectivity between R2 and R4 through R1 using traceroute6, perform the following step
in operational mode.
Step Command
R4 R3
eth0 eth1
2001:db8:1::1 2001 :db8:3::3
2001:db8:1::/64 2001:db8:3::/64
R1 R2
eth2 eth0
2001:db8:2::1 2001 :db8:2::2
2001:db8:2::/64
Step Command
Step Command
Step Command
Step Command
Step Command
The "R" in the first column indicates that two routes have been learned from RIPng. Since
there is now a route for 2001:db8:3::/64 we should be able to ping R3. To confirm
connectivity, perform the following steps in operational mode.
Step Command
R4 R3
eth0 eth1
2001:db8:1::1 2001:db8:3::3
2001:db8:1::/64 2001:db8:3::/64
2001:db8:1::1 2001:db8:3::2
eth0 eth1
AS=1 R1 R2 AS=2
eth2 eth0
2001:db8:2::1 2001:db8:2::2
2001:db8:2::/64
Step Command
Step Command
Step Command
Configure a BGP peer on R1. vyatta@R1# set protocols bgp 1 neighbor 2001:db8:2::2
remote-as 2
[edit]
Step Command
Configure a BGP peer on R2. vyatta@R2# set protocols bgp 2 neighbor 2001:db8:2::1
remote-as 1
[edit]
To confirm that the peer session is "Established", perform the following step in operational
mode.
Step Command
Display the status of the BGP vyatta@R1:~$ show ip bgp neighbors 2001:db8:2::2
neighbor. BGP neighbor is 2001:db8:2::2, remote AS 2, local AS 1,
external link
BGP version 4, remote router ID 172.16.139.160
BGP state = Established, up for 00:01:24
Last read 00:00:24, hold time is 180, keepalive
interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Route refresh: advertised and received(old & new)
Address family IPv6 Unicast: advertised and received
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 2 0
Notifications: 0 0
Updates: 0 0
Keepalives: 3 2
Route Refresh: 0 0
Capability: 0 0
Total: 5 2
Minimum time between advertisement runs is 30 seconds
Step Command
Step Command
Display routes advertised by R1. vyatta@R1:~$ show ipv6 bgp neighbors 2001:db8:2::2
advertised-routes
BGP table version is 0, local router ID is 172.16.117.128
Status codes: s suppressed, d damped, h history, * valid,
> best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Display routes learned by R1. vyatta@R1:~$ show ipv6 bgp neighbors 2001:db8:2::2
routes
BGP table version is 0, local router ID is 172.16.117.128
Status codes: s suppressed, d damped, h history, * valid,
> best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
R4 R3
eth0 eth1
2001 :db8:1::1 2001 :db8:3::3
2001:db8:1::/64 2001:db8:3::/64
R1 R2
eth2 eth0
15.0.0.1 15.0.0.2
tun0 tun0
2001:db8:2::1 2001:db8:2::2
15.0.0.0/24
Tunnel
We assume that all interfaces have been configured with IP addresses as shown in the
example. We will also assume that R1 and R2 have forwarding enabled.
Step Command
Create a tunnel with SIT vyatta@R1# set interfaces tunnel tun0 encapsulation sit
encapsulation. [edit]
Specify the local IP address. vyatta@R1# set interfaces tunnel tun0 local-ip 15.0.0.1
[edit]
Specify the remote IP address. vyatta@R1# set interfaces tunnel tun0 remote-ip 15.0.0.2
[edit]
Configure the IPv6 address on vyatta@R1# set interfaces tunnel tun0 address
the interface. 2001:db8:2::1/64
[edit]
Step Command
Create a tunnel with SIT vyatta@R2# set interfaces tunnel tun0 encapsulation sit
encapsulation. [edit]
Specify the local IP address. vyatta@R2# set interfaces tunnel tun0 local-ip 15.0.0.2
[edit]
Specify the remote IP address. vyatta@R2# set interfaces tunnel tun0 remote-ip 15.0.0.1
[edit]
Configure the IPv6 address on vyatta@R2# set interfaces tunnel tun0 address
the interface. 2001:db8:2::2/64
[edit]
At this point there is connectivity between R1 and R2 across the tunnel interface. The
following shows a capture of a ping from 2001:db8:2::1 to 2001:db8:2::2. Notice that the
IPv6 ping packet in encapsulated by the IPv4 header:
0000 9b a8 25 49 58 0c 07 00 08 09 0a 0b 0c 0d 0e 0f ..%IX...........
0010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f ................
0020 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f !"#$%&'()*+,-./
0030 30 31 32 33 34 35 36 37 01234567
IPv6 Commands
This chapter contains the following commands.
Configuration Commands
BGP
protocols bgp <asn> ipv6 aggregate-address <ipv6net> Specifies a block of IPv6 addresses to aggregate.
protocols bgp <asn> ipv6 network <ipv6net> Specifies an IPv6 network to be advertised by the BGP
routing process.
protocols bgp <asn> ipv6 redistribute connected Redistributes directly connected routes into BGP.
protocols bgp <asn> ipv6 redistribute kernel Redistributes kernel routes into BGP.
protocols bgp <asn> ipv6 redistribute ospfv3 Redistributes routes learned from OSPFv3 into BGP.
protocols bgp <asn> ipv6 redistribute ripng Redistributes routes learned from RIPng into BGP.
protocols bgp <asn> ipv6 redistribute static Redistributes static routes into BGP.
RIPng
Static Routes
protocols static interface-route6 <subnet> Allows you to configure the next hop interface for an
next-hop-interface <ethx> interface-based IPv6 static route.
protocols static route6 <subnet> blackhole Allows you to configure a blackhole IPv6 static route.
protocols static route6 <subnet> next-hop <address> Allows you to configure the next hop for an IPv6 static
route.
Operational Commands
BGP
show ipv6 bgp community <community> Displays BGP routes belonging to the specified BGP
community.
show ipv6 bgp community-list <list-name> Displays BGP routes permitted by the specified
community list.
show ipv6 bgp filter-list <list-num> Displays routes matching a list of autonomous system
paths.
show ipv6 bgp neighbors <ipv6> advertised-routes Displays advertised routes for a BGP neighbor.
show ipv6 bgp neighbors <ipv6> received-routes Displays routes received from a BGP neighbor.
show ipv6 bgp neighbors <ipv6> routes Displays all received and accepted routes from a BGP
neighbor.
show ipv6 bgp prefix-list <list-name> Displays BGP routes matching a prefix list.
show ipv6 bgp regexp <regexp> Displays routes matching an AS path regular expression.
System Management
clear ipv6 neighbors address <ipv6> Clears a specific IPv6 address from the IPv6 ND cache.
clear ipv6 neighbors interface <ethx> Clears the system’s IPv6 ND cache for a specific
interface.
clear ipv6 route cache Flushes the kernel IPv6 route cache.
show ipv6 route Displays IPv6 routes stored in the RIB and FIB.
show ipv6 route <ipv6net> longer-prefixes Displays IPv6 prefixes longer than a specified prefix.
show ipv6 route cache Displays the kernel IPv6 route cache.
show ipv6 route forward Displays IPv6 routes stored in the FIB.
Diagnostics
traceroute6 <host> Displays the route packets take to an IPv6 network host.
RIPng
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to remove entries associated with a specific IPv6 address from the
Neighbor Discovery cache.
Syntax
Command Mode
Operational mode.
Parameters
eth0..eth23 Clears the entire IPv6 ND (Neighbor Discovery) cache for the specified
Ethernet interface. The range of values is eth0 to eth23.
Default
None.
Usage Guidelines
Use this command to remove entries associated with an Ethernet interface from the IPv6
Neighbor Discovery cache.
Syntax
Command Mode
Operational mode.
Parameters
Default
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
ipv6net Optional. Flushes the specified route from the kernel IPv6 route cache.
Default
Usage Guidelines
Use this command to flush the kernel IPv6 route cache or a flush a specific route from the
cache.
ping6 <host>
Sends ICMP ECHO_REQUEST packets to IPv6 network hosts.
Syntax
ping6 host
Command Mode
Operational mode
Parameters
host The host being pinged. Can be specified either as name (if DNS is
being used on the network) or as an IPv6 address.
Usage Guidelines
The ping6 command is used to test whether an IPv6 network host is reachable or not.
The ping6 command uses the ICMP protocol’s mandatory ECHO_REQUEST datagram
to elicit an ICMP ECHO_RESPONSE from a host or gateway. ECHO_REQUEST
datagrams (pings) have an IP and ICMP header, followed by a “struct timeval” and
then an arbitrary number of pad bytes used to fill out the packet.
To interrupt the ping6 command, press <Ctrl>+c.
When using ping6 for fault isolation, it should first be run on the local host, to verify that
the local network interface is up and running. Then, hosts and gateways further and further
away should be “pinged”. Round-trip times and packet loss statistics are computed.
If duplicate packets are received, they are not included in the packet loss calculation,
although the round-trip time of these packets is used in calculating the
minimum/average/maximum round-trip time numbers. When the specified number of
packets have been sent (and received) or if the program is terminated, a brief summary is
displayed.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
aggregate-address ipv6net {
summary-only
}
}
}
}
Parameters
ipv6net Mandatory. The IPv6 network from which routes are to be aggregated.
The format is ipv6-address/prefix.
summary-only Specifies that aggregated routes are summarized. These routes will not
be announced.
Usage Guidelines
Use the set form of this command to specify a contiguous block of IPv6 addresses to
aggregate.
Use the delete form of this command to delete an aggregate address.
Use the show form of this command to view aggregate address configuration settings.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
network ipv6net
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides.
The range of values is 1 to 65535. The subrange 64512 to 65535
is reserved for private autonomous systems.
Default
None.
Usage Guidelines
Use the set form of this command to specify an IPv6 network to be announced via BGP.
Use the delete form of this command to remove an IPv6 network from the list of networks
to be announced by BGP.
Use the show form of this command to view BGP network advertising configuration
settings.
Syntax
set protocols bgp asn ipv6 redistribute connected [metric metric | route-map
map-name]
delete protocols bgp asn ipv6 redistribute connected [metric | route-map]
show protocols bgp asn ipv6 redistribute
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
redistribute {
connected {
metric: u32
route-map: text
}
}
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides. The
range of values is 1 to 65535. The subrange 64512 to 65535 is reserved
for private autonomous systems.
Default
When this command has not been set, directly connected routes are not distributed into
BGP.
Usage Guidelines
Syntax
set protocols bgp asn ipv6 redistribute kernel [metric metric | route-map map-name]
delete protocols bgp asn ipv6 redistribute kernel [metric | route-map]
show protocols bgp asn ipv6 redistribute
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
redistribute {
kernel {
metric: u32
route-map: text
}
}
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides. The
range of values is 1 to 65535. The subrange 64512 to 65535 is reserved
for private autonomous systems.
Default
When this command has not been set, kernel routes are not distributed into BGP.
Usage Guidelines
Syntax
set protocols bgp asn ipv6 redistribute ospfv3 [metric metric | route-map map-name]
delete protocols bgp asn ipv6 redistribute ospfv3 [metric | route-map]
show protocols bgp asn ipv6 redistribute
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
redistribute {
ospfv3 {
metric: u32
route-map: text
}
}
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides. The
range of values is 1 to 65535. The subrange 64512 to 65535 is reserved
for private autonomous systems.
Default
When this command has not been set, routes learned from OSPFv3 are not distributed into
BGP.
Usage Guidelines
Use this command to redistribute Open Shortest Path First version 3 (OSPFv3) routes into
BGP.
Use the set form of this command to direct the router to redistribute routes learned from
OSPFv3 into BGP.
Use the delete form of this command to prevent redistribution of routes learned from
OSPFv3 into BGP.
Use the show form of this command to view route redistribution configuration settings.
Syntax
set protocols bgp asn ipv6 redistribute ripng [metric metric | route-map map-name]
delete protocols bgp asn ipv6 redistribute ripng [metric | route-map]
show protocols bgp asn ipv6 redistribute
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
redistribute {
ripng {
metric: u32
route-map: text
}
}
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides. The
range of values is 1 to 65535. The subrange 64512 to 65535 is reserved
for private autonomous systems.
Default
When this command has not been set, routes learned from RIPng are not distributed into
BGP.
Usage Guidelines
Use this command to redistribute Routing Information Protocol next generation (RIPng)
routes into BGP.
Use the set form of this command to direct the router to redistribute routes learned from
RIPng into BGP.
Use the delete form of this command to prevent redistribution of routes learned from RIPng
into BGP.
Use the show form of this command to view route redistribution configuration settings.
Syntax
set protocols bgp asn redistribute ipv6 static [metric metric | route-map map-name]
delete protocols bgp asn redistribute ipv6 static [metric | route-map]
show protocols bgp asn redistribute
Command Mode
Configuration mode.
Configuration Statement
protocols {
bgp asn {
ipv6 {
redistribute {
static {
metric: u32
route-map: text
}
}
}
}
}
Parameters
asn Mandatory. The number for the AS in which this router resides. The
range of values is 1 to 65535. The subrange 64512 to 65535 is reserved
for private autonomous systems.
Default
When this command has not been set static routes are not distributed into BGP.
Usage Guidelines
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
ripng {
aggregate-address ipv6net
}
}
Parameters
ipv6net Mandatory. The IPv6 network from which routes are to be aggregated.
The format is ipv6-address/prefix.
Usage Guidelines
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
ripng {
network: ipv6net
}
}
Parameters
Default
None.
Usage Guidelines
Use this command to identify Routing Information Protocol next generation (RIPng)
networks.
Use the set form of this command to specify a RIPng network.
Use the delete form of this command to remove a RIPng network.
Use the show form of this command to display RIPng network configuration.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
ripng {
route ipv6net
}
}
Parameters
ipv6net Mandatory. The IPv6 network address defining the RIPng static route.
Default
None.
Usage Guidelines
Use this command for setting static routes in Routing Information Protocol next generation
(RIPng).
Use the set form of this command to define a RIPng static route.
Use the delete form of this command to remove a RIPng static route.
Use the show form of this command to display RIPng static route configuration.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
static {
interface-route6 ipv6net {
next-hop-interface eth0..eth23 {
distance 1-255
}
}
}
}
Parameters
distance Optional. Defines the next-hop distance for this route. Routes
with a smaller distance are selected before those with a larger
distance.
Default
None.
Usage Guidelines
Use this command to configure interface-based IPv6 static routes on the router.
Use the set form of this command to specify the next hop interface for the route.
Use the delete form of this command to remove the next hop interface.
Use the show form of this command to view the next hop interface for the route.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
static {
route6 ipv6net {
blackhole {
distance 1-255
}
}
}
}
Parameters
distance Optional. Defines the blackhole distance for this route. Routes
with a smaller distance will be selected before those with a
larger distance.
Default
None.
Usage Guidelines
Use this command to configure a blackhole IPv6 static route. A blackhole route silently
discards packets that are matched.
Use the set form of this command to specify a blackhole IPv6 static route.
Use the delete form of this command to remove a blackhole IPv6 static route.
Use the show form of this command to view blackhole IPv6 static route configuration.
Syntax
Command Mode
Configuration mode.
Configuration Statement
protocols {
static {
route6 ipv6net {
next-hop ipv6 {
distance 1-255
}
}
}
}
Parameters
distance Optional. Defines the next-hop distance for this route. Routes
with a smaller distance will be selected before those with a
larger distance.
Default
None.
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
ipv6 Optional. Displays routes for the neighbor at the specified IPv6
address.
longer-prefixes Optional. Displays any routes more specific than the one specified.
Default
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to display the BGP routes belonging to up to four BGP communities.
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to display the BGP routes permitted by the specified community list.
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to filter displayed routes according to preconfigured access list of
autonomous system paths.
BGP filter lists are defined using the the policy as-path-list command.
Syntax
Command Mode
Operational mode.
Parameters
Default
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to display routes (both accepted and rejected) received from a BGP
neighbor.
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to display received and accepted routes from a BGP neighbor.
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Use this command to display routes that match a preconfigured prefix list.
Prefix lists are configured using the policy prefix-list command.
Syntax
Command Mode
Operational mode.
Parameters
Default
None.
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Use this command to display the system’s IPv6 ND (Neighbor Discovery) cache.
Table 1-1 shows possible ND states.
State Description
stale More than the configured elapsed time has passed since reachability
confirmation was received from this neighbor.
delay More than the configured elapsed time has passed since reachability
confirmation was received from this neighbor. This state allows TCP
to confirm the neighbor. If not, a probe should be sent after the next
delay time has elapsed.
probe A solicitation has been sent and the router is waiting for a response
from this neighbor.
State Description
permanent The neighbor entry is valid indefinitely and should not be cleared
from the cache.
Syntax
Command Mode
Operational mode.
Parameters
Default
Usage Guidelines
Use this command to see information about the Routing Information Protocol next
generation (RIPng).
Syntax
Command Mode
Operational mode.
Parameters
ipv6 Optional. Displays routing information for the specified IPv6 address.
ipv6net Optional. Displays routing information for the specified IPv6 prefix.
Default
Usage Guidelines
Use this command to display active IPv6 prefixes stored in the Routing Information Base
(RIB), as well as those stored in the Forwarding Information Base (FIB).
The routes shown in the FIB can also be seen using the show ipv6 route forward command
(see page 75).
Syntax
Command Mode
Operational mode.
Parameters
ipv6net Mandatory. Displays all prefixes longer than the specified IPv6 prefix.
Default
None.
Usage Guidelines
Use this command to display all prefixes in the Routing Information Base (RIB) that are
longer than a given IPv6 address or prefix.
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
ipv6net Optional. Displays kernel IPv6 route cache information for the specified
route.
Default
Usage Guidelines
Use this command to display information about routes stored in the kernel IPv6 route
cache. The route cache contains all paths currently in use by the cache. Multiple equal-cost
paths are necessary before equal-cost-multi-path (ECMP) routing can be performed.
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Use this command to display IPv6 routes directly connected to the local system.
Syntax
Command Mode
Operational mode.
Parameters
ipv6net Optional. Displays information from the kernel forwarding table for the
specified IPv6 route.
Default
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Use this command to display IPv6 kernel routes. Kernel routes are routes that have been
added through means other than by using the Vyatta CLI.
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Syntax
Command Mode
Operational mode.
Parameters
None.
Default
None.
Usage Guidelines
Use this command to display IPv6 static routes in the Routing Information Base (RIB).
traceroute6 <host>
Displays the route packets take to an IPv6 network host.
Syntax
traceroute6 host
Command Mode
Operational mode
Parameters
host The host that is the destination for the packets. Can be specified
either as name (if DNS is being used on the network) or as an IPv6
address.
Usage Guidelines
Traceroute utilizes the IP protocol time to live (“ttl”) field and attempts to elicit an ICMP
TIME_EXCEEDED response from each gateway along the path to some host to track the
route a set of packets follows.It attempts to trace the route an IP packet would follow to
some internet host by launching UDP probe packets with a small ttl then listening for an
ICMP “time exceeded” reply from a gateway.