
C613-50186-01 Rev B
Command Reference for AR2050V
602
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
PPP C
OMMANDS
PPP
HOSTNAME
ppp hostname
Overview
Use this command in Interface Configuration mode for a PPP interface to configure
a unique identifier for that PPP authenticator. This is used by the authenticator to
fill the Name field in a CHAP challenge packet, or is used to fill the Server Name field
in an EAP SRP-SHA1 (Subtype 1 Request) packet. The hostname sent with PPP
packet exchanges is normally the hostname of the router, as configured with the
Use the
no
form of this command in Interface Configuration mode for a PPP
interface to disable a configured alternate hostname and revert to using the
hostname, as configured with the
command.
See the Usage section below for information about when you may want to specify
another hostname, instead of the system hostname configured from the
command, using this command.
Syntax
ppp hostname <
hostname
>
no ppp hostname <
hostname
>
Default
The default PPP hostname is the system hostname as specified with the
command.
Mode
Interface Configuration for a PPP interface
Usage
This command allows the PPP username that is sent to be independent of the
router hostname for a specific PPP interface.
Examples
To enable the use of the alternate hostname
remote_router
for PPP
authentication, enter the commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
ppp hostname remote_router
Parameter
Description
<
hostname
>
Specify this parameter to use an alternate hostname for PPP EAP
and CHAP authentication instead of the hostname specified by the
command. The name can contain up to 255 characters.
The name can contain any printable ASCII characters (ASCII
32-126). If the name contains the special characters backslash,
double-quote or space, those characters should be escaped with a
backslash.