ipv6 address

The command creates IPv6 interface and adds IPv6 address and subnet mask for a configured interface: physical interface, link aggregation group, tunnel or network bridge.

The use of a negative form (no) of the command removes IPv6 address from the interface. When removing the last address, IPv6 interface is destroyed.

When creating IPv6 interface, the system reserves the biggest vacant VLAN ID that will be used within the system. VLAN is reserved for each IPv6 interface on Ethernet port. If VLAN has already been reserved for IP interface, then VLAN will not be reserved for IPv6 interface.

You may reserve VLAN ID for internal use by ip internal-usage vlan <VLAN_ID> command.

Syntax
ipv6 address <IPV6-ADDR/LEN>
no ipv6 address {<IPV6-ADDR/LEN>|all}
Parameters

<IPV6-ADDR/LEN> – IP address and prefix of a subnet, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128]. You can specify several IPv6 addresses separated by commas. Up to 8 IPv6 addresses (including IP addresses) can be assigned to the interface. The use of a negative form (no) of the command with ‘all’ parameter removes all IPv6 address profiles.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 address fc00::1/120
CODE

ipv6 enable

The command enables IPv6 on the interface.

The use of a negative form (no) of the command disables IPv6 on the interface.

Syntax
[no] ipv6 enable
Parameters

The command does not contain parameters.

Default value

IPv6 support is disabled.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 enable
CODE

ipv6 nd managed-config-flag

This command sets managed-config-flag in SLAAC messages. Using this flag determines the receipt of all IPv6 settings from the DHCPv6 server.

The use of a negative form (no) of the command sets the default value.

Syntax
[no] ipv6 nd managed-config-flag
Parameters

None.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd managed-config-flag 
CODE

ipv6 nd ns-interval

This command sets the interval for sending IPv6 neighbor search solicitation messages for a broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd ns-interval <TIME>
no ipv6 nd ns-interval
Parameters

<TIME> – transmission interval, specifies in milliseconds [1..172800000].

Default value

0

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd ns-interval 2000
CODE

ipv6 nd other-config-flag

This command sets other-config-flag in SLAAC messages. The use of this flag implies the provision of IPv6 prefix via SLAAC protocol, and the remaining parameters via DHCPv6 protocol.

The use of a negative form (no) of the command sets the default value.

Syntax
[no] ipv6 nd other-config-flag
Parameters

None.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd other-config-flag
CODE

ipv6 nd prefix

This command sets IPv6 prefix for broadcast SLAAC messages for the broadcast domain.

The use of a negative form (no) of the command.

Syntax
ipv6 nd prefix <IPV6-ADDR/LEN> <VLAID-TIME> <PREFER-TIME> [no-autoconfig] [no-onlink]
no ipv6 nd prefix
Parameters

<IPV6-ADDR/LEN> – IP address and prefix of a subnet, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128];

<VLAID-TIME> – acceptable lifetime of the advertisement, specified in seconds [1..2147483647];

<PREFER-TIME> – preferable lifetime of the advertisement, specified in seconds [1..2147483647];

[no-autoconfig] – do not use Neighbor Discovery to set all valid channel prefixes from router advertisements (RA) received on the interface;

[no-onlink] – сonfigures the specified prefix as non-on-link. The prefix will be declared with the L-bit set.

Default value

The prefix is not set;

valid time – 0;

preffered time – 0;

no-onlink – not set;

no-autoconfig – not set.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd prefix
CODE

ipv6 nd ra hop-limit

This command sets hop-limit parameter for broadcast SLAAC messages for the broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd ra hop-limit <HOP-LIMIT>
no ipv6 nd ra hop-limit
Parameters

<HOP-LIMIT> – specifies in the range [0..255].

Default value

64

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd ra hop-limit 128
CODE

ipv6 nd ra lifetime

This command sets lifetime parameter for broadcast SLAAC messages for the broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd ra lifetime <TIME>
no ipv6 nd ra lifetime
Parameters

<TIME> – lifetime of the advertised router advertisements is determined in seconds [0..9000].

Default value

Not limited.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd ra lifetime 120
CODE

ipv6 nd ra max-interval

This command sets maximum interval for broadcast SLAAC messages for the broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd ra max-interval <TIME>
no ipv6 nd ra max-interval
Parameters

<TIME> – maximum interval for sending SLAAC messages is determined in seconds [4..1800].

Default value

600

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd ra max-interval 1200
CODE

ipv6 nd ra min-interval

This command sets minimum interval for broadcast SLAAC messages for the broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd ra min-interval <TIME>
no ipv6 nd ra min-interval
Parameters

<TIME> – minimum interval for sending SLAAC messages is determined in seconds [3..1350].

Default value

200

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd ra min-interval 30
CODE

ipv6 nd router-preference

This command sets the priority of the router in the process of selecting the default route for the broadcast domain.

The use of a negative form (no) of the command sets the default value.

Syntax
ipv6 nd router-preference <ACTION>
no ipv6 nd router-preference
Parameters

<ACTION> – takes values:

  • low;
  • medium;
Default value

medium

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-LOOPBACK

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 nd router-preference low
CODE

ipv6 redirects

The command enables the mechanism of sending ICMP messages about the existence of a router with a higher priority in the IPv6 network for a specific IPv6 destination.

The use of a negative form of the command (no) disables the mechanism of sending ICMP messages about the existence of a router with a higher priority in the IPv6 network for a specific IPv6 destination.

Syntax
[no] ipv6 redirects
Parameters

The command does not contain parameters.

Required privilege level

15

Default value

Sending of ICMP messages about the existence of a router with a higher priority in the IP network for a specific IP destination is enabled.

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

Example
esr(config-if-gi)# no ipv6 redirects
CODE

ipv6 route source-route

This command enables the ipv6 source-route option on the router.

The use of a negative form of the command (no) disables the support for the ipv6 source-route option.

Syntax
[no] ipv6 route source-route
Parameters

None.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 route source-route
CODE

ipv6 unreachables

The command enables sending of IPv6 CIMP packets about destination address unavailability.

The use of a negative form of the command (no) disables the sending of IPv6 ICMP packets about destination address unavailability.

Syntax
[no] ipv6 unreachables
Parameters

The command does not contain parameters.

Default value

Sending of IPv6 ICMP packets about destination address unavailability is enabled.

Required privilege level

15

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

Example
esr(config-if-gi)# no ipv6 unreachables
CODE

show ipv6 interfaces

The command displays information on IPv6 interfaces existing in the system.

Syntax
show ipv6 interfaces { { <IF> | <TUN> | ipv6-address <IPV6-ADDR> } | vrf <VRF> [ ipv6-address <IPV6-ADDR> ] }
Parameters

<VRF> – VRF instance name, set by the string of up to 31 characters. When specifying this parameter, IPv6 interfaces will be displayed in a specified VRF;

<IF> – system interface names, specified in the form described in Section Types and naming order of router interfaces;

<TUN> – names of tunnels are specified as described in section Types and naming order of router tunnels;

<IPV6-ADDR> – IPv6 address, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128]. When specifying this parameter, IPv6 interface with a specified IPv6 address will be displayed.

You may specify several system interfaces in the command. If you do not specify interface indexes, then all IPv6 interfaces related to the system interfaces of the specified type will be displayed.

If the command specifies a certain system interface that receives IPv6 parameters via DHCP, DHCP client settings and the status of IPv6 parameters current lease will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 interfaces
IPv6 address                                          Interface       Type
---------------------------------------------------   -------------   -------
fc00::2/120                                           gi1/0/5         static
fe80::aaf9:4bff:feaa:45/64                            gi1/0/5         static
esr# show ip interfaces gigabitethernet 1/0/16
IP address            Interface       Type
-------------------   -------------   -------
16.0.0.2/24           gi1/0/16        DHCP
 DHCP Client settings:
 DHCP Server:          N/A
 Lease time(dd:hh:mm): 00:02:00
 Reboot time:          10 seconds
 Retry time:           300 seconds
 Timeout:              60 seconds
 Select timeout:       0 seconds
 Vendor class ID:      N/A
 Ignore options:
    router
 Latest lease contents:
 Lease time(dd:hh:mm): 00:02:00
 DHCP message type:    DHCPACK
 Renew at:             Wednesday2015/02/25 12:22:24 2015/02/25 12:22:24
 Rebind at:            Wednesday2015/02/25 13:14:09 2015/02/25 13:14:09
 Expires at:           Wednesday2015/02/25 13:29:09 2015/02/25 13:29:09
CODE