This is a Class A device and is intended for use in a light industrial environment. It is not intended nor approved for use in an industrial
or residential environment.
Sales Office: +1 (301) 975-1000
Technical Support: +1 (301) 975-1007
E-mail: support@patton.com
WWW: www.patton.com
Part Number: 07M3231-CLI, Rev. A
Revised: October 29, 2008
Patton Electronics, Inc.
Trademark Statement
All other trademarks presented in this document are the property of their
respective owners.
The information in this document is subject to change without notice. Patton assumes
no liability for errors that may appear in this document.
Warranty Information
Patton warrants all Model 3231 components to be free from defects, and will—at our
option—repair or replace the product should it fail within one year from the first date
of shipment.
This warranty is limited to defects in workmanship or materials, and does not cover
customer damage, abuse or unauthorized modification. If this product fails or does not
perform as warranted, your sole recourse shall be repair or replacement as described
above. Under no condition shall Patton be liable for any damages incurred by the use
of this product. These damages include, but are not limited to, the following: lost profits, lost savings and incidental or consequential damages arising from the use of or
inability to use this product. Patton specifically disclaims all other warranties,
expressed or implied, and the installation or use of this product shall be deemed an
acceptance of these terms by the user.
Note
Conformity documents of all Patton products can be viewed online at
www.patton.com under the appropriate product page.
7 Help Commands ........................................................................................................................................... 76
8 IP Commands ............................................................................................................................................... 78
10 Port Commands .......................................................................................................................................... 102
18 System Commands ...................................................................................................................................... 158
19 Transport Commands ................................................................................................................................. 174
20 User Commands.......................................................................................................................................... 179
Summary Table of Contents ........................................................................................................................... 3
Table of Contents ........................................................................................................................................... 4
About this guide ........................................................................................................................................... 10
Using the CLI .......................................................................................................................................................11
Connect a PC and log in .................................................................................................................................11
Typographical conventions used in this document................................................................................................ 12
General conventions .......................................................................................................................................12
alarm all alarmStatus..............................................................................................................................................14
alarm set <index> alarmSeverity.............................................................................................................................15
alarm set <index> alarmStatus................................................................................................................................16
alarm show ............................................................................................................................................................17
Example Output: alarm show .........................................................................................................................17
bridge list interfaces ...............................................................................................................................................24
Example Output: bridge list interfaces ............................................................................................................24
bridge set ...............................................................................................................................................................25
bridge show ...........................................................................................................................................................26
Example Output: bridge show ........................................................................................................................26
Example Output: bridge show interface br1 ....................................................................................................26
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
ethernet add transport ...........................................................................................................................................32
ethernet delete transport ........................................................................................................................................34
Example Output: ethernet list ports ................................................................................................................35
4
5
Model 3231 CLI Reference Guide
Table of Contents
Example Output: ethernet list transports .........................................................................................................35
ethernet set transport .............................................................................................................................................36
ethernet show transport .........................................................................................................................................37
Example Output: ethernet show transport eth1 ...............................................................................................37
firewall list .............................................................................................................................................................47
Example Output: firewall list policies ..............................................................................................................47
Example Output: firewall list portfilters pex_in ...............................................................................................47
Example Output: firewall list protocol ............................................................................................................48
Example Output: firewall list validators pdmz_in ............................................................................................48
firewall set IDS ......................................................................................................................................................49
firewall set securitylevel..........................................................................................................................................50
firewall set validator...............................................................................................................................................51
Example Output: firewall status ......................................................................................................................54
gshdsl set BERMeterMode ....................................................................................................................................56
gshdsl set Clocking ................................................................................................................................................57
gshdsl set EthLinkKill............................................................................................................................................58
gshdsl set LineProbe ..............................................................................................................................................59
gshdsl set action.....................................................................................................................................................60
gshdsl set clockingcombination..............................................................................................................................61
gshdsl set datarateI.................................................................................................................................................62
gshdsl set dslrateTS................................................................................................................................................63
gshdsl set errMonIntervalCnt ................................................................................................................................64
gshdsl set errMonIntervalThreshold.......................................................................................................................65
gshdsl set errMonIntervalTime ..............................................................................................................................66
gshdsl set errMonStartupDelay..............................................................................................................................67
gshdsl set errMonTotalIntervals.............................................................................................................................68
gshdsl set gshannex ................................................................................................................................................69
gshdsl set interface .................................................................................................................................................70
6
Model 3231 CLI Reference Guide
Table of Contents
gshdsl set terminal .................................................................................................................................................71
Example Output: gshdsl show .........................................................................................................................73
Example Output: gshdsl showc .......................................................................................................................75
7 Help Commands ........................................................................................................................................... 76
help .......................................................................................................................................................................77
8 IP Commands ............................................................................................................................................... 78
ip add defaultroute ................................................................................................................................................79
ip add interface......................................................................................................................................................80
ip add route ...........................................................................................................................................................81
ip attach ................................................................................................................................................................82
ip attachbridge.......................................................................................................................................................83
ip attachvirtual.......................................................................................................................................................84
ip clear...................................................................................................................................................................85
ip delete.................................................................................................................................................................86
ip detach................................................................................................................................................................87
ip interface.............................................................................................................................................................88
Example Output: ip interface ip1 list proxyarpentries .....................................................................................89
Example Output: ip interface ip1 list secondaryipaddresses .............................................................................89
ip list .....................................................................................................................................................................90
Example Output: ip list arpentries ..................................................................................................................90
Example Output: ip list connections ...............................................................................................................90
Example Output: ip list interfaces ...................................................................................................................91
Example Output: ip list riproutes ....................................................................................................................91
Example Output: ip list routes ........................................................................................................................91
ip ping...................................................................................................................................................................92
ip set interface........................................................................................................................................................93
ip set rip ................................................................................................................................................................94
ip set route.............................................................................................................................................................95
ip show..................................................................................................................................................................96
Example Output: ip show debuginfo ..............................................................................................................96
Example Output: ip show interface ip1 ...........................................................................................................97
Example Output: ip show route default ..........................................................................................................97
ip traceroute ..........................................................................................................................................................98
logger set .............................................................................................................................................................100
Example Output: logger show .......................................................................................................................101
7
Model 3231 CLI Reference Guide
Table of Contents
10 Port Commands .......................................................................................................................................... 102
port ethernet........................................................................................................................................................103
port list................................................................................................................................................................104
Example Output: port list all ........................................................................................................................104
Example Output: port list atm ......................................................................................................................104
Example Output: port list ethernet ...............................................................................................................104
Example Output: port list hdlc .....................................................................................................................104
ppp add transport ................................................................................................................................................106
ppp list transports................................................................................................................................................109
Example Output: ppp list transports .............................................................................................................109
ppp set transport..................................................................................................................................................110
ppp show transport..............................................................................................................................................112
Example Output: ppp show transport ppp1 ..................................................................................................112
pppoa add transport ............................................................................................................................................114
pppoa list transports ............................................................................................................................................117
Example Output: pppoa list transports ..........................................................................................................117
pppoa set transport ..............................................................................................................................................118
pppoa show transport ..........................................................................................................................................122
Example Output: pppoa show transport ppp1 ..............................................................................................122
pppoe delete transport .........................................................................................................................................126
pppoe list transports ............................................................................................................................................127
Example Output: pppoe list transports ..........................................................................................................127
pppoe set transport ..............................................................................................................................................128
pppoe show transport ..........................................................................................................................................132
rfc1483 add transport ..........................................................................................................................................134
rfc1483 list transports..........................................................................................................................................137
Example Output: rfc1483 list transports .......................................................................................................137
rfc1483 set transport............................................................................................................................................138
rfc1483 show transport........................................................................................................................................139
Example Output: rfc1483 show transport rfc1 ..............................................................................................139
security list ..........................................................................................................................................................146
Example Output: security list interfaces ........................................................................................................146
Example Output: security list triggers ...........................................................................................................146
security set trigger................................................................................................................................................147
security show .......................................................................................................................................................148
Example Output: security show interface ip1 ................................................................................................148
Example Output: security show trigger t2_h323 ...........................................................................................148
security status ......................................................................................................................................................149
Example Output: security status ....................................................................................................................149
snmp save ............................................................................................................................................................153
snmp set ..............................................................................................................................................................154
snmp show ..........................................................................................................................................................155
Example Output: snmp show ........................................................................................................................155
18 System Commands ...................................................................................................................................... 158
system add...........................................................................................................................................................159
system config.......................................................................................................................................................160
system cpu...........................................................................................................................................................161
Example Output: system cpu npOverThreshold ...........................................................................................161
Example Output: system cpu npThreshold get .............................................................................................161
Example Output: system cpu npUsage ..........................................................................................................161
Example Output: system cpu ppOverThreshold ...........................................................................................161
Example Output: system cpu ppThreshold get ..............................................................................................162
Example Output: system cpu ppUsage ..........................................................................................................162
system delete........................................................................................................................................................163
system ifTable reset..............................................................................................................................................164
system info ..........................................................................................................................................................165
Example Output: system info ........................................................................................................................165
system legal..........................................................................................................................................................166
Example Output: system legal .......................................................................................................................166
system list ............................................................................................................................................................167
Example Output: system list errors ...............................................................................................................167
Example Output: system list logins ...............................................................................................................167
9
Model 3231 CLI Reference Guide
Table of Contents
Example Output: system list openfiles bun ...................................................................................................167
Example Output: system list users .................................................................................................................168
system log............................................................................................................................................................169
Example Output: system log list ....................................................................................................................169
Example Output: system log list op ...............................................................................................................170
system restart.......................................................................................................................................................171
system set ............................................................................................................................................................172
system show.........................................................................................................................................................173
Example Output: system show aticmem ........................................................................................................173
Example Output: system show firmware update protection ...........................................................................173
19 Transport Commands ................................................................................................................................. 174
Example Output: transports list ....................................................................................................................177
Example Output: transports show eth1 .........................................................................................................178
20 User Commands.......................................................................................................................................... 179
user change..........................................................................................................................................................180
user logout...........................................................................................................................................................181
user password ......................................................................................................................................................182
Example Output: webserver show info ..........................................................................................................189
Example Output: webserver show stats .........................................................................................................189
About this guide
This guide describes commands for configuring the Patton Model 3231 Industrial Ethernet Extender with
LCD.
Note
For general information regarding setting up, installing and operating
the 3231, refer to the Getting Started Guide .
Audience
This guide is intended for administrators and operators.
Structure
• Chapter 1, "Alarm Commands" on page 13 describes commands for configuring alarms.
• Chapter 2, “Bridge Commands” on page 18 describes commands for configuring the bridge.
• Chapter 3, “CPE Config Commands” on page 27 describes commands for configuring the CPE.
(These commands are only available from the CO unit).
• Chapter 4, “Ethernet Commands” on page 31 describes commands for configuring Ethernet transports.
• Chapter 5, “Firewall Commands” on page 38 describes commands for configuring the firewall.
• Chapter 6, “G.SHDSL Commands” on page 55 describes commands for configuring the G.SHDSL port.
• Chapter 7, “Help Commands” on page 76 describes commands for accessing the top-level CLI help.
• Chapter 8, “IP Commands” on page 78 describes commands for configuring IP interfaces.
• Chapter 9, “Logger Commands” on page 99 describes commands for logging into a remote host.
• Chapter 10, “Port Commands” on page 102 describes commands for configuring physical ports.
• Chapter 11, “PPP Commands” on page 105 describes commands for configuring PPP over HDLC.
• Chapter 12, “PPPoA Commands” on page 113 describes commands for configuring PPP over ATM.
• Chapter 13, “PPPoE Commands” on page 123 describes commands for configuring PPP over Ethernet.
• Chapter 14, “RFC1483 Commands” on page 133 describes commands for configuring RFC 1483 trans-
ports.
• Chapter 15, “Security Commands” on page 140 describes commands for configuring security features.
• Chapter 16, “SNMP Commands” on page 150 describes commands for configuring SNMP settings.
• Chapter 17, “Source Commands” on page 156 describes commands for viewing source files.
• Chapter 18, “System Commands” on page 158 describes commands for managing the system.
• Chapter 19, “Transport Commands” on page 174 describes commands for configuring transports.
• Chapter 20, “User Commands” on page 179 describes commands for managing user login information.
• Chapter 21, “Webserver Commands” on page 183 describes commands for configuring the Web Server.
10
11
1.
2.
Model 3231 CLI Reference Guide
Using the CLI
The Model 3231 may be configured through the CLI, although basic settings should be configured through
the LCD menu on the unit.
Connect a PC and log in
Use an RS-232/Ethernet cable and DB9-RJ45 adapter to connect a PC’s serial port to the 3231’s Console port
(see figure 1).
The interconnecting cables shall be acceptable for external use
and shall be rated for the proper application with respect to voltage, current, anticipated temperature, flammability, and
CAUTION
mechanical serviceability.
PC with
terminal emulator
Power
5V, 1A
Console
Ethernet
Reset
Serial port
Line
Connect to Console port
Figure 1. Connecting the 3231 to the PC’s serial port
Start a HyperTerminal session on the PC using the settings:
9600 bps, 8 data bits, no parity, 1 stop bit, no flow control
Log in to the 3231 using the factory-default login ( superuser ) and password ( superuser ):
Using the CLI
CAUTION
12
Model 3231 CLI Reference Guide
Precautions
Notes, cautions, and warnings, which have the following meanings, are used throughout this guide to help you
become aware of potential problems.
Note
A note presents additional information or interesting sidelights.
The alert symbol and IMPORTANT heading calls attention to
important information.
IMPORTANT
The alert symbol and CAUTION heading indicate a potential hazard. Strictly follow the instructions to avoid property damage.
Typographical conventions used in this document
This section describes the typographical conventions and terms used in this guide.
General conventions
The procedures described in this manual use the following text conventions:
Table 1. General conventions
ConventionMeaning
Garamond blue type
Futura bold type
Futura bold-italic type Parts of commands, which are related to elements already named by the user, are
Italicized Futura type
Futura typeIndicates the names of fields or windows.
Garamond bold type
Indicates a cross-reference hyperlink that points to a figure, graphic, table, or section heading. Clicking on the hyperlink jumps you to the reference. When you
have finished reviewing the reference, click on the Go to Previous View
button in the Adobe® Acrobat® Reader toolbar to return to your starting point.
Commands and keywords are in boldface font.
in boldface italic font.
Variables for which you supply values are in italic font
Indicates the names of command buttons that execute an action.
Using the CLI
Chapter 1
Chapter contents
alarm all alarmStatus..............................................................................................................................................14
alarm set <index> alarmSeverity.............................................................................................................................15
alarm set <index> alarmStatus................................................................................................................................16
alarm show ............................................................................................................................................................17
Example Output: alarm show .........................................................................................................................17
Alarm Commands
13
14
Model 3231 CLI Reference Guide
alarm all alarmStatus
Set the alarm state for all alarms.
Command
alarm all alarmStatus clear
alarm all alarmStatus reset
1 • Alarm Commands
Table 2. alarm all alarmStatus
Explanation
Set the alarm state to "clear" for all alarms. Does not clear the
number of occurences and the time of the most recent occurrence.
Set the alarm state to "clear" for all alarms. Clears the number of
occurrences and the time of the most recent occurrence.
alarm all alarmStatus
15
Model 3231 CLI Reference Guide
alarm set <index> alarmSeverity
Set the index for the severity level of an alarm.
Table 3. alarm set <index> alarmSeverity
Command
alarm set <index> alarm Severity
critical
alarm set <index> alarm Severity
ignore
alarm set <index> alarm Severity
informational
alarm set <index> alarm Severity
major
alarm set <index> alarm Severity
minor
Determine the level of importance for specific alarms.
Critical/Major = The most severe alarms
Ignore/Informational/Minor = Non-severe alarms
1 • Alarm Commands
Explanation
alarm set <index> alarmSeverity
Model 3231 CLI Reference Guide 1 • Alarm Commands
alarm set <index> alarmStatus
Set the index for the status level of an alarm.
Table 4. alarm set <index> alarmStatus
CommandExplanation
alarm set <index> alarm Status
active
Mark the alarm condition as a currently present alarm.
alarm set <index> alarm Status
clear
alarm set <index> alarm Status
inactive
alarm set <index> alarm Status
reset
Clear a specific alarm. Does not clear the number of occurrences
or the most recent occurrence.
Mark the alarm condition as not currently present.
Clear a specific alarm. Clears the number of occurrences or the
most recent occurrence.
alarm set <index> alarmStatus16
Model 3231 CLI Reference Guide 1 • Alarm Commands
alarm show
Show alarm status.
Table 5. alarm show
CommandExplanation
alarm showShow alarm status.
Example Output: alarm show
--> alarm show
Current Box State: Major
Alarm Table
Alarm
Active | ID | Alarm String | Severity | Time | Count
--------|-----|------------------------|-----------------|-----------|----- | 1 | PP Over Threshold | Informational | 00:00:00s | 0
| 2 | NP Over Threshold | Informational | 00:00:00s | 0
| 3 | G.SHDSL Loss Of Signal | Major | 00:00:00s | 0
**** | 4 | Ethernet Link Down | Major | 00:00:05s | 1
bridge list interfaces ...............................................................................................................................................24
Example Output: bridge list interfaces ............................................................................................................24
bridge set ...............................................................................................................................................................25
bridge show ...........................................................................................................................................................26
Example Output: bridge show ........................................................................................................................26
Example Output: bridge show interface br1 ....................................................................................................26
18
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge add interface
Add a named interface to the bridge.
Table 6. bridge add interface
CommandExplanation
bridge add interface <name>Add a named interface to the bridge.
bridge add interface19
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge attach
Attach existing transport to existing bridge interface.
Table 7. bridge attach
CommandExplanation
bridge attach <name> <transport> Attach existing transport to existing bridge interface.
bridge attach20
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge clear interfaces
Remove all bridge interfaces.
Table 8. bridge clear interfaces
CommandExplanation
bridge clear interfacesRemove all bridge interfaces.
bridge clear interfaces21
Model 3231 CLI Reference Guide 2 • Bridge Commands
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge set
Configure bridge attributes.
Table 12. bridge set
CommandExplanation
bridge set dhcpFilteredPort <port>Set the DHCP filtered port.
bridge set dhcpMACFiltering disableDisable DHCP MAC filtering.
enableEnable DHCP MAC filtering.
bridge set filterage <filterage>Set the time of no activity after which MAC
addresses are removed from the filter table.
bridge set interface <name> filtertype allAllow all types of ethernet packets through
the port.
filtertype ipAllow only IP/ARP types of ethernet pack-
ets through the port.
filtertype pppoeAllow only PPPoE types of ethernet packets
through the port.
portfilter <port>Set the other ports to which this interface
can bridge.
spanning cost <pathcost>Allow STP to make better decisions on
which port to forward on. The lower the
cost, the more likely that port is to enter the
forwarding state. For example, you might
assign a low cost to the Ethernet port and a
higher one to a PPP interface because the
Ethernet interface has more bandwidth.
spanning priority<priority> Allow STP to advertise different priorities
out different interfaces.
bridge set spanning disabledEnsure that the bridge acts as a transparent
bridge.
enabledAllow the bridge to use the spanning tree
protocol.
forwarddelay <delay>Set the time that the bridge spends in listen-
ing or learning states when the bridge is or
is attempting to become the root bridge.
hellotime <hellotime>Set the time after which the spanning tree
process sends notification of changes to the
root bridge.
maxage <maxage>Set the maximum age of received spanning
tree protocol information before it is discarded.
priority <priority>Assign priority to the bridge; The lower the
priority number, the more significant the
bridge becomes in protocol terms.
bridge set25
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge show
Display bridge/interface settings.
Table 13. bridge show
CommandExplanation
bridge show Display bridge/interface settings.
bridge show interface <name>Display named interface settings.
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
27
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig action
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Transmit/receive the CPE configuration.
Table 14. cpeconfig action
CommandExplanation
cpeconfig action getRequest CPE to send it's configuration.
cpeconfig action setCommand CPE to configure itself.
cpeconfig action28
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig set
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Set CPE configurable parameters.
Table 15. cpeconfig set
CommandExplanation
cpeconfig set defaultgw <newvalue>Set default GW as format: xxx.xxx.xxx.xxx
cpeconfig set dslrateTS <newvalue>Set DSL data rate as n_64kbps.
cpeconfig set ipaddress <newvalue>Set IP Address as format: xxx.xxx.xxx.xxx
cpeconfig set netmask <newvalue>Set Net Mask as format: xxx.xxx.xxx.xxx
cpeconfig set29
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig show
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Show the CPE's configuration.
Table 16. cpeconfig show
CommandExplanation
cpeconfig showShow the CPE's configuration.
Example Output: cpeconfig show
--> cpeconfig show
Configuration State: Initializing
Timeslots: 36
IP Address: 192.168.200.10
Netmask: 255.255.255.0
Default Gateway: 0.0.0.0
cpeconfig show30
Loading...
+ 159 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.