
Chapter 13 Interfaces
UAG CLI Reference Guide
102
13.5.1 PPPoE/PPTP Interface Command Examples
The following commands show you how to configure PPPoE/PPTP interface ppp0 with the following
characteristics: base interface wan1, ISP account
Hinet
, local address 1.1.1.1, remote address
2.2.2.2, MTU 1200, upstream bandwidth 345, downstream bandwidth 123, description “I am ppp0”,
and dialed only when used.
The following commands show you how to connect and disconnect ppp0.
13.6 USB Storage Specific Commands
Use these commands to configure settings that apply to the USB storage device connected to the
UAG.
Note: For the UAG which supports more than one USB ports, these commands only apply
to the USB storage device that is first attached to the UAG.
[no] mss <536..1452>
Specifies the maximum segment size (MSS) the interface can use. MSS is the
largest amount of data, specified in bytes, that the interface can handle in a
single, unfragmented piece. The
no
command has the UAG use its default MSS
setting.
mtu <576..1492>
Sets the Maximum Transmission Unit in bytes.
show interface ppp system-default
Displays system default PPP interfaces (non-deletable) that come with the UAG.
show interface ppp user-define
Displays all PPP interfaces that were manually configured on the UAG.
Table 48
interface Commands: PPPoE/PPTP Interfaces (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# interface ppp0
Router(config-if-ppp)# account Hinet
Router(config-if-ppp)# bind wan1
Router(config-if-ppp)# local-address 1.1.1.1
Router(config-if-ppp)# remote-address 2.2.2.2
Router(config-if-ppp)# mtu 1200
Router(config-if-ppp)# upstream 345
Router(config-if-ppp)# downstream 123
Router(config-if-ppp)# connectivity dial-on-demand
Router(config-if-ppp)# description I am ppp0
Router(config-if-ppp)# exit
Router# interface dial ppp0
Router# interface disconnect ppp0
Table 49
USB Storage General Commands
COMMAND
DESCRIPTION
show usb-storage
Displays the status of the connected USB storage device.
[no] usb-storage activate
Enables or disables the connected USB storage service.
usb-storage warn
number
<
percentage
|megabyte>
Sets a number and the unit (
percentage
or
megabyte
) to have the UAG send a
warning message when the remaining USB storage space is less than the set value.
Summary of Contents for UAG Series
Page 5: ...Document Conventions UAG CLI Reference Guide 5 Server Firewall Telephone Switch Router ...
Page 22: ...22 PART I Introduction ...
Page 23: ...23 ...
Page 41: ...41 PART II Reference ...
Page 42: ...42 ...