Configuring the ANCP Agent for ANCP-Triggered, Autosensed Dynamic VLANs
Starting in Junos OS Release 16.1R4, you can configure the ANCP agent to associate a neighbor with an access-facing physical interface for the creation of autosensed dynamic VLANs on the interface. When the ANCP agent receives a Port Up message from the neighbor, it triggers notification to the autoconfd daemon to initiate the detection, authorization, and creation of dynamic VLANs. Receipt of an out-of-band ANCP Port Down message triggers notification to the autoconfd daemon to initiate the destruction of an existing VLAN on the interface.
The following physical interface types are supported: aggregated Ethernet (ae), Gigabit Ethernet (ge), 10-Gigabit Ethernet (xe), 100-Gigabit Ethernet (et), demux, and pseudowire (ps). The ps interface type was added in Junos OS Release 19.3R1.
This configuration assumes the following:
The dynamic profile is configured to instantiate a dynamic VLAN when notified by the ANCP agent that it has received an out-of-band ANCP Port Up message.
The RADIUS authentication server is properly configured to authorize the VLANs and apply services as needed.
The ANCP agent is configured to initiate interim accounting updates (which also enables immediate interim accounting updates) in response to information received in Port Up messages.
To map a neighbor to a physical interface for autosensed dynamic VLANs:
Specify the physical interface name.