Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Shared IPv6 Interfaces

    You can create multiple shared IPv6 interfaces over the same layer 2 logical interface.

    Note:

    • Before you configure IPv6, you must create the lower-layer interfaces over which IPv6 traffic flows.
    • You must configure an IPv6 license using the license ipv6 command before using the IPv6 routing protocol configuration commands on the E Series router.
    • All IPv6 routing protocol configurations are removed from the virtual router when you issue the no ipv6 command.

    This topic describes the following:

    Creating a Shared IPv6 Interface

    You can create an IPv6 interface for interface sharing using the interface ipv6 command. You should use the specified name to refer to the shared IPv6 interface; you cannot use the layer 2 interface to refer to them, because the shared interface can be moved.

    To create an IPv6 interface for interface sharing:

    • Issue the interface ipv6 command in Global Configuration mode.
      host1(config)#interface ipv6 si1

      Use the no version to delete the IPv6 interface.

    Associating the Shared IPv6 Interface with the Layer 2 Interface

    You can specify the layer 2 interface used by a shared IPv6 interface. The command fails if the layer 2 interface does not yet exist. The command is not supported (that is, it fails) if you use an RSVP tunnel (for example, tunnel mpls:1) to identify the layer 2 interface.

    After creating the shared IPv6 interface, you can configure it as you do any other IPv6 interface. The shared interface is operationally up when the layer 2 interface is operationally up. You can create operational shared IPv6 interfaces in the absence of a primary IPv6 interface.

    To associate a shared IPv6 interface with a layer 2 interface:

    • Issue the ipv6 share-interface command in Interface Configuration mode.
      host1(config-if)#ipv6 share-interface atm 5/3.101

      Use the no version to remove the association between the layer 2 interface and the shared IPv6 interface. You can delete shared and primary IPv6 interfaces independently.

    Example: Configuring Shared IPv6 Interfaces

    This example explains how to create a shared IPv6 interface over a layer 2 logical interface.

    Requirements

    This example uses the following software and hardware components:

    • JunosE Release 7.1.0 or higher-numbered releases
    • E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
    • ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet

    Overview

    You can create multiple shared IPv6 interfaces over the same layer 2 logical interface—for example, atm 5/3.101—enabling more than one IPv6 interface to share the same logical resources.

    Creating a Shared IPv6 Interface over a Layer 2 Logical Interface

    To share IPv6 interfaces:

    1. Create a layer 2 interface.
      host1(config)#interface atm 5/3 host1(config-if)#interface atm 5/3.101
    2. (Optional) Create a primary IPv6 interface.
      host1(config-if)#ipv6 address 1::1/64 host1(config-if)#exit
    3. Create the shared IPv6 interface.
      host1(config)#interface ipv6 si0
    4. Associate the shared IPv6 interface with the layer 2 interface by the following method:
      host1(config-if)#ipv6 share-interface atm 5/3.101
    5. To fully configure the shared interface, assign an address (or make the interface unnumbered).
      host1(config-if)#ipv6 address 1::1/64

    Published: 2014-08-13