Patton electronics Industrial Ethernet Extender with LCD Interface 3231 Cli Reference Manual

For Quick
Start Installation
Model 3231
Industrial Ethernet Extender with LCD
CLI Reference Guide
Important
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.
Copyright © 2008, Patton Electronics. All rights reserved.
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 prof­its, 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.
Summary Table of Contents
1 Alarm Commands ......................................................................................................................................... 13
2 Bridge Commands......................................................................................................................................... 18
3 CPE Config Commands ................................................................................................................................27
4 Ethernet Commands...................................................................................................................................... 31
5 Firewall Commands ...................................................................................................................................... 38
6 G.SHDSL Commands ................................................................................................................................... 55
7 Help Commands ........................................................................................................................................... 76
8 IP Commands ............................................................................................................................................... 78
9 Logger Commands ........................................................................................................................................ 99
10 Port Commands .......................................................................................................................................... 102
11 PPP Commands .......................................................................................................................................... 105
12 PPPoA Commands...................................................................................................................................... 113
13 PPPoE Commands ...................................................................................................................................... 123
14 RFC1483 Commands.................................................................................................................................. 133
15 Security Commands .................................................................................................................................... 140
16 SNMP Commands....................................................................................................................................... 150
17 Source Commands....................................................................................................................................... 156
18 System Commands ...................................................................................................................................... 158
19 Transport Commands ................................................................................................................................. 174
20 User Commands.......................................................................................................................................... 179
21 Webserver Commands................................................................................................................................. 183
3
Table of Contents
Summary Table of Contents ........................................................................................................................... 3
Table of Contents ........................................................................................................................................... 4
About this guide ........................................................................................................................................... 10
Audience............................................................................................................................................................... 10
Structure............................................................................................................................................................... 10
Using the CLI .......................................................................................................................................................11
Connect a PC and log in .................................................................................................................................11
Precautions ........................................................................................................................................................... 12
Typographical conventions used in this document................................................................................................ 12
General conventions .......................................................................................................................................12
1 Alarm Commands ......................................................................................................................................... 13
alarm all alarmStatus..............................................................................................................................................14
alarm set <index> alarmSeverity.............................................................................................................................15
alarm set <index> alarmStatus................................................................................................................................16
alarm show ............................................................................................................................................................17
Example Output: alarm show .........................................................................................................................17
2 Bridge Commands......................................................................................................................................... 18
bridge add interface ...............................................................................................................................................19
bridge attach..........................................................................................................................................................20
bridge clear interfaces.............................................................................................................................................21
bridge delete interface............................................................................................................................................22
bridge detach .........................................................................................................................................................23
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
3 CPE Config Commands ................................................................................................................................27
cpeconfig action.....................................................................................................................................................28
cpeconfig set..........................................................................................................................................................29
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
4 Ethernet Commands...................................................................................................................................... 31
ethernet add transport ...........................................................................................................................................32
ethernet clear transports.........................................................................................................................................33
ethernet delete transport ........................................................................................................................................34
ethernet list............................................................................................................................................................35
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
5 Firewall Commands ...................................................................................................................................... 38
firewall add policy..................................................................................................................................................39
firewall add portfilter .............................................................................................................................................40
firewall add validator .............................................................................................................................................42
firewall clear ..........................................................................................................................................................43
firewall delete.........................................................................................................................................................44
firewall disable .......................................................................................................................................................45
firewall enable........................................................................................................................................................46
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
firewall show..........................................................................................................................................................52
Example Output: firewall show IDS ...............................................................................................................52
Example Output: firewall show IDS blacklist ..................................................................................................52
Example Output: firewall show portfilter hei_http pex_in ..............................................................................53
Example Output: firewall show validator item0 pdmz_in ................................................................................53
firewall status.........................................................................................................................................................54
Example Output: firewall status ......................................................................................................................54
6 G.SHDSL Commands ................................................................................................................................... 55
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
gshdsl seta..............................................................................................................................................................72
gshdsl show............................................................................................................................................................73
Example Output: gshdsl show .........................................................................................................................73
gshdsl showTestMode............................................................................................................................................74
Example Output: gshdsl showTestMode .........................................................................................................74
gshdsl showc..........................................................................................................................................................75
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
9 Logger Commands ........................................................................................................................................ 99
logger set .............................................................................................................................................................100
logger show..........................................................................................................................................................101
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
11 PPP Commands .......................................................................................................................................... 105
ppp add transport ................................................................................................................................................106
ppp clear transports .............................................................................................................................................107
ppp delete transport.............................................................................................................................................108
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
12 PPPoA Commands...................................................................................................................................... 113
pppoa add transport ............................................................................................................................................114
pppoa clear transports..........................................................................................................................................115
pppoa delete ........................................................................................................................................................116
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
13 PPPoE Commands ...................................................................................................................................... 123
pppoe add transport.............................................................................................................................................124
pppoe clear transports..........................................................................................................................................125
pppoe delete transport .........................................................................................................................................126
pppoe list transports ............................................................................................................................................127
Example Output: pppoe list transports ..........................................................................................................127
pppoe set transport ..............................................................................................................................................128
pppoe show transport ..........................................................................................................................................132
14 RFC1483 Commands.................................................................................................................................. 133
rfc1483 add transport ..........................................................................................................................................134
rfc1483 clear transports .......................................................................................................................................135
rfc1483 delete transport.......................................................................................................................................136
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
8
Model 3231 CLI Reference Guide
Table of Contents
15 Security Commands .................................................................................................................................... 140
security add .........................................................................................................................................................141
security clear........................................................................................................................................................142
security delete ......................................................................................................................................................143
security disable ....................................................................................................................................................144
security enable .....................................................................................................................................................145
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
16 SNMP Commands....................................................................................................................................... 150
snmp add.............................................................................................................................................................151
snmp delete .........................................................................................................................................................152
snmp save ............................................................................................................................................................153
snmp set ..............................................................................................................................................................154
snmp show ..........................................................................................................................................................155
Example Output: snmp show ........................................................................................................................155
17 Source Commands....................................................................................................................................... 156
source <filename>................................................................................................................................................157
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
transports clear ....................................................................................................................................................175
transports delete...................................................................................................................................................176
transports list.......................................................................................................................................................177
Example Output: transports list ....................................................................................................................177
transports show....................................................................................................................................................178
Example Output: transports show eth1 .........................................................................................................178
20 User Commands.......................................................................................................................................... 179
user change..........................................................................................................................................................180
user logout...........................................................................................................................................................181
user password ......................................................................................................................................................182
21 Webserver Commands................................................................................................................................. 183
webserver clear.....................................................................................................................................................184
webserver disable .................................................................................................................................................185
webserver enable..................................................................................................................................................186
webserver load .....................................................................................................................................................187
webserver set........................................................................................................................................................188
webserver show....................................................................................................................................................189
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 volt­age, 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 haz­ard. 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
Convention Meaning
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 type Indicates the names of fields or windows.
Garamond bold type
Indicates a cross-reference hyperlink that points to a figure, graphic, table, or sec­tion 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
Command Explanation
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> alarmStatus 16
Model 3231 CLI Reference Guide 1 • Alarm Commands
alarm show
Show alarm status.
Table 5. alarm show
Command Explanation
alarm show Show 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
----------------------------------------------------------------------------
alarm show 17
Chapter 2 Bridge Commands
Chapter contents
bridge add interface ...............................................................................................................................................19
bridge attach..........................................................................................................................................................20
bridge clear interfaces.............................................................................................................................................21
bridge delete interface............................................................................................................................................22
bridge detach .........................................................................................................................................................23
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
Command Explanation
bridge add interface <name> Add a named interface to the bridge.
bridge add interface 19
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge attach
Attach existing transport to existing bridge interface.
Table 7. bridge attach
Command Explanation
bridge attach <name> <transport> Attach existing transport to existing bridge interface.
bridge attach 20
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge clear interfaces
Remove all bridge interfaces.
Table 8. bridge clear interfaces
Command Explanation
bridge clear interfaces Remove all bridge interfaces.
bridge clear interfaces 21
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge delete interface
Remove specific bridge interface.
Table 9. bridge delete interface
Command Explanation
bridge delete interface <name> Remove specific bridge interface.
bridge delete interface 22
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge detach
Detach a transport from a bridge interface.
Table 10. bridge detach
Command Explanation
bridge detach <name> Detach a transport from a bridge interface.
bridge detach 23
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge list interfaces
List bridge interfaces.
Table 11. bridge list interfaces
Command Explanation
bridge list interfaces List bridge interfaces.
Example Output: bridge list interfaces
--> bridge list interfaces
Bridge Interfaces:
ID | Name | Filter Type | Transport
-----|--------------|--------------|-----------------­ 1 | br1 | All | eth1 2 | br2 | All | ppp1 3 | br3 | All | rfc1
------------------------------------------------------
bridge list interfaces 24
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge set
Configure bridge attributes.
Table 12. bridge set
Command Explanation
bridge set dhcpFilteredPort <port> Set the DHCP filtered port. bridge set dhcpMACFiltering disable Disable DHCP MAC filtering.
enable Enable 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 all Allow all types of ethernet packets through
the port.
filtertype ip Allow only IP/ARP types of ethernet pack-
ets through the port.
filtertype pppoe Allow 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 disabled Ensure that the bridge acts as a transparent
bridge.
enabled Allow 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 dis­carded.
priority <priority> Assign priority to the bridge; The lower the
priority number, the more significant the bridge becomes in protocol terms.
bridge set 25
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge show
Display bridge/interface settings.
Table 13. bridge show
Command Explanation
bridge show Display bridge/interface settings. bridge show interface <name> Display named interface settings.
Example Output: bridge show
--> bridge show
Global bridge configuration:
Filter age: 300 DHCP MAC Filtering: false DHCP Filtered Port: bun/port=ethernet
Spanning bridge configuration:
Spanning: false Priority: 32768 Forward delay: 15 Hello time: 2 Max. age: 20
Example Output: bridge show interface br1
--> bridge show interface br1
Bridge Interface: br1
Filter Type: All Port Filter: All
bridge show 26
Chapter 3 CPE Config Commands
Chapter contents
cpeconfig action.....................................................................................................................................................28
cpeconfig set..........................................................................................................................................................29
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
27
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig action
Note This 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
Command Explanation
cpeconfig action get Request CPE to send it's configuration. cpeconfig action set Command CPE to configure itself.
cpeconfig action 28
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig set
Note This 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
Command Explanation
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 set 29
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig show
Note This 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
Command Explanation
cpeconfig show Show 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 show 30
Chapter 4 Ethernet Commands
Chapter contents
ethernet add transport ...........................................................................................................................................32
ethernet clear transports.........................................................................................................................................33
ethernet delete transport ........................................................................................................................................34
ethernet list............................................................................................................................................................35
Example Output: ethernet list ports ................................................................................................................35
Example Output: ethernet list transports .........................................................................................................35
ethernet set transport .............................................................................................................................................36
ethernet show transport .........................................................................................................................................37
Example Output: ethernet show transport eth1 ...............................................................................................37
31
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet add transport
Create ethernet transport.
Table 17. ethernet add transport
Command Explanation
ethernet add transport <name> <port> Create ethernet transport.
ethernet add transport 32
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet clear transports
Remove all ethernet transports
Table 18. ethernet clear transports
Command Explanation
ethernet clear transports Remove all ethernet transports.
ethernet clear transports 33
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet delete transport
Remove single ethernet transport.
Table 19. ethernet delete transport
Command Explanation
ethernet delete transport <name> Remove single ethernet transport.
ethernet delete transport 34
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet list
List ethernet ports and transports.
Table 20. ethernet list
Command Explanation
ethernet list ports List ports available to transport ethernet data. ethernet list transports Show ethernet transports.
Example Output: ethernet list ports
--> ethernet list ports
Valid ethernet port names: ethernet
Example Output: ethernet list transports
--> ethernet list transports
Ethernet transports:
ID | Name | Port
-----|------------|-----------­ 1 | eth1 | ethernet
-------------------------------
ethernet list 35
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet set transport
Set port of an existing ethernet transport.
Table 21. ethernet set transport
Command Explanation
ethernet set transport <name> ethernetport <port> Set the port to be used as a physical Ethernet
port.
ethernet set transport <name> port <port> Set the port that an existing Ethernet port
uses to transport ethernet data.
ethernet set transport 36
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet show transport
Display existing ethernet transport.
Table 22. ethernet set transport
Command Explanation
ethernet show transport <name> Display existing ethernet transport.
Example Output: ethernet show transport eth1
--> ethernet show transport eth1
Ethernet transport: eth1
Description: eth1 Port: ethernet
ethernet show transport 37
Chapter 5 Firewall Commands
Chapter contents
firewall add policy..................................................................................................................................................39
firewall add portfilter .............................................................................................................................................40
firewall add validator .............................................................................................................................................42
firewall clear ..........................................................................................................................................................43
firewall delete.........................................................................................................................................................44
firewall disable .......................................................................................................................................................45
firewall enable........................................................................................................................................................46
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
firewall show..........................................................................................................................................................52
Example Output: firewall show IDS ...............................................................................................................52
Example Output: firewall show IDS blacklist ..................................................................................................52
Example Output: firewall show portfilter hei_http pex_in ..............................................................................53
Example Output: firewall show validator item0 pdmz_in ................................................................................53
firewall status.........................................................................................................................................................54
Example Output: firewall status ......................................................................................................................54
38
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add policy
Add a firewall policy.
Table 23. firewall add policy
Command Explanation
firewall add policy <name> dmz-internal Add a firewall policy between the
DMZ interface and the internal inter­face.
allowonly-val Allow only traffic to and/or from the
IP address set in the firewall add val­idator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add val­idator command.
firewall add policy <name> external-dmz Add a firewall policy between the
external interface and the DMZ interface.
allowonly-val Allow only traffic to and/or from the
IP address set in the firewall add val­idator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add val­idator command.
firewall add policy <name>external-internal Add a firewall policy between the
external interface and the internal interface.
allowonly-val Allow only traffic to and/or from the
IP address set in the firewall add val­idator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add val­idator command.
firewall add policy 39
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add portfilter
Add a port filter to a firewall policy.
Note Begin each top-level command in the table below with
firewall add portfilter <name> <policyname>.
Table 24. firewall add portfilter <name> <policyname>
Command Explanation
ftp both Allow inbound/outbound transport of FTP pack-
ets between inside and outside interfaces.
inbound Allow transport of FTP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed..
outbound Allow transport of FTP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
http both Allow inbound/outbound transport of HTTP pack-
ets between inside and outside interfaces.
inbound Allow transport of HTTP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of HTTP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
icmp both Allow inbound/outbound transport of ICMP
packets between inside and outside interfaces
inbound Allow transport of ICMP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of ICMP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
protocol <number> both Allow inbound/outbound transport of packets of
the specified protocol number between inside and outside interfaces.
inbound Allow transport of packets of the specified proto-
col number from an outside interface to an inside interface. Outbound transport is not allowed.
outbound Allow transport of packets of the specified proto-
col number from an inside interface to an outside interface. Inbound transport is not allowed.
firewall add portfilter 40
Model 3231 CLI Reference Guide 5 • Firewall Commands
Table 24. firewall add portfilter <name> <policyname>
Command Explanation
smtp both Allow inbound/outbound transport of SMTP
packets between inside and outside interfaces
inbound Allow transport of SMTP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of SMTP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
tcp <startport> <endport> both Allow inbound/outbound transport of TCP pack-
ets between inside and outside interfaces.
inbound Allow transport of TCP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of TCP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
telnet both Allow inbound/outbound transport of Telnet
packets between inside and outside interfaces.
inbound Allow transport of Telnet packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of Telnet packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
udp <startport> <endport> both Allow inbound/outbound transport of UDP pack-
ets between inside and outside interfaces.
inbound Allow transport of UDP packets from an outside
interface to an inside interface. Outbound trans­port is not allowed.
outbound Allow transport of UDP packets from an inside
interface to an outside interface. Inbound trans­port is not allowed.
firewall add portfilter 41
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add validator
Add a validator to a firewall policy.
Note Begin each top-level command in the table below with
firewall add validator <name> <policyname>.
Table 25. firewall add validator
Command Explanation
both <ipaddress> <hostipmask> Filter inbound and outbound traffic
based on IP addresses.
inbound <ipaddress> <hostipmask> Block incoming traffic based on IP
addresses.
outbound <ipaddress> <hostipmask> Block outgoing traffic based on IP
addresses.
firewall add validator 42
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall clear
Delete all firewall policies or portfilters from an existing configuration.
Table 26. firewall clear
Command Explanation
firewall clear policies Delete all exisiting policies from the firewall configura-
tion.
firewall clear portfilters <policyname> Delete all portfilters that were added to an existing fire-
wall policy using the firewall add portfilter command.
firewall clear 43
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall delete
Delete a firewall policy or portfilter from an existing configuration
Table 27. firewall delete
Command Explanation
firewall delete policy <name> Delete a specific existing policy from the firewall
configuration.
firewall delete portfilter <name> <policyname> Delete a specific existing portfilter from the fire-
wall configuration.
firewall delete validator <name> <policyname> Delete a specific existing validator from a named
policy.
firewall delete 44
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall disable
Disable firewall features.
Table 28. firewall disable
Command Explanation
firewall disable Disable all firewall features. firewall disable IDS Disable IDS features of the firewall. firewall disable blockinglog Disable logging of firewall blocking. firewall disable intrusionlog Disable logging of firewall intruders. firewall disable sessionlog Disable logging of firewall sessions.
firewall disable 45
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall enable
Enable firewall features.
Table 29. firewall enable
Command Explanation
firewall enable Enable all firewall features. firewall enable IDS Enable IDS features of the firewall. firewall enable blockinglog Enable logging of firewall blocking. firewall enable intrusionlog Enable logging of firewall intruders. firewall enable sessionlog Enable logging of firewall sessions.
firewall enable 46
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall list
Show information about specific firewall features.
Table 30. firewall list
Command Explanation
firewall list policies Show information about policies that were
added to the firewall.
firewall list portfilters <policyname> Show information about portfilters that were
added to a firewall policy.
firewall list protocol List the port numbers assigned to various proto-
cols as given in RFC 1700. These numbers can be used in commands that require a protocol number.
firewall list validators <policyname> Show information about validators that were
added to a policy.
Example Output: firewall list policies
--> firewall list policies
Firewall Policies:
ID | Name | Type 1 | Type 2 | Validator Allow Only
------------------------------------------------------------------­ 1 | pex_in | external | internal | false 2 | pex_dmz | external | dmz | false 3 | pdmz_in | dmz | internal | false
-------------------------------------------------------------------
Example Output: firewall list portfilters pex_in
--> firewall list portfilters pex_in
Firewall Port Filters:
ID | Name | Type | Port Range | In | Out | Raw | TCP | UDP
---------------------------------------------------------------------------­ 1 | hei_http | 6 | 80 - 80 |false |true |false |true |false 2 | hei_dns | 17 | 53 - 53 |false |true |false |false |true 3 | hei_tdns | 6 | 53 - 53 |false |true |false |true |false 4 | hei_ftp | 6 | 21 - 21 |false |false |false |true |false 5 | hei_tnet | 6 | 23 - 23 |false |false |false |true |false 6 | hei_smtp | 6 | 25 - 25 |false |true |false |true |false 7 | hei_pop3 | 6 | 110 - 110 |false |true |false |true |false 8 | hei_nntp | 6 | 119 - 119 |false |false |false |true |false 9 | hei_rav | 17 | 7070 - 7070 |false |false |false |false |true 10 | hei_icmp | 1 | 0 - 0 |false |true |true |false |false 11 | hei_h323 | 6 | 1720 - 1720 |false |false |false |true |false 12 | hei_t120 | 6 | 1503 - 1503 |false |false |false |true |false 13 | hei_ssh | 6 | 22 - 22 |false |false |false |true |false
----------------------------------------------------------------------------
firewall list 47
Model 3231 CLI Reference Guide 5 • Firewall Commands
Example Output: firewall list protocol
--> firewall list protocol
Assigned Internet Protocol Numbers see RFC 1700 "Assigned Numbers" section "Protocol Numbers" pages 7 - 9
1 ICMP Internet Control Message 2 IGMP Internet Group Management 3 GGP Gateway-to-Gateway 4 IP IP in IP (encapsulation) 6 TCP Transmission Control 8 EGP Exterior Gateway Protocol 9 IGP any private interior gateway 17 UDP User Datagram 46 RSVP Reservation Protocol 47 GRE General Routing Encapsulation 89 OSPFIGP OSPFIGP 92 MTP Multicast Transport Protocol 94 IPIP IP-within-IP Encapsulation Protocol
Example Output: firewall list validators pdmz_in
--> firewall list validators pdmz_in
Firewall Host Validators:
ID | Name | Direction | Host IP | Mask
-------------------------------------------------------------------­ 1 | item0 | both | 192.168.200.1 | 255.255.255.0
--------------------------------------------------------------------
firewall list 48
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall set IDS
Configure the firewall Intrusion Detection Service (IDS) feature.
Table 31. firewall set IDS
Command Explanation
firewall set IDS DOSattackblock <duration> Set the length of time (in seconds) that
the firewall blocks suspicious hosts for once a DOS attack attempt has been detected by the firewall.
MaxICMP <max> Set the maximum number (per second) of
ICMP packets that are allowed before an ICMP Flood attempt is detected.
MaxPING <max> Set the maximum number (per second) of
pings that are allowed before an Echo Storm attempt is detected.
MaxTCPopenhandshake <max> Set the maximum number of unfinished
TCP handshaking sessions per second that are allowed by the firewall before a SYN Flood is detected.
SCANattackblock <duration> Set the length of time (in seconds) that
the firewall blocks all suspicious hosts for after it has detected scan activity on the firewall.
blacklist clear Clear blacklisting of an external host.
disable Disable blacklisting of an external host if
IDS has detected an intrusion from that host.
enable Enable blacklisting of an external host if
IDS has detected an intrusion from that host.
victimprotection disable Disable the victim protection feature.
enable Protect the victim from an attempted
spoofing attack.
firewall set IDS 49
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall set securitylevel
Set the desired level of security for the firewall.
Table 32. firewall set securitylevel
Command Explanation
firewall set securitylevel high Use a high level of firewall security between
interfaces.
low Use a low level of firewall security between
interfaces.
medium Use a medium level of firewall security
between interfaces.
none Block all IP traffic for every security interface. userdefined <slevel> Select a security configuration that was previ-
ously created.
firewall set securitylevel 50
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall set validator
Configure the settings for a validator.
Note Begin each top-level command in the table below with
firewall set validator <name> <policyname>.
Table 33. firewall set validator
Command Explanation
disabled Disable a validator that has been added to a policy. This allows it
to be temporarily disabled without forcing the user to delete and then recreate it. This could be useful in a testing scenario.
enabled Enable a validator that has been added to a policy. interface <interface-name> This validator will use the IP address of an existing IP interface. ipaddress <ipaddress> Set the validator IP address. netmask <hostipmask> Set the validator netmask.
firewall set validator 51
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall show
Display information about a firewall setting.
Table 34. firewall show
Command Explanation
firewall show IDS blacklist Show the hosts that are currently blacklisted by
the intrusion detection system.
firewall show policy <name> Display information about a specific policy that
was added to the firewall.
firewall show portfilter <name> <policyname> Display information about a specific portfilter
that was added to a firewall policy.
firewall show validator <name> <policyname> Display information about a specific validator
that was added to a firewall policy.
Example Output: firewall show IDS
--> firewall show IDS
Firewall IDS:
IDS Enabled: true Use Blacklist: false Use Victim Protection: false Dos Attack Block Duration: 1800 Scan Attack Block Duration: 86400 Victim Protection Block Duration: 600 Max TCP Open Handshaking Count: 100 Max PING Count: 15 Max ICMP Count: 100
Example Output: firewall show IDS blacklist
--> firewall show IDS blacklist
ALCWGetIDSBlackList succeeded, returned number = 0
Example Output: firewall show policy pex_in
--> firewall show policy pex_in
Firewall Policy: pex_in
Interface Type 1: external Interface Type 2: internal
Allow Only Validator: false
firewall show 52
Model 3231 CLI Reference Guide 5 • Firewall Commands
Example Output: firewall show portfilter hei_http pex_in
--> firewall show portfilter hei_http pex_in
Firewall Port Filter: hei_http
Transport type: 6 Port number start: 80 Port number end: 80 Inbound permission: false Outbound permission: true Raw IP: false TCP permission: true UDP permission: false
Example Output: firewall show validator item0 pdmz_in
--> firewall show validator item0 pdmz_in
Firewall Host Validator: item0
Direction: both Host IP: 192.168.200.1 Host Mask: 255.255.255.0
firewall show 53
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall status
Display information about the firewall security level and logging status.
Table 35. firewall status
Command Explanation
firewall status Display information about the firewall security level and logging status.
Example Output: firewall status
--> firewall status Firewall enabled. Firewall security level: high. Firewall session logging enabled. Firewall blocking logging enabled. Firewall intrusion logging disabled.
firewall status 54
Chapter 6 G.SHDSL Commands
Chapter contents
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
gshdsl set terminal .................................................................................................................................................71
gshdsl seta..............................................................................................................................................................72
gshdsl show............................................................................................................................................................73
Example Output: gshdsl show .........................................................................................................................73
gshdsl showTestMode............................................................................................................................................74
Example Output: gshdsl showTestMode .........................................................................................................74
gshdsl showc..........................................................................................................................................................75
Example Output: gshdsl showc .......................................................................................................................75
55
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set BERMeterMode
Configure patetrn generation
Table 36. gshdsl set BERMeterMode
Command Explanation
gshdsl set BERMeterMode 511 Configure pattern generation mode. gshdsl set BERMeterMode 511E Configure pattern generation mode that inserts errors
into the pattern every two seconds.
gshdsl set BERMeterMode off Disable pattern generation/detection.
gshdsl set BERMeterMode 56
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set Clocking
Configure clock mode.
Table 37. gshdsl set Clocking
Command Explanation
gshdsl set Clocking central_internal DSL clock is provided by the unit; Set the unit as CO. gshdsl set Clocking remote_receive_recover Recover clock from DSL; Set the unit as CPE.
gshdsl set Clocking 57
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set EthLinkKill
Configure the EthLinkKill feature.
Table 38. gshdsl set EthLinkKill
Command Explanation
gshdsl set EthLinkKill disable Disable EthLinkKill feature. gshdsl set EthLinkKill enable Disconnect the Ethernet link if the DSL link is down.
gshdsl set EthLinkKill 58
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set LineProbe
Configure the line probe feature.
Table 39. gshdsl set LineProbe
Command Explanation
gshdsl set LineProbe disable Disable Line Probe feature. gshdsl set LineProbe enable Find highest rate automatically that the line will sup-
port and set the DSL rate (up to 2.3 Mbps).
gshdsl set LineProbe 59
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set action
Save or shut down DSL configurations.
Table 40. gshdsl set action
Command Explanation
gshdsl set action deactivate Shut down the DSL port. gshdsl set action start Save DSL configuration changes; Always run after
making changes to the DSL configuration.
gshdsl set action 60
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set clockingcombination
Configure clock mode.
Table 41. gshdsl set clockingcombination
Command Explanation
gshdsl set clockingcombination central_internal
gshdsl set clockingcombination remote_receive_recover
DSL clock is provided by the unit; Set the unit as CO.
Recover clock from DSL; Set the unit as CPE.
gshdsl set clockingcombination 61
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set datarateI
Set I-bit of data rate.
Table 42. gshdsl set datarateI
Command Explanation
gshdsl set datarateI <newvalue> Set I-bit of data rate (0-7).
gshdsl set datarateI 62
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set dslrateTS
Set data rate.
Table 43. gshdsl set dslrateTS
Command Explanation
gshdsl set dslrateTS <newvalue> Set data rate ( n times 64kbps).
gshdsl set dslrateTS 63
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set errMonIntervalCnt
Set the number of intervals in error before the DSL link restarts.
Table 44. gshdsl set errMonIntervalCnt
Command Explanation
gshdsl set errMonIntervalCnt <newvalue> Set the number of intervals in error before the DSL
link restarts.
gshdsl set errMonIntervalCnt 64
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set errMonIntervalThreshold
Set the number of allowable errors per interval.
Table 45. gshdsl set errMonIntervalThreshold
Command Explanation
gshdsl set errMonIntervalThreshold <newvalue>
Set the number of allowable errors per interval.
gshdsl set errMonIntervalThreshold 65
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set errMonIntervalTime
Set the length in seconds of the current interval.
Table 46. gshdsl set errMonIntervalTime
Command Explanation
gshdsl set errMonIntervalTime <newvalue> Set the length in seconds of the current interval.
gshdsl set errMonIntervalTime 66
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set errMonStartupDelay
Set the amount of time to wait, after the link is up, before monitoring the DSL link.
Table 47. gshdsl set errMonStartupDelay
Command Explanation
gshdsl set errMonStartupDelay <newvalue> Set the amount of time to wait, after the link is up,
before monitoring the DSL link.
gshdsl set errMonStartupDelay 67
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set errMonTotalIntervals
Set the number of intervals to test before monitoring is disabled.
Table 48. gshdsl set errMonTotalIntervals
Command Explanation
gshdsl set errMonTotalIntervals <newvalue> Set the number of intervals to test before monitoring
is disabled.
gshdsl set errMonTotalIntervals 68
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set gshannex
Set the annex for the dsl port.
Table 49. gshdsl set gshannex
Command Explanation
gshdsl set gshannex AnnexA Set Annex A for countries using T1. gshdsl set gshannex AnnexB Set Annex B for countries using E1 or RFC1483.
gshdsl set gshannex 69
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set interface
Set the interface for the dsl port.
Table 50. gshdsl set interface
Command Explanation
gshdsl set interface atm Set when using pppoa. gshdsl set interface hdlc Set when using pppoh.
gshdsl set interface 70
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set terminal
Set the unit as a CO or a CPE.
Table 51. gshdsl set terminal
Command Explanation
gshdsl set terminal central Set the unit as a CO. gshdsl set terminal remote Set the unit as a CPE.
gshdsl set terminal 71
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl seta
Modify an attribute for G.SHDSL.
Table 52. gshdsl seta
Command Explanation
gshdsl seta <attrname> <newvalue> Modify an attribute.
gshdsl seta 72
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl show
Display an atttribute for G.SHDSL.
Table 53. gshdsl show
Command Explanation
gshdsl show Display all attributes. gshdsl show <attrname> Display a specific attribute.
Example Output: gshdsl show
--> gshdsl show
General Information: Version : 1.00 Platform : Unknown Zip Wire Version : Software:4.2.0 DSP Silicon:75.4 AFE:0.8 Connected : FALSE Modem State : In Progress
Attributes Setting: Action : Start Clocking Combination : remote_receiverecover Terminal : remote DSLRate TS : 36 Serial TS : ACCESS FAILED Data Rate I : 0 Actual Rate : 2304 Interface : atm PCMMode : Ethernet Loopback : Off Clocking : Internal TPClk Polarity : Normal RPClk Polarity : Normal Ghs Annex : AnnexA Cnt Clear : Normal Line Probe : Disable IBit Mask : 0 LPOpt Rate : 0 TPSTCConfig : DoNotModify Eth Link Kill : false
Status Information: LBStatus : Off Loss Of Signal : Signal Loss Loss Of Sync Word : Sync Word Loss Line Condition : Poor Noise Margin : 0.0 Line Attenuation : 0 DSLSync State : Out Of Sync Nb Dpll Lock : Not Locked Dpll Lock : Not Locked Rx Fifo Err : Normal Tx Fifo Err : Normal Tx Stuff Err : Normal Valid TPClk : Valid TX PCM Clock
gshdsl show 73
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl showTestMode
Display test mode information.
Table 54. gshdsl showTestMode
Command Explanation
gshdsl showTestMode Display Loopback and BERT counters.
Example Output: gshdsl showTestMode
--> gshdsl showTestMode
Test Mode: Loopback : Off BERMeter Mode : off
BERT Counters: BERMeter Error : 0 BERMeter Time : 0 BERMeter Status : Idle BERErr Overflow : 0 Local Loop State : IDLE F11Pattern State : IDLE
gshdsl showTestMode 74
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl showc
Display error counters.
Table 55. gshdsl showc
Command Explanation
gshdsl showc Display error counters.
Example Output: gshdsl showc
--> gshdsl showc
Error Counters (FIFO): Cnt RPFifo Full : 0 Cnt RPFifo Empty : 0 Cnt RPFifo Slip : 0 Cnt TPFifo Full : 0 Cnt TPFifo Empty : 0 Cnt TPFifo Slip : 0 Cnt TXStuff : 0 Cnt PCMDpll : 0
Error Counters (Signal): Cnt CRC : 0 Cnt SEGD : 0 Cnt LOSW : 0 Cnt SEGA : 0 Cnt LOSD : 0
Error Counters (ATM): Cnt ATMTx Cell : 0 Cnt ATMRx Cell : 0 Cnt ATMTx Idle Cell : 0 Cnt ATMRx Idle Cell : 0
Error Monitor Values: Err Mon Interval : 1 Err Mon Interval Cnt : 3 Err Mon Threshold : 3 Err Mon Total Intervals : 10 Err Mon Startup Delay : 5
gshdsl showc 75
Chapter 7 Help Commands
Chapter contents
help .......................................................................................................................................................................77
76
Model 3231 CLI Reference Guide 7 • Help Commands
help
Display help menu.
Table 56. help
Command Explanation
help Display top-level help menu.
help 77
Chapter 8 IP Commands
Chapter contents
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
78
Model 3231 CLI Reference Guide 8 • IP Commands
ip add defaultroute
Configure default IP routes.
Table 57. ip add defaultroute
Command Explanation
ip add defaultroute gateway <gatewayip> Enter an IP address of the gateway that the route will
use by default.
ip add defaultroute interface <interface> Enter the name of the existing interface that the route
will use.
ip add defaultroute 79
Model 3231 CLI Reference Guide 8 • IP Commands
ip add interface
Add an IP interface.
Table 58. ip add interface
Command Explanation
ip add interface <name> Add a named interface and set its IP address ip add interface <name> <ipaddress> ip add interface <name> <ipaddress> <netmask>
(optional).
ip add interface 80
Model 3231 CLI Reference Guide 8 • IP Commands
ip add route
Add an IP route.
Note Begin each top-level command in the table below with
ip add route <name> <dest_ip> <netmask>.
Table 59. ip add route
Command Explanation
gateway <gateway_ip> Enter the IP address of the gateway that the route will use. interface <interface> Enter the name of the existing interface that the route will use.
ip add route 81
Model 3231 CLI Reference Guide 8 • IP Commands
ip attach
Add a transport to an IP interface.
Table 60. ip attach
Command Explanation
ip attach <name> <transport> Attach an existing transport to an existing IP interface.
ip attach 82
Model 3231 CLI Reference Guide 8 • IP Commands
ip attachbridge
Attach a bridge to the router.
Table 61. ip attachbridge
Command Explanation
ip attachbridge <name> Attach the bridge to the router via an existing IP interface.
ip attachbridge 83
Model 3231 CLI Reference Guide 8 • IP Commands
ip attachvirtual
Create a virtual interface.
Table 62. ip attachvirtual
Command Explanation
ip attachvirtual <name> <real_interface> Create a virtual interface that is associated with a "real"
IP interface that has already been atatched to a transport.
ip attachvirtual 84
Model 3231 CLI Reference Guide 8 • IP Commands
ip clear
Clear attributes from an IP interface.
Table 63. ip clear
Command Explanation
ip clear arpentries Clear all ARP entries listed in the IP ARP table. ip clear interfaces Clear all IP interfaces that were created. ip clear riproutes Delete all of the existing dynamic routes that have been obtained from RIP. ip clear routes Clear all static routes that were created.
ip clear 85
Model 3231 CLI Reference Guide 8 • IP Commands
ip delete
Delete an IP interface or route.
Table 64. ip delete
Command Explanation
ip delete interface <name> Delete a specific IP interface. ip delete route <name> Delete a specific route.
ip delete 86
Model 3231 CLI Reference Guide 8 • IP Commands
ip detach
Detach a transport from an IP interface.
Table 65. ip detach
Command Explanation
ip detach <name> Detach a transport from an IP interface.
ip detach 87
Model 3231 CLI Reference Guide 8 • IP Commands
ip interface
Configure an IP interface.
Note Begin each top-level command in the table below with
ip interface <name>.
Table 66. ip interface <name>
Command Explanation
add proxyarpentry <ipaddress> Configure proxy ARP functionality on an
existing IP interface.
proxyarpentry <ipaddress> <netmask> Enter the netmask address of the interface. proxyarpexclusion <ipaddress> Configure proxy ARP exclusion functional-
ity on an existing IP interface.
proxyarpexclusion <ipaddress> <netmask> Enter the netmask address of the interface. secondaryipaddress <ipaddress> Add a secondary IP address to an existing
IP interface.
secondaryipaddress <ipaddress> <netmask> Enter the netmask address of the interface.
clear proxyarpentries Clear all proxy ARP entries and exclusions.
secondaryipaddresses Delete all additional IP addresses that have
been added to an existing IP interface.
delete proxyarpentry <number> Delete a specific proxy ARP entry.
proxyarpexclusion <number> Delete a specific proxy ARP exclusion
entry.
secondaryipaddress <number> Delete a specific secondary IP address.
list proxyarpentries Display information about proxy ARP
entries and exclusions.
secondaryipaddresses Display a list of secondary IP addresses
and netmasks that have been added to an existing IP interface.
ip interface 88
Model 3231 CLI Reference Guide 8 • IP Commands
Example Output: ip interface ip1 list proxyarpentries
--> ip interface ip1 list proxyarpentries
Proxy ARP entries for interface: ip1
ID | IP Address | Netmask | Exclude
-----|-----------------|-----------------|--------­ 1 | 192.168.200.1 | 255.255.255.255 | false 2 | 192.168.200.2 | 255.255.255.255 | true
---------------------------------------------------
Example Output: ip interface ip1 list secondaryipaddresses
--> ip interface ip1 list secondaryipaddresses
Secondary IP addresses for interface: ip1
ID | IP Address | Netmask
-----|------------------|----------------­ 1 | 192.168.200.11 | 255.255.255.0
------------------------------------------
ip interface 89
Model 3231 CLI Reference Guide 8 • IP Commands
ip list
Display information for an IP address.
Table 67. ip list
Command Explanation
ip list arpentries Display ARP table information. ip list connections Display a list of active TCP/UDP connections in use by applications running on the
device.
ip list interfaces Display information about IP interfaces. ip list riproutes Display information about the routes that have been obtained from RIP. ip list routes Display information about existing routes.
Example Output: ip list arpentries
--> ip list arpentries
IP ARP table entries:
IP address | MAC address | Interface | Static
-----------------|-------------------|--------------|--------
192.168.200.1 | 00:a0:c9:b7:fd:23 | ip1 | no
-------------------------------------------------------------
Example Output: ip list connections
--> ip list connections
Local TCP/UDP connections:
Proto | Local address | Remote address | State
-------|------------------------|------------------------|-------------­ tcp | *:53 | *:* | LISTEN tcp | *:23 | *:* | LISTEN tcp | *:80 | *:* | LISTEN udp | *:50003 | *:* | udp | *:520 | *:* | udp | *:50002 | *:* | udp | *:55003 | *:* | udp | *:55002 | *:* | udp | *:55001 | *:* | udp | *:55000 | *:* | udp | *:50001 | *:* | udp | *:53 | *:* | udp | *:161 | *:* | udp | *:69 | *:* | udp | *:123 | *:* |
------------------------------------------------------------------------
ip list 90
Model 3231 CLI Reference Guide 8 • IP Commands
Example Output: ip list interfaces
--> ip list interfaces
IP Interfaces:
ID | Name | IP Address | DHCP | Transport
-----|--------------|------------------|----------|---------------­ 1 | ip1 | 192.168.200.10 | disabled | <BRIDGE>
-------------------------------------------------------------------
Example Output: ip list riproutes
--> ip list riproutes
IP RIP routes:
Destination | Mask | Gateway | Cost | Time | Source
-----------------|-----------------|-----------------|------|------|----------
------------------------------------------------------------------------------
Example Output: ip list routes
--> ip list routes
IP routes:
ID | Name | Destination | Netmask | Gateway / Interface
-----|------------|------------------|------------------|--------------------­ 1 | default | 0.0.0.0 | 0.0.0.0 | 192.168.200.1 2 | item0 | 10.0.0.0 | 255.255.255.0 | ip1
------------------------------------------------------------------------------
ip list 91
Model 3231 CLI Reference Guide 8 • IP Commands
ip ping
Ping an IP address.
Table 68. ip ping
Command Explanation
ip ping <name> Excute Ping command to specified IP address.
ip ping 92
Model 3231 CLI Reference Guide 8 • IP Commands
ip set interface
Configure specific settings for an IP interface.
Note Begin each top-level command in the table below with
ip set interface <name>.
Table 69. ip set interface <name>
Command Explanation
dhcp disabled The interface does not use DHCP client information.
enabled The interface obtains its configuration information from
the DHCP client.
ipaddress <ipaddress> Set the IP address for the existing IP interface.
<ipaddress> <netmask> Set the netmask address of the interface.
mtu <mtu> Set the MTU (Maximum Transmission Unit) for an existing
IP interface.
netmask <netmask> Set the netmask for an existing IP interface. rip accept all Set the interface to accept RIP version 1 and RIP version 2
messages.
none The interface does not accept RIP messages. v1 Set the interface to accept only RIP version 1 messages. v2 Set the interface to accept only RIP version 2 messages.
multicast disabled Disable RIP version 2 messages from being sent via multi-
cast.
enabled Allow RIP version 2 messages to be sent via multicast.
send all Send RIP version 1 and RIP version 2 messages from the
interface.
none The interface does not accept RIP messages. v1 Send only RIP version 1 messages from the interface. v2 Send only RIP version 2 messages from the interface.
tcpmssclamp disabled The IP stack will not examine or modify TCP traffic routed
through the interface.
enabled Examine and modify TCP SYN packets that are routed
through the interface.
ip set interface 93
Model 3231 CLI Reference Guide 8 • IP Commands
ip set rip
Configure RIP settings for an IP interface.
Table 70. ip set rip
Command Explanation
ip set rip advertisedefault disabled Disable advertisement of a default route.
enabled Enable RIP to advertise a default route with the cost
metric set.
authentication disabled Reject RIP v2 packets containing an authentication
entry.
enabled Accept RIP v2 packets that contain an authentication
entry with the correct password.
defaultroutecost <cost> Set the number of hops counted as the cost of a
default route advertised via RIP.
hostroutes disabled Set the hostroutes flag to OFF.
enabled Set the hostroutes flag to ON; Accept RIP routes to
specific routes.
password <password> Set an authentication string that is placed on RIP v2
packets.
poison disabled Set the poisoned reverse flag to OFF.
enabled Set the poisoned reverse flag to ON;
ATMOS TCP/IP performs poisoned reverse.
ip set rip 94
Model 3231 CLI Reference Guide 8 • IP Commands
ip set route
Configure settings for an IP route.
Note Begin each top-level command in the table below with
ip set route <name>.
Table 71. ip set route <name>
Command Explanation
cost <cost> Set the number of hops counted as the cost of the route
for a route previously created.
destination <dest_ip> <netmask> Set the destination network address of a route previously
created.
gateway <gateway_ip> Set the gateway address of a route previously created. interface <interface> Set the interface used by a route previously created.
ip set route 95
Model 3231 CLI Reference Guide 8 • IP Commands
ip show
Display information for an IP interface.
Table 72. ip show
Command Explanation
ip show Display current RIP configuration and any other information global to
the router.
ip show debuginfo Display debugging information. ip show interface <name> Display information about a named interface. ip show route <name> Display information about a named route.
Example Output: ip show debuginfo
--> ip show debuginfo Found IP stack.
Interfaces:
----------­IfIndex: 1 Name: ip1 Addr: 192.168.200.10 Mask: 255.255.255.0 All addresses:
192.168.200.10 255.255.255.0
192.168.200.11 0.0.0.0 IGMP membership: DHCP: disabled MSS Clamp: disabled Rx Filter: none Tx Filter: none IfType: ETHER MAC: 00:a0:ba:03:71:0e Virtual: No Device: //bridge
IfIndex: 16 Name: loopback Addr: 127.0.0.1 Mask: 255.0.0.0 All addresses:
127.0.0.1 255.0.0.0 IGMP membership: DHCP: disabled MSS Clamp: disabled Rx Filter: none Tx Filter: none IfType: LOOP Virtual: No Device: (null)
Routing table:
-------------­Dst: 0. 0. 0. 0 / 0 Gw: 192.168.200. 1 If: 1 Cost: 1 Dst: 10. 0. 0. 0 / 24 Gw: 0. 0. 0. 0 If: 1 Cost: 1 Dst: 192.168.200. 0 / 24 Gw: 0. 0. 0. 0 If: 1 Cost: 1 Dst: 127. 0. 0. 0 / 8 Gw: 0. 0. 0. 0 If: 16 Cost: 1
IGMP Proxy multicast forwarder:
------------------------------­ Upstream interface: none Group address Interfaces
Pending socket messages:
ip show 96
Model 3231 CLI Reference Guide 8 • IP Commands
-----------------------­Socket message pending queue count: 3
Compile time configuration:
--------------------------­ QOS support: disabled Checksum forwarded packets: no Validate source addresses: no ATIC Layer 2: not present IPv6 support: not present
Example Output: ip show interface ip1
--> ip show interface ip1
IP Interface: ip1
Ipaddr : 192.168.200.10 Mask : 255.255.255.0 MTU : 1500 Dhcp : false
TCP MSS Clamp : false Accept V1 : false Send V1 : false Accept V2 : false Send V2 : false Send Multicast : false
Note See “ip interface” on page 88 for other interface addresses.
Example Output: ip show route default
--> ip show route default
IP route: default
Destination: 0.0.0.0 Netmask: 0.0.0.0 Gateway: 192.168.200.1 Cost: 1 Interface:
Route valid: true
ip show 97
Model 3231 CLI Reference Guide 8 • IP Commands
ip traceroute
Start or stop a trace route process.
Table 73. ip traceroute
Command Explanation
ip traceroute start Start a trace route process. ip traceroute start <name> Input multiple parameters for a trace route as a string, i.e.:
"-v 0.0.0.0".
ip traceroute stop Cancel a route trace already in progress.
ip traceroute 98
Chapter 9 Logger Commands
Chapter contents
logger set .............................................................................................................................................................100
logger show..........................................................................................................................................................101
Example Output: logger show .......................................................................................................................101
99
Model 3231 CLI Reference Guide 9 • Logger Commands
logger set
Configure syslog.
Table 74. logger set
Command Explanation
logger set facility Set the "facility" attribute. logger set facility <facility> Set the new value of "facility". logger set host Set the log host. logger set host <host> Specify the host IP address.
logger set 100
Loading...