
134
SMG digital gateway
CIC
—CIC value.
config
Return to the
Configuration
menu
Dchan
<D_CHAN>
0-31
Set the number of a D-channel for a
line.
0
—do not use a D-channel (voice
stream)
DPC MTP3
0-16383
Set a DPC MTP3 value for this stream
exit
Return
from
this
configuration
submenu to an upper level
history
Show
the
history
of
entered
commands
linkset
<linkset_index>
0-15
Assign an SS-7 line group to this
stream
quit
Terminate this CLI session
show
Show SS-7 signalling configuration
slc
<slc>
0-15
Set a signal channel identifier in an
SS-7 line group
transit
set
active
<TIMESLOT>
<YES/NO>
0-31
yes/no
Set active mode of transit. In this
mode SMG initiate connections.
transit
set
codec
<TIMESLOT>
<CODEC>
0-31
NONE/G.711-
U/G.711-
A/G.729/G.723.1_5
.3/G.723.1_6.3/G.
726/CLEARMODE
Select codec, which will be used for
transit.
NONE
–
by default, the codecs
assigned on a transit SIP interface are
negotiated.
transit
set
remote_channel
<TIMESLOT>
<R_CHANNEL>
0-31
0-31
Select a remote channel
transit
set
remote_stream
<TIMESLOT>
<R_STREAM>
0-31
0-1/0-3
Select a remote stream
transit
set
sip_interface
<TIMESLOT>
<SIP_IFACE_IDX>
0-31
0-63
Select SIP interface, from which
transit will be implemented
transit
set
usage
<TIMESLOT>
<YES_NO>
0-31
yes/no
Enable transit on selected channel
4.3.9
Fail2ban Configuration Mode
To enter this mode, execute the
fail2ban
command in the configuration mode.
SMG4-[CONFIG]> fail2ban
Entering fail2ban mode.
SMG4-[CONFIG]-[FAIL2BAN]>
Command
Parameter
Value
Action
?
Show the list of available commands
blacklist_ip add
<BLACKIP>
IP
address
in
the
AAA.BBB.CCC.DDD
format
Add an IP address to the Fail2ban
blacklist
blacklist_ip remove <BLACKIP>
IP
address
in
the
AAA.BBB.CCC.DDD
format
Remove an IP address from the Fail2ban
blacklist
blacklist_ip
show
all
Show the Fail2ban blacklist
blacklist_ip
show
first
<COUNT>
0-4095
Show the specified number of addresses
at the beginning of the Fail2ban blacklist
blacklist_ip show ip <BLACKIP>
IP
address
in
the
AAA.BBB.CCC.DDD
Find the specified address in the Fail2ban
blacklist