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

    IPv6 Profiles

    You can create a profile, add IP version 6 (IPv6) characteristics to the profile, and assign the profile to IPv6 interfaces.

    IPv6 Profiles Overview

    You can configure an IPv6 interface dynamically by creating a profile. A profile is a set of characteristics that acts as a pattern that can be dynamically assigned to an IPv6 interface. You can manage a large number of IPv6 interfaces efficiently by creating a profile with a specific set of characteristics. In addition, you can create a profile to assign an IPv6 interface to a virtual router.

    A profile can contain one or more of the following characteristics:

    • address—Configures an IPv6 address on an interface
    • mld—Configures the Multicast Listener Discovery (MLD) interface
    • mtu—Configures the maximum transmission unit (MTU) for a network
    • nd—Configures Neighbor Discovery router advertisement characteristics
    • policy—Attaches (or removes) a policy to (or from) an interface
    • sa-validate—Enables source address validation
    • unnumbered—Configures IPv6 on this interface without a specific address
    • virtual-router—Specifies a virtual router to which interfaces created by this profile will be attached

      Note: You can also configure any of these IPv6 characteristics outside the profile configuration mode.

    Creating a Profile

    You can use the profile command from Global Configuration mode to create or edit a profile. You can specify a profile name with up to 80 characters.

    To create a profile on the router:

    • Issue the profile command in Global Configuration mode.
      host1(config)#profile foo

      Use the no version to remove a profile.

    See JunosE Link Layer Configuration Guide for information about creating profiles and on other characteristics that can be applied to the profile.

    Configuring Profile Attributes for IPv6

    You can add a specific set of IPv6 characteristics to a created profile and assign the profile to many IPv6 interfaces.

    To assign IPv6 characteristics to a profile:

    1. Add an IPv6 address to the profile.
      host1(config-profile)#ipv6 address 1::1/64

      Note: You can use this command in Interface Configuration or Subinterface Configuration mode.

    2. (Optional) Assign a virtual router to the profile. Dynamic interfaces created with the profile are assigned to this virtual router. You can configure a virtual router using RADIUS instead of adding one to the profile by using the ipv6 virtual-router command.
      host1(config-profile)#ipv6 virtual-router VR6
    3. (Optional) Set the MTU size of IPv6 packets sent on an interface to which the profile is assigned. The MTU size is in the range 128–10240.
      host1(config-profile)#ipv6 mtu 1000
    4. (Optional) Set up an unnumbered interface.

      An unnumbered interface does not have an IPv6 address assigned to it. Unnumbered interfaces are often used in point-to-point connections where an IPv6 address is not required. The ipv6 unnumbered command enables IPv6 processing on an interface without you having to assign an explicit IPv6 address to the interface. You supply an interface location that is the type and number of another interface on which the router has an assigned IPv6 address. This interface cannot be another unnumbered interface.

      host1(config-profile)#ipv6 unnumbered loopback 0
    5. (Optional) Enable the IPv6 Neighbor Discovery process for the profile.
      host1(config-profile)#ipv6 nd
    6. (Optional) Set the “managed address configuration” flag in IPv6 router advertisements for the profile.
      host1(config-profile)#ipv6 nd managed-config-flag
    7. (Optional) Set the “other stateful configuration” flag in IPv6 router advertisements for the profile.
      host1(config-profile)#ipv6 nd other-config-flag
    8. (Optional) Specify the IPv6 prefix included in IPv6 router advertisements for the profile.
      host1(config-profile)#ipv6 nd prefix-advertisement 4::4/64 300 400
    9. (Optional) Configure the interval between IPv6 router advertisements for the profile.
      host1(config-profile)#ipv6 nd ra-interval 500
    10. (Optional) Configure the router advertisement lifetime for the profile.
      host1(config-profile)#ipv6 nd ra-lifetime 800
    11. (Optional) Configure the amount of time the router can reach an IPv6 node after a reachability confirmation event occurs.
      host1(config-profile)#ipv6 nd reachable-time 7200000
    12. (Optional) Disable router advertisement transmissions for the profile.
      host1(config-profile)#ipv6 nd suppress-ra
    13. (Optional) Enable source address validation for the profile.
      host1(config-profile)#ipv6 sa-validate

    Assigning a Profile to an Interface

    You can assign a profile to a PPP interface using the profile command. The profile configuration is used to dynamically create an upper IP interface.

    To assign a profile to an interface:

    • Issue the profile command in Interface Configuration mode.
      host1(config-if)#profile foo

      Use the no version to remove the assignment from the interface.

    Published: 2014-08-13