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:
- addressConfigures an IPv6 address on an interface
- mldConfigures the MLD interface
- mtuConfigures the MTU for a network
- ndConfigures Neighbor Discovery (ND) router advertisement characteristics
- policyAttaches (or removes) a policy to (or from) an interface
- sa-validateEnables source address validation
- unnumberedConfigures IPv6 on this interface without a specific address
- virtual-routerSpecifies 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, Chapter 15, Configuring Dynamic Interfaces for information about creating profiles and on other characteristics that can be applied to the profile.
host1(config)#profile bostonhost1(config-profile)#ipv6 virtual-router warfhost1(config-profile)#ipv6 unnumbered atm 3/0ipv6 address
host1(config)#interface atm 1/0.25host1(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. 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 Chapter 3, Configuring Neighbor Discovery.
Example host1(config)#profile ProfileIpv6South22host1(config-profile)#ipv6 ndUse the no version to disable the Neighbor Discovery process for the profile. ipv6 mtu
host1(config-if)#ipv6 mtu 1000Use the no version to restore the default MTU size. 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 0Use the no version to disable IPv6 processing on an interface. 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 VR6Use the no version to remove the virtual router assignment.