interfaces (Static and Dynamic Subscribers)
Syntax
interfaces { interface-name { unit logical-unit-number { actual-transit-statistics; auto-configure { agent-circuit-identifier { dynamic-profile profile-name; } line-identity { include { accept-no-ids; circuit-id; remote-id; } dynamic-profile profile-name; } } family family { access-concentrator name; address address; direct-connect; duplicate-protection; dynamic-profile profile-name; filter { adf { counter; input-precedence precedence; not-mandatory; output-precedence precedence; rule rule-value; } input filter-name { precedence precedence; shared-name filter-shared-name; } output filter-name { precedence precedence; shared-name filter-shared-name; } } max-sessions number; max-sessions-vsa-ignore; 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; } } } service-name-table table-name short-cycle-protection <lockout-time-min minimum-seconds lockout-time-max maximum-seconds>; unnumbered-address interface-name <preferred-source-address address>; } filter { input filter-name ( precedence precedence; shared-name filter-shared-name; } output filter-name { precedence precedence; shared-name filter-shared-name; } } host-prefix-only; ppp-options { chap; pap; } proxy-arp; service { pcef pcef-profile-name { activate rule-name | activate-all; } } targeted-options { backup backup; group group; primary primary; weight ($junos-interface-target-weight | weight-value); } vlan-id; vlan-tags outer [tpid].vlan-id [inner [tpid].vlan-id]; } vlan-tagging; } interface-set interface-set-name { interface interface-name { unit logical unit number { advisory-options { downstream-rate rate; upstream-rate rate; } } } pppoe-underlying-options { max-sessions number; } } demux0 { unit logical-unit-number { demux-options { underlying-interface interface-name } family family { access-concentrator name; address address; direct-connect; duplicate-protection; dynamic-profile profile-name; demux-source { source-prefix; } filter { input filter-name ( precedence precedence; shared-name filter-shared-name; } output filter-name { precedence precedence; shared-name filter-shared-name; } } mac-validate (loose | strict): max-sessions number; max-sessions-vsa-ignore; rpf-check { fail-filter filter-name; mode loose; } service-name-table table-name short-cycle-protection <lockout-time-min minimum-seconds lockout-time-max maximum-seconds>; 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 { aaa-options aaa-options-name; authentication [ authentication-protocols ]; chap { challenge-length minimum minimum-length maximum maximum-length; local-name name; } ignore-magic-number-mismatch; initiate-ncp (dual-stack-passive | ipv6 | ip) ipcp-suggest-dns-option; mru size; mtu (size | use-lower-layer); on-demand-ip-address; pap; peer-ip-address-optional; local-authentication { password password; username-include { circuit-id; delimiter character; domain-name name; mac-address; remote-id; } } } family inet { unnumbered-address interface-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; shared-name filter-shared-name; } output filter-name { precedence precedence; shared-name filter-shared-name; } } } } } stacked-interface-set { interface-set-name interface-set-name { interface-set-name interface-set-name; } } }
Hierarchy Level
[edit dynamic-profiles profile-name]
Description
Define interfaces for dynamic client 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.
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. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.2.