interfaces (Static and Dynamic Subscribers)
Syntax
interfaces {interface-name {unit logical-unit-number { family family {address address;filter {input filter-name (precedence precedence;}output filter-name {precedence precedence;}}rpf-check {mode loose;}service { input { service-set service-set-name {service-filter filter-name;}post-service-filter filter-name;}output { service-set service-set-name {service-filter filter-name;}}}unnumbered-address interface-name preferred-source-address address;filter {input filter-name;output filter-name;}ppp-options {chap;pap;}proxy-arp;vlan-id;vlan-tags outer [tpid].vlan-id [inner
[tpid].vlan-id];}vlan-tagging;}demux0 {unit logical-unit-number {demux-options {underlying-interface interface-name}family family {address address;demux-source {source-prefix;}filter{input filter-name (precedence precedence;}output filter-name {precedence precedence;}}mac-validate (loose | strict):rpf-check {mode loose;}unnumbered-address interface-name preferred-source-address address;}filter {input filter-name;output filter-name;}vlan-id number;vlan-tags outer [tpid].vlan-id [inner
[tpid].vlan-id];}}pp0 {unit logical-unit-number {keepalives interval seconds;no-keepalives;pppoe-options {underlying-interface interface-name;server;}ppp-options {chap;pap;}family inet {unnumbered-address interface-name destination address destination-profile profile-name;address address;service {input {service-set service-set-name {service-filter filter-name;}post-service-filter filter-name;}output {service-set service-set-name {service-filter filter-name;}}}filter {input filter-name {precedence precedence;}output filter-name {precedence precedence;}}}}}}
Hierarchy Level
[edit dynamic-profiles profile-name]
Release Information
Statement introduced in Junos OS Release 9.2.
Description
Define interfaces for dynamic profiles.
Options
interface-name—The interface variable ($junos-interface-ifd-name). The interface variable is dynamically replaced with the interface the DHCP client accesses when connecting to the router.
![]() | Note: Though we do not recommend it, you can also enter the specific name of the interface you want to assign to the dynamic profile. |
The remaining statements are explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Topics
- Configuring Static Subscriber Interfaces in Dynamic Profiles
- Configuring Dynamic Subscriber Interfaces Using IP Demux Interfaces in Dynamic Profiles
- Relationship Between Subscribers and Interfaces in an Access Network
- Subscriber Interface Overview
- Configuring Dynamic PPPoE Subscriber Interfaces Using Dynamic Profiles
- For general information about configuring static interfaces, see the Junos Network Interfaces Configuration Guide
- For information about static IP demux interfaces, see the Junos Network Interfaces Configuration Guide

