# Creating an IPv6 Profile

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 MLD interface
- mtu—Configures the MTU for a network
- nd—Configures Neighbor Discovery (ND) 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.

Use the profile command from Global Configuration mode to create or edit a profile. See JunosE Link Layer Configuration Guide for information about creating profiles and on other characteristics that can be applied to the profile.

host1(config)#profile boston host1(config-profile)#ipv6 virtual-router warf host1(config-profile)#ipv6 unnumbered atm 3/0

ipv6 address

- Use to add an IPv6 address to an interface or a subinterface.
- Example
  host1(config)#interface atm 1/0.25 host1(config-if)#ipv6 address 1::1/64

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

- Use the no version of this command to remove an IPv6 address.
- See ipv6 address

ipv6 nd

- Use to enable the IPv6 Neighbor Discovery process on an interface.
- You can include the following commands in IPv6 profiles to configure Neighbor Discovery route advertisement characteristics. For additional information, see Using IPv6 Profiles and RADIUS to Configure Neighbor Discovery Route Advertisements in Configuring Neighbor Discovery.

  Command | Description
  --- | ---
  ipv6 nd | Enables Neighbor Discovery on an interface
  ipv6 nd managed-config-flag | Sets the “managed address configuration” flag in IPv6 router advertisements
  ipv6 nd other-config-flag | Sets the “other stateful configuration” flag in IPv6 router advertisements
  ipv6 nd prefix-advertisement | Specifies IPv6 prefix included in IPv6 router advertisements
  ipv6 nd ra-interval | Configures the interval between IPv6 router advertisements
  ipv6 nd ra-lifetime | Configures the router advertisement lifetime
  ipv6 nd reachable-time | Configures the amount of time the router can reach an IPv6 node after a reachability confirmation event occurs
  ipv6 nd suppress-ra | Disables router advertisement transmissions

- Example
  host1(config)#profile ProfileIpv6South22 host1(config-profile)#ipv6 nd
- Use the no version to disable the Neighbor Discovery process for the profile.
- See ipv6 nd

ipv6 mtu

- Use to set the MTU size of IPv6 packets sent on an interface.
- The range is 128–10240.
- Example
  host1(config-if)#ipv6 mtu 1000
- Use the no version to restore the default MTU size.
- See ipv6 mtu

ipv6 unnumbered

- Use to 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.
- This command enables IPv6 processing on an interface without your 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.
- Example
  host1(config-if)#ipv6 unnumbered loopback 0
- Use the no version to disable IPv6 processing on an interface.
- See ipv6 unnumbered

ipv6 virtual-router

- Use to assign a virtual router to a profile.
- You can configure a virtual router using RADIUS instead of adding one to the profile by using the ipv6 virtual-router command.
- Example
  host1(config-profile)#ipv6 virtual-router VR6
- Use the no version to remove the virtual router assignment.
- See ipv6 virtual-router