By default, when CHAP is enabled on an interface, the interface uses the routing platform’s system hostname as the name sent in CHAP challenge and response packets.
To configure the name the interface uses in CHAP challenge and response packets, include the local-name statement at the [edit interfaces interface-name ppp-options chap] hierarchy level:
- [edit interfaces interface-name ppp-options
chap]
-
local-name name;
The local name is any string from 1 to 250 characters in length, starting with an alphanumeric or underscore character, and including only the following characters:
a-z A-Z 0-9 % @ # / \ . _ -