Multi-Tech Systems MTS2SA-T-R ユーザーズマニュアル

ページ / 181
Chapter 11 – Point-to-Point Protocol 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
134
 
 
PPP Interface Related Parameters 
Enabling/Disabling Authentication 
This command enables or disables a PPP Authentication session . If Authentication is enabled, 
then the authentication protocol, the user name, and password should also be set. 
Command:
  
# set ppp [interface] authentication <enable/disable> 
Example: 
# set ppp ppp0 authentication enable 
OK 
Authentication Type - Protocol 
This command sets the Authentication type. 
  
Command:  
# set ppp [interface] auth-type <pap/chap/pap-chap> 
Example: 
#set ppp ppp0 auth-type pap 
OK 
User Name & Password for Remote Peer Authentication 
This command sets the user name with which the remote server will authenticate. If 
authentication is disabled, this need not be configured. 
Command: 
# set ppp [interface] username 
# se
t ppp [interface] password 
Example: 
# set ppp ppp0 username user1 
OK 
#set ppp ppp0 password user1 
OK 
 
     IPCP Mode 
 
This command sets the IPCP mode. 
Command: 
# set ppp [interface] ipcp-mode <client-only/client-or-lan> 
 
  
 Examples: 
 
 
# set ppp ppp0 ipcp-mode client-only 
 
 
OK 
When ipcp-mode is set to client-only, the local and remote ip addresses are set 
to 0.0.0.0 automatically 
 
 
# set ppp ppp0 ipcp-mode client-or-lan 
 
 
OK 
When ipcp-mode is set to client-or-lan, the local and remote ip addresses have  
 to 
be 
configured 
Show Commands 
This command allows you to view the PPP configuration settings. 
Command: 
#show ppp ppp0 configuration 
This command allows you to view the PPP logical link status 
Command: 
# show ppp [interface] link-status 
Example: 
 
#show ppp ppp0 link-status 
 
Up / Down 
 OK 
This command allows you to view the PPP link IP address 
Command: 
# show ppp [interface] ip-addr 
Example: 
 #show ppp ppp0 ip-addr 
 local: 192.168.2.1 
 remote: 192.168.2.2 
 OK