local-name
Syntax
local-name name;
Hierarchy Level
[edit interfaces interface-name ppp-options chap], [edit interfaces interface-name ppp-options pap], [edit interfaces interface-name unit logical-unit-number ppp-options chap], [edit interfaces interface-name unit logical-unit-number ppp-options pap], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number ppp-options chap], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number ppp-options pap] [edit dynamic-profiles profile-name interfaces pp0 unit “$junos-interface-unit” ppp-options], [edit dynamic-profiles profile-name interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit” ppp-options]
Description
Specify the name of the interface used for CHAP or PAP authentication. Dynamic interfaces are supported only for CHAP authentication.
For ATM2 IQ interfaces only, you can configure a CHAP local name on the logical interface unit if the logical interface is configured with one of the following PPP over ATM encapsulation types:
atm-ppp-llc
—PPP over AAL5 LLC encapsulation.atm-ppp-vc-mux
—PPP over AAL5 multiplex encapsulation.
Options
name | Name of the interface used as an identifier in CHAP challenge and response packets or PAP request and response packets. |
Default: When you do not include the
local-name
statement in the configuration, the interface sends the router’s system hostname in CHAP challenge and response packets or PAP request and response packets.
Range: For CHAP authentication, a string of 1 through 32 characters. For PAP authentication, a string of 1 through 8 characters.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support for PAP added in Junos OS Release 8.3.
Support at the [edit dynamic-profiles profile-name interfaces "$junos-interface-ifd-name" unit “$junos-interface-unit”
ppp-options]
hierarchy level introduced in Junos OS Release
14.2.