This is a Class A device and is intended for use in a light industrial environment. It is not intended nor approved for use in an industrial
or residential environment.
Sales Office: +1 (301) 975-1000
Technical Support: +1 (301) 975-1007
E-mail: support@patton.com
WWW: www.patton.com
Part Number: 07M3231-CLI, Rev. A
Revised: October 29, 2008
Patton Electronics, Inc.
Trademark Statement
All other trademarks presented in this document are the property of their
respective owners.
The information in this document is subject to change without notice. Patton assumes
no liability for errors that may appear in this document.
Warranty Information
Patton warrants all Model 3231 components to be free from defects, and will—at our
option—repair or replace the product should it fail within one year from the first date
of shipment.
This warranty is limited to defects in workmanship or materials, and does not cover
customer damage, abuse or unauthorized modification. If this product fails or does not
perform as warranted, your sole recourse shall be repair or replacement as described
above. Under no condition shall Patton be liable for any damages incurred by the use
of this product. These damages include, but are not limited to, the following: lost profits, lost savings and incidental or consequential damages arising from the use of or
inability to use this product. Patton specifically disclaims all other warranties,
expressed or implied, and the installation or use of this product shall be deemed an
acceptance of these terms by the user.
Note
Conformity documents of all Patton products can be viewed online at
www.patton.com under the appropriate product page.
7 Help Commands ........................................................................................................................................... 76
8 IP Commands ............................................................................................................................................... 78
10 Port Commands .......................................................................................................................................... 102
18 System Commands ...................................................................................................................................... 158
19 Transport Commands ................................................................................................................................. 174
20 User Commands.......................................................................................................................................... 179
Summary Table of Contents ........................................................................................................................... 3
Table of Contents ........................................................................................................................................... 4
About this guide ........................................................................................................................................... 10
Using the CLI .......................................................................................................................................................11
Connect a PC and log in .................................................................................................................................11
Typographical conventions used in this document................................................................................................ 12
General conventions .......................................................................................................................................12
alarm all alarmStatus..............................................................................................................................................14
alarm set <index> alarmSeverity.............................................................................................................................15
alarm set <index> alarmStatus................................................................................................................................16
alarm show ............................................................................................................................................................17
Example Output: alarm show .........................................................................................................................17
bridge list interfaces ...............................................................................................................................................24
Example Output: bridge list interfaces ............................................................................................................24
bridge set ...............................................................................................................................................................25
bridge show ...........................................................................................................................................................26
Example Output: bridge show ........................................................................................................................26
Example Output: bridge show interface br1 ....................................................................................................26
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
ethernet add transport ...........................................................................................................................................32
ethernet delete transport ........................................................................................................................................34
Example Output: ethernet list ports ................................................................................................................35
4
5
Model 3231 CLI Reference Guide
Table of Contents
Example Output: ethernet list transports .........................................................................................................35
ethernet set transport .............................................................................................................................................36
ethernet show transport .........................................................................................................................................37
Example Output: ethernet show transport eth1 ...............................................................................................37
firewall list .............................................................................................................................................................47
Example Output: firewall list policies ..............................................................................................................47
Example Output: firewall list portfilters pex_in ...............................................................................................47
Example Output: firewall list protocol ............................................................................................................48
Example Output: firewall list validators pdmz_in ............................................................................................48
firewall set IDS ......................................................................................................................................................49
firewall set securitylevel..........................................................................................................................................50
firewall set validator...............................................................................................................................................51
Example Output: firewall status ......................................................................................................................54
gshdsl set BERMeterMode ....................................................................................................................................56
gshdsl set Clocking ................................................................................................................................................57
gshdsl set EthLinkKill............................................................................................................................................58
gshdsl set LineProbe ..............................................................................................................................................59
gshdsl set action.....................................................................................................................................................60
gshdsl set clockingcombination..............................................................................................................................61
gshdsl set datarateI.................................................................................................................................................62
gshdsl set dslrateTS................................................................................................................................................63
gshdsl set errMonIntervalCnt ................................................................................................................................64
gshdsl set errMonIntervalThreshold.......................................................................................................................65
gshdsl set errMonIntervalTime ..............................................................................................................................66
gshdsl set errMonStartupDelay..............................................................................................................................67
gshdsl set errMonTotalIntervals.............................................................................................................................68
gshdsl set gshannex ................................................................................................................................................69
gshdsl set interface .................................................................................................................................................70
6
Model 3231 CLI Reference Guide
Table of Contents
gshdsl set terminal .................................................................................................................................................71
Example Output: gshdsl show .........................................................................................................................73
Example Output: gshdsl showc .......................................................................................................................75
7 Help Commands ........................................................................................................................................... 76
help .......................................................................................................................................................................77
8 IP Commands ............................................................................................................................................... 78
ip add defaultroute ................................................................................................................................................79
ip add interface......................................................................................................................................................80
ip add route ...........................................................................................................................................................81
ip attach ................................................................................................................................................................82
ip attachbridge.......................................................................................................................................................83
ip attachvirtual.......................................................................................................................................................84
ip clear...................................................................................................................................................................85
ip delete.................................................................................................................................................................86
ip detach................................................................................................................................................................87
ip interface.............................................................................................................................................................88
Example Output: ip interface ip1 list proxyarpentries .....................................................................................89
Example Output: ip interface ip1 list secondaryipaddresses .............................................................................89
ip list .....................................................................................................................................................................90
Example Output: ip list arpentries ..................................................................................................................90
Example Output: ip list connections ...............................................................................................................90
Example Output: ip list interfaces ...................................................................................................................91
Example Output: ip list riproutes ....................................................................................................................91
Example Output: ip list routes ........................................................................................................................91
ip ping...................................................................................................................................................................92
ip set interface........................................................................................................................................................93
ip set rip ................................................................................................................................................................94
ip set route.............................................................................................................................................................95
ip show..................................................................................................................................................................96
Example Output: ip show debuginfo ..............................................................................................................96
Example Output: ip show interface ip1 ...........................................................................................................97
Example Output: ip show route default ..........................................................................................................97
ip traceroute ..........................................................................................................................................................98
logger set .............................................................................................................................................................100
Example Output: logger show .......................................................................................................................101
7
Model 3231 CLI Reference Guide
Table of Contents
10 Port Commands .......................................................................................................................................... 102
port ethernet........................................................................................................................................................103
port list................................................................................................................................................................104
Example Output: port list all ........................................................................................................................104
Example Output: port list atm ......................................................................................................................104
Example Output: port list ethernet ...............................................................................................................104
Example Output: port list hdlc .....................................................................................................................104
ppp add transport ................................................................................................................................................106
ppp list transports................................................................................................................................................109
Example Output: ppp list transports .............................................................................................................109
ppp set transport..................................................................................................................................................110
ppp show transport..............................................................................................................................................112
Example Output: ppp show transport ppp1 ..................................................................................................112
pppoa add transport ............................................................................................................................................114
pppoa list transports ............................................................................................................................................117
Example Output: pppoa list transports ..........................................................................................................117
pppoa set transport ..............................................................................................................................................118
pppoa show transport ..........................................................................................................................................122
Example Output: pppoa show transport ppp1 ..............................................................................................122
pppoe delete transport .........................................................................................................................................126
pppoe list transports ............................................................................................................................................127
Example Output: pppoe list transports ..........................................................................................................127
pppoe set transport ..............................................................................................................................................128
pppoe show transport ..........................................................................................................................................132
rfc1483 add transport ..........................................................................................................................................134
rfc1483 list transports..........................................................................................................................................137
Example Output: rfc1483 list transports .......................................................................................................137
rfc1483 set transport............................................................................................................................................138
rfc1483 show transport........................................................................................................................................139
Example Output: rfc1483 show transport rfc1 ..............................................................................................139
security list ..........................................................................................................................................................146
Example Output: security list interfaces ........................................................................................................146
Example Output: security list triggers ...........................................................................................................146
security set trigger................................................................................................................................................147
security show .......................................................................................................................................................148
Example Output: security show interface ip1 ................................................................................................148
Example Output: security show trigger t2_h323 ...........................................................................................148
security status ......................................................................................................................................................149
Example Output: security status ....................................................................................................................149
snmp save ............................................................................................................................................................153
snmp set ..............................................................................................................................................................154
snmp show ..........................................................................................................................................................155
Example Output: snmp show ........................................................................................................................155
18 System Commands ...................................................................................................................................... 158
system add...........................................................................................................................................................159
system config.......................................................................................................................................................160
system cpu...........................................................................................................................................................161
Example Output: system cpu npOverThreshold ...........................................................................................161
Example Output: system cpu npThreshold get .............................................................................................161
Example Output: system cpu npUsage ..........................................................................................................161
Example Output: system cpu ppOverThreshold ...........................................................................................161
Example Output: system cpu ppThreshold get ..............................................................................................162
Example Output: system cpu ppUsage ..........................................................................................................162
system delete........................................................................................................................................................163
system ifTable reset..............................................................................................................................................164
system info ..........................................................................................................................................................165
Example Output: system info ........................................................................................................................165
system legal..........................................................................................................................................................166
Example Output: system legal .......................................................................................................................166
system list ............................................................................................................................................................167
Example Output: system list errors ...............................................................................................................167
Example Output: system list logins ...............................................................................................................167
9
Model 3231 CLI Reference Guide
Table of Contents
Example Output: system list openfiles bun ...................................................................................................167
Example Output: system list users .................................................................................................................168
system log............................................................................................................................................................169
Example Output: system log list ....................................................................................................................169
Example Output: system log list op ...............................................................................................................170
system restart.......................................................................................................................................................171
system set ............................................................................................................................................................172
system show.........................................................................................................................................................173
Example Output: system show aticmem ........................................................................................................173
Example Output: system show firmware update protection ...........................................................................173
19 Transport Commands ................................................................................................................................. 174
Example Output: transports list ....................................................................................................................177
Example Output: transports show eth1 .........................................................................................................178
20 User Commands.......................................................................................................................................... 179
user change..........................................................................................................................................................180
user logout...........................................................................................................................................................181
user password ......................................................................................................................................................182
Example Output: webserver show info ..........................................................................................................189
Example Output: webserver show stats .........................................................................................................189
About this guide
This guide describes commands for configuring the Patton Model 3231 Industrial Ethernet Extender with
LCD.
Note
For general information regarding setting up, installing and operating
the 3231, refer to the Getting Started Guide .
Audience
This guide is intended for administrators and operators.
Structure
• Chapter 1, "Alarm Commands" on page 13 describes commands for configuring alarms.
• Chapter 2, “Bridge Commands” on page 18 describes commands for configuring the bridge.
• Chapter 3, “CPE Config Commands” on page 27 describes commands for configuring the CPE.
(These commands are only available from the CO unit).
• Chapter 4, “Ethernet Commands” on page 31 describes commands for configuring Ethernet transports.
• Chapter 5, “Firewall Commands” on page 38 describes commands for configuring the firewall.
• Chapter 6, “G.SHDSL Commands” on page 55 describes commands for configuring the G.SHDSL port.
• Chapter 7, “Help Commands” on page 76 describes commands for accessing the top-level CLI help.
• Chapter 8, “IP Commands” on page 78 describes commands for configuring IP interfaces.
• Chapter 9, “Logger Commands” on page 99 describes commands for logging into a remote host.
• Chapter 10, “Port Commands” on page 102 describes commands for configuring physical ports.
• Chapter 11, “PPP Commands” on page 105 describes commands for configuring PPP over HDLC.
• Chapter 12, “PPPoA Commands” on page 113 describes commands for configuring PPP over ATM.
• Chapter 13, “PPPoE Commands” on page 123 describes commands for configuring PPP over Ethernet.
• Chapter 14, “RFC1483 Commands” on page 133 describes commands for configuring RFC 1483 trans-
ports.
• Chapter 15, “Security Commands” on page 140 describes commands for configuring security features.
• Chapter 16, “SNMP Commands” on page 150 describes commands for configuring SNMP settings.
• Chapter 17, “Source Commands” on page 156 describes commands for viewing source files.
• Chapter 18, “System Commands” on page 158 describes commands for managing the system.
• Chapter 19, “Transport Commands” on page 174 describes commands for configuring transports.
• Chapter 20, “User Commands” on page 179 describes commands for managing user login information.
• Chapter 21, “Webserver Commands” on page 183 describes commands for configuring the Web Server.
10
11
1.
2.
Model 3231 CLI Reference Guide
Using the CLI
The Model 3231 may be configured through the CLI, although basic settings should be configured through
the LCD menu on the unit.
Connect a PC and log in
Use an RS-232/Ethernet cable and DB9-RJ45 adapter to connect a PC’s serial port to the 3231’s Console port
(see figure 1).
The interconnecting cables shall be acceptable for external use
and shall be rated for the proper application with respect to voltage, current, anticipated temperature, flammability, and
CAUTION
mechanical serviceability.
PC with
terminal emulator
Power
5V, 1A
Console
Ethernet
Reset
Serial port
Line
Connect to Console port
Figure 1. Connecting the 3231 to the PC’s serial port
Start a HyperTerminal session on the PC using the settings:
9600 bps, 8 data bits, no parity, 1 stop bit, no flow control
Log in to the 3231 using the factory-default login ( superuser ) and password ( superuser ):
Using the CLI
CAUTION
12
Model 3231 CLI Reference Guide
Precautions
Notes, cautions, and warnings, which have the following meanings, are used throughout this guide to help you
become aware of potential problems.
Note
A note presents additional information or interesting sidelights.
The alert symbol and IMPORTANT heading calls attention to
important information.
IMPORTANT
The alert symbol and CAUTION heading indicate a potential hazard. Strictly follow the instructions to avoid property damage.
Typographical conventions used in this document
This section describes the typographical conventions and terms used in this guide.
General conventions
The procedures described in this manual use the following text conventions:
Table 1. General conventions
ConventionMeaning
Garamond blue type
Futura bold type
Futura bold-italic type Parts of commands, which are related to elements already named by the user, are
Italicized Futura type
Futura typeIndicates the names of fields or windows.
Garamond bold type
Indicates a cross-reference hyperlink that points to a figure, graphic, table, or section heading. Clicking on the hyperlink jumps you to the reference. When you
have finished reviewing the reference, click on the Go to Previous View
button in the Adobe® Acrobat® Reader toolbar to return to your starting point.
Commands and keywords are in boldface font.
in boldface italic font.
Variables for which you supply values are in italic font
Indicates the names of command buttons that execute an action.
Using the CLI
Chapter 1
Chapter contents
alarm all alarmStatus..............................................................................................................................................14
alarm set <index> alarmSeverity.............................................................................................................................15
alarm set <index> alarmStatus................................................................................................................................16
alarm show ............................................................................................................................................................17
Example Output: alarm show .........................................................................................................................17
Alarm Commands
13
14
Model 3231 CLI Reference Guide
alarm all alarmStatus
Set the alarm state for all alarms.
Command
alarm all alarmStatus clear
alarm all alarmStatus reset
1 • Alarm Commands
Table 2. alarm all alarmStatus
Explanation
Set the alarm state to "clear" for all alarms. Does not clear the
number of occurences and the time of the most recent occurrence.
Set the alarm state to "clear" for all alarms. Clears the number of
occurrences and the time of the most recent occurrence.
alarm all alarmStatus
15
Model 3231 CLI Reference Guide
alarm set <index> alarmSeverity
Set the index for the severity level of an alarm.
Table 3. alarm set <index> alarmSeverity
Command
alarm set <index> alarm Severity
critical
alarm set <index> alarm Severity
ignore
alarm set <index> alarm Severity
informational
alarm set <index> alarm Severity
major
alarm set <index> alarm Severity
minor
Determine the level of importance for specific alarms.
Critical/Major = The most severe alarms
Ignore/Informational/Minor = Non-severe alarms
1 • Alarm Commands
Explanation
alarm set <index> alarmSeverity
Model 3231 CLI Reference Guide 1 • Alarm Commands
alarm set <index> alarmStatus
Set the index for the status level of an alarm.
Table 4. alarm set <index> alarmStatus
CommandExplanation
alarm set <index> alarm Status
active
Mark the alarm condition as a currently present alarm.
alarm set <index> alarm Status
clear
alarm set <index> alarm Status
inactive
alarm set <index> alarm Status
reset
Clear a specific alarm. Does not clear the number of occurrences
or the most recent occurrence.
Mark the alarm condition as not currently present.
Clear a specific alarm. Clears the number of occurrences or the
most recent occurrence.
alarm set <index> alarmStatus16
Model 3231 CLI Reference Guide 1 • Alarm Commands
alarm show
Show alarm status.
Table 5. alarm show
CommandExplanation
alarm showShow alarm status.
Example Output: alarm show
--> alarm show
Current Box State: Major
Alarm Table
Alarm
Active | ID | Alarm String | Severity | Time | Count
--------|-----|------------------------|-----------------|-----------|----- | 1 | PP Over Threshold | Informational | 00:00:00s | 0
| 2 | NP Over Threshold | Informational | 00:00:00s | 0
| 3 | G.SHDSL Loss Of Signal | Major | 00:00:00s | 0
**** | 4 | Ethernet Link Down | Major | 00:00:05s | 1
bridge list interfaces ...............................................................................................................................................24
Example Output: bridge list interfaces ............................................................................................................24
bridge set ...............................................................................................................................................................25
bridge show ...........................................................................................................................................................26
Example Output: bridge show ........................................................................................................................26
Example Output: bridge show interface br1 ....................................................................................................26
18
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge add interface
Add a named interface to the bridge.
Table 6. bridge add interface
CommandExplanation
bridge add interface <name>Add a named interface to the bridge.
bridge add interface19
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge attach
Attach existing transport to existing bridge interface.
Table 7. bridge attach
CommandExplanation
bridge attach <name> <transport> Attach existing transport to existing bridge interface.
bridge attach20
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge clear interfaces
Remove all bridge interfaces.
Table 8. bridge clear interfaces
CommandExplanation
bridge clear interfacesRemove all bridge interfaces.
bridge clear interfaces21
Model 3231 CLI Reference Guide 2 • Bridge Commands
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge set
Configure bridge attributes.
Table 12. bridge set
CommandExplanation
bridge set dhcpFilteredPort <port>Set the DHCP filtered port.
bridge set dhcpMACFiltering disableDisable DHCP MAC filtering.
enableEnable DHCP MAC filtering.
bridge set filterage <filterage>Set the time of no activity after which MAC
addresses are removed from the filter table.
bridge set interface <name> filtertype allAllow all types of ethernet packets through
the port.
filtertype ipAllow only IP/ARP types of ethernet pack-
ets through the port.
filtertype pppoeAllow only PPPoE types of ethernet packets
through the port.
portfilter <port>Set the other ports to which this interface
can bridge.
spanning cost <pathcost>Allow STP to make better decisions on
which port to forward on. The lower the
cost, the more likely that port is to enter the
forwarding state. For example, you might
assign a low cost to the Ethernet port and a
higher one to a PPP interface because the
Ethernet interface has more bandwidth.
spanning priority<priority> Allow STP to advertise different priorities
out different interfaces.
bridge set spanning disabledEnsure that the bridge acts as a transparent
bridge.
enabledAllow the bridge to use the spanning tree
protocol.
forwarddelay <delay>Set the time that the bridge spends in listen-
ing or learning states when the bridge is or
is attempting to become the root bridge.
hellotime <hellotime>Set the time after which the spanning tree
process sends notification of changes to the
root bridge.
maxage <maxage>Set the maximum age of received spanning
tree protocol information before it is discarded.
priority <priority>Assign priority to the bridge; The lower the
priority number, the more significant the
bridge becomes in protocol terms.
bridge set25
Model 3231 CLI Reference Guide 2 • Bridge Commands
bridge show
Display bridge/interface settings.
Table 13. bridge show
CommandExplanation
bridge show Display bridge/interface settings.
bridge show interface <name>Display named interface settings.
cpeconfig show ......................................................................................................................................................30
Example Output: cpeconfig show ...................................................................................................................30
27
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig action
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Transmit/receive the CPE configuration.
Table 14. cpeconfig action
CommandExplanation
cpeconfig action getRequest CPE to send it's configuration.
cpeconfig action setCommand CPE to configure itself.
cpeconfig action28
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig set
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Set CPE configurable parameters.
Table 15. cpeconfig set
CommandExplanation
cpeconfig set defaultgw <newvalue>Set default GW as format: xxx.xxx.xxx.xxx
cpeconfig set dslrateTS <newvalue>Set DSL data rate as n_64kbps.
cpeconfig set ipaddress <newvalue>Set IP Address as format: xxx.xxx.xxx.xxx
cpeconfig set netmask <newvalue>Set Net Mask as format: xxx.xxx.xxx.xxx
cpeconfig set29
Model 3231 CLI Reference Guide 3 • CPE Config Commands
cpeconfig show
NoteThis command is only available on the CO unit. Refer to the Getting
Started Guide for more information.
Show the CPE's configuration.
Table 16. cpeconfig show
CommandExplanation
cpeconfig showShow the CPE's configuration.
Example Output: cpeconfig show
--> cpeconfig show
Configuration State: Initializing
Timeslots: 36
IP Address: 192.168.200.10
Netmask: 255.255.255.0
Default Gateway: 0.0.0.0
cpeconfig show30
Chapter 4Ethernet Commands
Chapter contents
ethernet add transport ...........................................................................................................................................32
ethernet delete transport ........................................................................................................................................34
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
CommandExplanation
ethernet add transport <name> <port> Create ethernet transport.
ethernet add transport32
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet clear transports
Remove all ethernet transports
Table 18. ethernet clear transports
CommandExplanation
ethernet clear transportsRemove all ethernet transports.
ethernet clear transports33
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet delete transport
Remove single ethernet transport.
Table 19. ethernet delete transport
CommandExplanation
ethernet delete transport <name>Remove single ethernet transport.
ethernet delete transport34
Model 3231 CLI Reference Guide 4 • Ethernet Commands
ethernet list
List ethernet ports and transports.
Table 20. ethernet list
CommandExplanation
ethernet list portsList ports available to transport ethernet data.
ethernet list transportsShow ethernet transports.
firewall list .............................................................................................................................................................47
Example Output: firewall list policies ..............................................................................................................47
Example Output: firewall list portfilters pex_in ...............................................................................................47
Example Output: firewall list protocol ............................................................................................................48
Example Output: firewall list validators pdmz_in ............................................................................................48
firewall set IDS ......................................................................................................................................................49
firewall set securitylevel..........................................................................................................................................50
firewall set validator...............................................................................................................................................51
Example Output: firewall status ......................................................................................................................54
38
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add policy
Add a firewall policy.
Table 23. firewall add policy
CommandExplanation
firewall add policy <name> dmz-internalAdd a firewall policy between the
DMZ interface and the internal interface.
allowonly-val Allow only traffic to and/or from the
IP address set in the firewall add validator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add validator command.
firewall add policy <name> external-dmzAdd 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 validator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add validator command.
firewall add policy <name>external-internalAdd 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 validator command.
blockonly-val Block only traffic to and/or from the
IP address set in the firewall add validator command.
firewall add policy39
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add portfilter
Add a port filter to a firewall policy.
NoteBegin each top-level command in the table below with
inboundAllow transport of SMTP packets from an outside
interface to an inside interface. Outbound transport is not allowed.
outboundAllow transport of SMTP packets from an inside
interface to an outside interface. Inbound transport is not allowed.
tcp<startport><endport>bothAllow inbound/outbound transport of TCP pack-
ets between inside and outside interfaces.
inboundAllow transport of TCP packets from an outside
interface to an inside interface. Outbound transport is not allowed.
outboundAllow transport of TCP packets from an inside
interface to an outside interface. Inbound transport is not allowed.
telnetbothAllow inbound/outbound transport of Telnet
packets between inside and outside interfaces.
inboundAllow transport of Telnet packets from an outside
interface to an inside interface. Outbound transport is not allowed.
outboundAllow transport of Telnet packets from an inside
interface to an outside interface. Inbound transport is not allowed.
udp<startport><endport>bothAllow inbound/outbound transport of UDP pack-
ets between inside and outside interfaces.
inboundAllow transport of UDP packets from an outside
interface to an inside interface. Outbound transport is not allowed.
outboundAllow transport of UDP packets from an inside
interface to an outside interface. Inbound transport is not allowed.
firewall add portfilter41
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall add validator
Add a validator to a firewall policy.
NoteBegin each top-level command in the table below with
firewall add validator <name> <policyname>.
Table 25. firewall add validator
CommandExplanation
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 validator42
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall clear
Delete all firewall policies or portfilters from an existing configuration.
Table 26. firewall clear
CommandExplanation
firewall clear policiesDelete 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 clear43
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall delete
Delete a firewall policy or portfilter from an existing configuration
Table 27. firewall delete
CommandExplanation
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 delete44
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall disable
Disable firewall features.
Table 28. firewall disable
CommandExplanation
firewall disableDisable all firewall features.
firewall disable IDSDisable IDS features of the firewall.
firewall disable blockinglogDisable logging of firewall blocking.
firewall disable intrusionlogDisable logging of firewall intruders.
firewall disable sessionlogDisable logging of firewall sessions.
firewall disable45
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall enable
Enable firewall features.
Table 29. firewall enable
CommandExplanation
firewall enableEnable all firewall features.
firewall enable IDSEnable IDS features of the firewall.
firewall enable blockinglogEnable logging of firewall blocking.
firewall enable intrusionlogEnable logging of firewall intruders.
firewall enable sessionlogEnable logging of firewall sessions.
firewall enable46
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall list
Show information about specific firewall features.
Table 30. firewall list
CommandExplanation
firewall list policiesShow 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 protocolList 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
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
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall set IDS
Configure the firewall Intrusion Detection Service (IDS) feature.
Table 31. firewall set IDS
CommandExplanation
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.
blacklistclearClear blacklisting of an external host.
disableDisable blacklisting of an external host if
IDS has detected an intrusion from that
host.
enableEnable blacklisting of an external host if
IDS has detected an intrusion from that
host.
victimprotectiondisableDisable the victim protection feature.
enableProtect the victim from an attempted
spoofing attack.
firewall set IDS49
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
CommandExplanation
firewall set securitylevelhighUse a high level of firewall security between
interfaces.
lowUse a low level of firewall security between
interfaces.
mediumUse a medium level of firewall security
between interfaces.
noneBlock all IP traffic for every security interface.
userdefined <slevel> Select a security configuration that was previ-
ously created.
firewall set securitylevel50
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall set validator
Configure the settings for a validator.
NoteBegin each top-level command in the table below with
firewall set validator <name> <policyname>.
Table 33. firewall set validator
CommandExplanation
disabledDisable 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.
enabledEnable 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 validator51
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall show
Display information about a firewall setting.
Table 34. firewall show
CommandExplanation
firewall show IDS blacklistShow 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 show52
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 show53
Model 3231 CLI Reference Guide 5 • Firewall Commands
firewall status
Display information about the firewall security level and logging status.
Table 35. firewall status
CommandExplanation
firewall statusDisplay information about the firewall security level and logging status.
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
Example Output: gshdsl show .........................................................................................................................73
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
CommandExplanation
gshdsl set BERMeterMode 511Configure pattern generation mode.
gshdsl set BERMeterMode 511EConfigure pattern generation mode that inserts errors
into the pattern every two seconds.
gshdsl set BERMeterMode offDisable pattern generation/detection.
gshdsl set BERMeterMode56
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set Clocking
Configure clock mode.
Table 37. gshdsl set Clocking
CommandExplanation
gshdsl set Clocking central_internalDSL clock is provided by the unit; Set the unit as CO.
gshdsl set Clocking remote_receive_recoverRecover clock from DSL; Set the unit as CPE.
gshdsl set Clocking57
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set EthLinkKill
Configure the EthLinkKill feature.
Table 38. gshdsl set EthLinkKill
CommandExplanation
gshdsl set EthLinkKill disableDisable EthLinkKill feature.
gshdsl set EthLinkKill enableDisconnect the Ethernet link if the DSL link is down.
gshdsl set EthLinkKill58
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set LineProbe
Configure the line probe feature.
Table 39. gshdsl set LineProbe
CommandExplanation
gshdsl set LineProbe disableDisable Line Probe feature.
gshdsl set LineProbe enableFind highest rate automatically that the line will sup-
port and set the DSL rate (up to 2.3 Mbps).
gshdsl set LineProbe59
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set action
Save or shut down DSL configurations.
Table 40. gshdsl set action
CommandExplanation
gshdsl set action deactivateShut down the DSL port.
gshdsl set action startSave DSL configuration changes; Always run after
making changes to the DSL configuration.
gshdsl set action60
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set clockingcombination
Configure clock mode.
Table 41. gshdsl set clockingcombination
CommandExplanation
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 clockingcombination61
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set datarateI
Set I-bit of data rate.
Table 42. gshdsl set datarateI
CommandExplanation
gshdsl set datarateI <newvalue>Set I-bit of data rate (0-7).
gshdsl set datarateI62
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set dslrateTS
Set data rate.
Table 43. gshdsl set dslrateTS
CommandExplanation
gshdsl set dslrateTS <newvalue>Set data rate ( n times 64kbps).
gshdsl set dslrateTS63
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
CommandExplanation
gshdsl set errMonIntervalCnt <newvalue>Set the number of intervals in error before the DSL
link restarts.
gshdsl set errMonIntervalCnt64
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
CommandExplanation
gshdsl set errMonIntervalThreshold
<newvalue>
Set the number of allowable errors per interval.
gshdsl set errMonIntervalThreshold65
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
CommandExplanation
gshdsl set errMonIntervalTime <newvalue>Set the length in seconds of the current interval.
gshdsl set errMonIntervalTime66
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
CommandExplanation
gshdsl set errMonStartupDelay <newvalue> Set the amount of time to wait, after the link is up,
before monitoring the DSL link.
gshdsl set errMonStartupDelay67
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
CommandExplanation
gshdsl set errMonTotalIntervals <newvalue> Set the number of intervals to test before monitoring
is disabled.
gshdsl set errMonTotalIntervals68
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set gshannex
Set the annex for the dsl port.
Table 49. gshdsl set gshannex
CommandExplanation
gshdsl set gshannex AnnexASet Annex A for countries using T1.
gshdsl set gshannex AnnexBSet Annex B for countries using E1 or RFC1483.
gshdsl set gshannex69
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl set interface
Set the interface for the dsl port.
Table 50. gshdsl set interface
CommandExplanation
gshdsl set interface atmSet when using pppoa.
gshdsl set interface hdlcSet when using pppoh.
gshdsl set interface70
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
CommandExplanation
gshdsl set terminal centralSet the unit as a CO.
gshdsl set terminal remoteSet the unit as a CPE.
gshdsl set terminal71
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl seta
Modify an attribute for G.SHDSL.
Table 52. gshdsl seta
CommandExplanation
gshdsl seta <attrname> <newvalue>Modify an attribute.
gshdsl seta72
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl show
Display an atttribute for G.SHDSL.
Table 53. gshdsl show
CommandExplanation
gshdsl showDisplay 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 show73
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
gshdsl showTestMode
Display test mode information.
Table 54. gshdsl showTestMode
CommandExplanation
gshdsl showTestModeDisplay 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 showTestMode74
Model 3231 CLI Reference Guide 6 • G.SHDSL Commands
help .......................................................................................................................................................................77
76
Model 3231 CLI Reference Guide 7 • Help Commands
help
Display help menu.
Table 56. help
CommandExplanation
helpDisplay top-level help menu.
help77
Chapter 8IP 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
CommandExplanation
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 defaultroute79
Model 3231 CLI Reference Guide 8 • IP Commands
ip add interface
Add an IP interface.
Table 58. ip add interface
CommandExplanation
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 interface80
Model 3231 CLI Reference Guide 8 • IP Commands
ip add route
Add an IP route.
NoteBegin each top-level command in the table below with
ip add route <name> <dest_ip> <netmask>.
Table 59. ip add route
CommandExplanation
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 route81
Model 3231 CLI Reference Guide 8 • IP Commands
ip attach
Add a transport to an IP interface.
Table 60. ip attach
CommandExplanation
ip attach <name> <transport>Attach an existing transport to an existing IP interface.
ip attach82
Model 3231 CLI Reference Guide 8 • IP Commands
ip attachbridge
Attach a bridge to the router.
Table 61. ip attachbridge
CommandExplanation
ip attachbridge <name>Attach the bridge to the router via an existing IP interface.
ip attachbridge83
Model 3231 CLI Reference Guide 8 • IP Commands
ip attachvirtual
Create a virtual interface.
Table 62. ip attachvirtual
CommandExplanation
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 attachvirtual84
Model 3231 CLI Reference Guide 8 • IP Commands
ip clear
Clear attributes from an IP interface.
Table 63. ip clear
CommandExplanation
ip clear arpentriesClear all ARP entries listed in the IP ARP table.
ip clear interfacesClear all IP interfaces that were created.
ip clear riproutesDelete all of the existing dynamic routes that have been obtained from RIP.
ip clear routesClear all static routes that were created.
ip clear85
Model 3231 CLI Reference Guide 8 • IP Commands
ip delete
Delete an IP interface or route.
Table 64. ip delete
CommandExplanation
ip delete interface <name>Delete a specific IP interface.
ip delete route <name>Delete a specific route.
ip delete86
Model 3231 CLI Reference Guide 8 • IP Commands
ip detach
Detach a transport from an IP interface.
Table 65. ip detach
CommandExplanation
ip detach <name>Detach a transport from an IP interface.
ip detach87
Model 3231 CLI Reference Guide 8 • IP Commands
ip interface
Configure an IP interface.
NoteBegin each top-level command in the table below with
ip interface <name>.
Table 66. ip interface <name>
CommandExplanation
addproxyarpentry<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.
clearproxyarpentriesClear all proxy ARP entries and exclusions.
secondaryipaddressesDelete 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.
listproxyarpentriesDisplay information about proxy ARP
entries and exclusions.
secondaryipaddressesDisplay a list of secondary IP addresses
and netmasks that have been added to an
existing IP interface.
ip interface88
Model 3231 CLI Reference Guide 8 • IP Commands
Example Output: ip interface ip1 list proxyarpentries
ip list arpentriesDisplay ARP table information.
ip list connectionsDisplay a list of active TCP/UDP connections in use by applications running on the
device.
ip list interfacesDisplay information about IP interfaces.
ip list riproutesDisplay information about the routes that have been obtained from RIP.
ip list routesDisplay information about existing routes.
ip ping <name>Excute Ping command to specified IP address.
ip ping92
Model 3231 CLI Reference Guide 8 • IP Commands
ip set interface
Configure specific settings for an IP interface.
NoteBegin each top-level command in the table below with
ip set interface <name>.
Table 69. ip set interface <name>
CommandExplanation
dhcpdisabledThe interface does not use DHCP client information.
enabledThe 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.
ripacceptallSet the interface to accept RIP version 1 and RIP version 2
messages.
noneThe interface does not accept RIP messages.
v1Set the interface to accept only RIP version 1 messages.
v2Set the interface to accept only RIP version 2 messages.
multicastdisabledDisable RIP version 2 messages from being sent via multi-
cast.
enabledAllow RIP version 2 messages to be sent via multicast.
sendallSend RIP version 1 and RIP version 2 messages from the
interface.
noneThe interface does not accept RIP messages.
v1Send only RIP version 1 messages from the interface.
v2Send only RIP version 2 messages from the interface.
tcpmssclamp disabledThe IP stack will not examine or modify TCP traffic routed
through the interface.
enabledExamine and modify TCP SYN packets that are routed
through the interface.
ip set interface93
Model 3231 CLI Reference Guide 8 • IP Commands
ip set rip
Configure RIP settings for an IP interface.
Table 70. ip set rip
CommandExplanation
ip set rip advertisedefaultdisabledDisable advertisement of a default route.
enabledEnable RIP to advertise a default route with the cost
metric set.
authenticationdisabledReject RIP v2 packets containing an authentication
entry.
enabledAccept 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.
hostroutesdisabledSet the hostroutes flag to OFF.
enabledSet the hostroutes flag to ON; Accept RIP routes to
specific routes.
password<password> Set an authentication string that is placed on RIP v2
packets.
poisondisabledSet the poisoned reverse flag to OFF.
enabledSet the poisoned reverse flag to ON;
ATMOS TCP/IP performs poisoned reverse.
ip set rip94
Model 3231 CLI Reference Guide 8 • IP Commands
ip set route
Configure settings for an IP route.
NoteBegin each top-level command in the table below with
ip set route <name>.
Table 71. ip set route <name>
CommandExplanation
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 route95
Model 3231 CLI Reference Guide 8 • IP Commands
ip show
Display information for an IP interface.
Table 72. ip show
CommandExplanation
ip showDisplay current RIP configuration and any other information global to
the router.
ip show debuginfoDisplay 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:
ip traceroute startStart 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 stopCancel a route trace already in progress.
ip traceroute98
Chapter 9Logger Commands
Chapter contents
logger set .............................................................................................................................................................100
Example Output: logger show .......................................................................................................................101
99
Model 3231 CLI Reference Guide 9 • Logger Commands
logger set
Configure syslog.
Table 74. logger set
CommandExplanation
logger set facilitySet the "facility" attribute.
logger set facility <facility>Set the new value of "facility".
logger set hostSet the log host.
logger set host <host>Specify the host IP address.
logger set100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.