You can configure a VLAN dynamic profile that dynamically
creates underlying VLAN interfaces and associates these interfaces
with statically created routing instances. The VLAN interface is created
for a specific routing instance as defined by VSA 26–1 (Virtual-Router)
on the AAA server (for example, RADIUS server).
To configure a dynamic VLAN profile to use routing instances
when creating VLANs, add the routing instance configuration to your
dynamic profile:
- Access the dynamic profile.
[edit]
user@host# edit dynamic-profiles VLAN_PROFILE_RI
- Specify that you want to dynamically associate the profile
with routing instances.
[edit dynamic-profiles VLAN_PROFILE_RI]
user@host# edit routing-instances $junos-routing-instance
- Define the routing instance
interface
statement
with the internal $junos-interface-name
variable used by
the router to match the interface name of the receiving interface.[edit dynamic-profiles VLAN_PROFILE_RI routing-instances “$junos-routing-instance”]
user@host# set interface $junos-interface-name
- Define the dynamic profile
interfaces
statement
with the internal $junos-interface-ifd-name
variable.[edit dynamic-profiles VLAN_PROFILE_RI]
user@host# edit interfaces $junos-interface-ifd-name
- Define the
unit
statement with the internal $junos-interface-unit
variable used by the router to generate
a unit value for the interface.[edit dynamic-profiles VLAN_PROFILE_RI interfaces "$junos-interface-ifd-name"]
user@host# edit unit $junos-interface-unit