Вы находитесь на странице: 1из 64

Eltex SBC-1000

, 1.0(09.01.2013)

1.2.12

1.0

09.01.2013


,
WEB-,
.
/IP, UDP/IP Ethernet-.


1 ........................................................................................................................................................... 6
2 ............................................................................................................................................ 6
2.1 ..................................................................................................................................................... 6
2.2 ........................................................................................................................ 7
2.2.1 ......................................................................................................... 7
2.2.2 ....................................................... 8
2.2.3 .......................................................... 8
2.3 .............................................................................................................. 8
2.4 ...................................................................................................................... 10
2.5 .................................................................................................................................... 11
2.6 F ............................................................................................... 13
2.7 ....................................................................................................... 13
2.8 .............................................................................................................................. 14
2.9 ...................................................................................................................................... 14
2.10 ..................................................................................................... 15
2.10.1 ...................................................................................................................................... 15
2.10.2 ........................................................................................................ 15
2.11 SBC-1000 ................................................................................................................................... 16
2.11.1 ................................................................................................................................ 16
2.11.2 ....................................................................................................................... 16
2.11.3 ............................................................................................................... 17
2.11.4 .................................................................................................................. 17
2.11.5 ................................................................................................................................... 18
2.11.6 ........................................................................................................................... 19
2.11.7 ............................................................................................................... 19
3 ........................................................................... 21
4 .............................................................................................................. 22
4.1 SBC-1000 web- ............................................................................................... 22
4.1.1 CDR- ................................................................................................................................................ 24
4.1.1.1 CDR- ............................................................................................................................... 26
4.1.1.2 CDR ................................................................................................................................ 26
4.1.2 ............................................................................................................................................... 27
4.1.2.1 LACP ...................................................................................................................................... 27
4.1.2.2 ........................................................................................................... 27
4.1.2.3 802.1q ...................................................................................................................................................... 30
4.1.2.4 QoS .................................................................................................. 31
4.1.2.5 ................................................................................................................ 32
4.1.3 .................................................................................................................... 33
4.1.3.1 ...................................................................................................................... 33
4.1.3.2 ............................................................................................................................. 34
4.1.3.3 VLAN .................................................................................................................................. 35
4.1.3.4 VPN/pptp ........................................................................................................................... 35
4.1.3.5 .......................................................................................................................... 36
4.1.3.6 ............................................................................................................................................ 37
4.1.3.6.1 .................................................................................................... 37
4.1.3.6.2 SFP .................................................................................................................. 38
4.1.4 SBC .................................................................................................................................... 38
4.1.4.1 Media....................................................................................................................................................... 39
4.1.4.2 SIP ............................................................................................................................................................ 39
4.1.4.3 SIP Trunk .................................................................................................................................................. 40
4.1.5 ....................................................................................................................................... 41
4.1.5.1 NTP .......................................................................................................................................................... 41
4.1.5.3 SNMPv3 COPM ..................................................................................................................................... 42

4.1.5.4 VPN/PPTP .................................................................................................................................... 43


4.1.6 .............................................................................................................................................. 44
4.1.6.1 ............................................................................................................................................. 44
4.1.6.2 SSL/TLS ................................................................................................................................... 44
4.1.7 ........................................................................................................................................ 45
4.1.7.1 PING.......................................................................................................................................................... 45
4.1.8 ............................................................................................................................. 47
4.1.8.1 PCAP ................................................................................................................................... 47
4.1.8.2 syslog ..................................................................................................................................... 49
4.1.9 ................................................................................................. 50
4.1.10 ...................................................................................... 50
4.1.11 ..................................................................................................................... 51
4.1.12 web-.................................................................................................. 51
4.1.13 .................................................................................................................................................. 51
4.1.14 ..................................................................................................................................... 52
4.1.15 WEB .................................................................... 52
4.1.16 ............................................................... 52
4.1.17 ......................................................................................................................... 53
4.2 SBC-1000 Telnet, SSH RS-232..................................................................................... 53
4.2.1 .................................................................................................. 54
. .............................................. 55
. (IPTABLES) ................................................... 57
B. SBC-1000 ......................................................................................... 58

1
SBC (Session Border Controller)
VoIP ,
. ,
Firewall, NAT
. SBC
VoIP ,
(, softswitch).
SBC
(, DoS-);
Firewall;
;
;
QoS ;
, NAT (Network Address
Translation);
SBC.
2
2.1
Eltex SBC-1000 - ECSS-10,
.
, SLA ,
, .
SBC-1000:
: 3501;
/ (CPS): 50;
Ethernet-:
3 10/100/1000BASE-T,
2 1000-Base-X (SFP);
DHCP;
IP- SIP, SIP-, SIP-I;
2000 SIP-;
NTP;
DNS;
SNMP;
QoS;
ToS CoS RTP 2;
VLAN RTP, ;
;
;
;
: WEB-, CLI (Telnet, SSH, (RS-232));
( ):
WEB - ;
CLI2(Telnet, (RS-232));
:
WEB - ;
SNMP.
1
2

1.2.

SBC-1000

SIP/SIP-T/SIP-I:
SIP L5 NAT/Topology hiding;
SIP dialogue transparency;
SIP RFC-3326 Reason with Cause;
SIP transit of unrecognized headers;
B2BUA as defined in RFC-3261;
RFC-2833 (Telephone Event);
RFC-3264 (Offer/Answer);
RFC-3204 (MIME Support);
RFC-4028 (Session Timers);
RFC-3326 (Reason Field);
SIP RFC-2833 relay;
RFC-3262 (PRACK);
RFC-3372 (SIP-T);
B2BUA peering;
B2BUA access;
RFC-1889 (RTP);
RFC-4566 (SDP);
RFC-3261;
RFC-3581;
SIP OPTIONS Keep-Alive (SIP Busy Out);
NAT support (comedia mode1).

T.38;
G.711.
2.2
SBC-1000.
2.2.1

SBC-1000 7

2.2.2

2.2.3

2.3
1.1.
1.1.
VoIP

SBC-1000

SIP-/SIP-I
SIP
T.38

G.711 (A/U)
G.729 AB
G.723.1 (6.3 Kbps, 5.3 Kbps)
G.726 (32 Kbps)
H.263
H.263-1998
H.264

Ethernet


, /

3
RJ-45
, 10/100/1000/,

10/100/1000BaseT

Ethernet

, /

2
Mini-Gbic (SFP):
1) ,
1310 (Single-Mode), 1000BASE-LX ( L),
10 , 3,3
2) ,
/
1310/1550
,
1000BASE-LX
( S), 10 ,
3,3
1000/,
1000BaseX


, /

RS-232
115200
- V.28

USB
e-SATA

1
2

: 220+-20%, 50
: -48+30-20%
:
-
;
-
,
.


(, , )

50
42045240
19" , 1U
3,2

SBC-1000 9

2.4
SBC-1000
19 1U.
6.

6 SBC-1000 ( SMG-1016M)
,
, 2.1.
2.1 ,

1
2

USB

USB-

Console

10/100/1000 0..2

3 RJ-45 Ethernet 10/100/1000 Base-T

SFP 0, SFP 1

2 SFP 1000Base-X Gigabit


uplink IP-

E1 Line 0..7, E1 Line 8..15

2 CENC-36M 1

SATA-0, SATA-1

SATA

Info1, Info2

SFP

Alarm

10

Status

SBC-1000

10

SBC-1000

RS-232

7 SBC-1000
2.2 , .
2.2

1
2

2.5
Info1, Info2, Alarm, Status
.
3.1, 3.2.
3.1

Info1
Info2

Alarm

Status


SFP0
SFP0
SFP1
SFP1

:

,


3.2

Info1

Info1

Alarm

Status

( )

F 1
,
. 3
.

.

.

SBC-1000 11


.



F 40-45 (

2, ,

4).
F.

:
<<<BOOTING IN SAFE-MODE.RESTORING
DEFAULT PARAMETERS>>>

F
( 4) -
.
.
.
1 .
Ethernet ,
1000/100 .
3.3 Ethernet 1000/100
/


1000/100


1000/100

1000Base-T,

10/100Base-TX,

10/100Base-TX,

1000Base-T,

3.4 , Alarm.
CDR-
FTP , CDR-
, CDR 30 MB.
.
3.4

Alarm

12



(critical)


SIP-
FTP- ,
CDR- 50%
(15 - 30 MB)

SBC-1000

(errors)

(warning)

VoIP- (MSP)
FTP- ,
CDR- 50 %
(5 - 15 MB)
FTP- ,
CDR- 5 MB

2.6 F
F ,
, .
3.2.
IP-
192.168.1.2 ( 255.255.255.0):

Telnet/SSH console: admin, rootpasswd;


web-: admin, rootpasswd;

,
.
2.7
: Telnet/SSH console,
admin, rootpasswd, save, reboot.
.
*********************************************
*
SBC v2 Signalling & Media gateway
*
*********************************************
smg login: admin
Password: rootpasswd
********************************************
*
Welcome to <<SBC>>
*
********************************************
Welcome! It is Fri Jul 2 12:57:56 UTC 2010
# save
save config
flat0: read block '/dev/mtdblock5'
flat1: read block '/dev/mtdblock5'
flat0: magic [e4e91c09]. flag [1]
flat1: magic [e4e91c09]. flag [0]
magic: FLAT_MAGIC [e4e91c09]
tar: removing leading '/' from member names
recompressed 8916 bytes to device 1
# reboot

SBC-1000 13

2.8
: telnet, SSH console, restore
( ), passwd (
), save, reboot.
.
,
. .
*********************************************
*
<<SBC>>v2 Signalling & Media gateway
*
*********************************************
smg login: admin
Password: rootpasswd
********************************************
*
Welcome to <<SBC>>
*
********************************************
Welcome! It is Fri Jul 2 12:57:56 UTC 2010
# restore
restore saved config
flat0: read block '/dev/mtdblock5'
flat1: read block '/dev/mtdblock5'
flat0: magic [e4e91c09]. flag [1]
flat1: magic [e4e91c09]. flag [0]
magic: FLAT_MAGIC [e4e91c09]
uncompressed 8884 bytes from device 0
restore ret: 0
# passwd admin
Changing password for admin
New password: 1q2w3e4r5t6y
Retype password: 1q2w3e4r5t6y
passwd: password for admin is changed
# save
save config
flat0: read block '/dev/mtdblock5'
flat1: read block '/dev/mtdblock5'
flat0: magic [e4e91c09]. flag [1]
flat1: magic [e4e91c09]. flag [0]
magic: FLAT_MAGIC [e4e91c09]
tar: removing leading '/' from member names
recompressed 8916 bytes to device 1
# reboot

2.9
SBC :
SBC;
RS-232 DB9(F) DB9(F);
19 ;
2;
;
:
Mini-Gbic (SFP) 2 .

14

SBC-1000

2.10
2.10.1

.
,
.
- ,
.
.
SBC-1000 :
0 +40 ;
80% 25 ;
6,010*4 10,710*4 ( 450 800 ..).
, , , ,
.


.
2.10.2

, .
.
0,1 .
,
.
1.

.
, .
,
2.11.4.

SBC-1000 15

2.11 SBC-1000

. ,
.
,
.

12 .
. 19"
, .
. ,
.
.
. , 7.

2.11.1
1.

Ethernet .

2. .
1 2.
3. SBC,
SBC c COM- ,
.
4.

5.
.
2.11.2

.

16

SBC-1000

:
1.
, 9.
2. .
1, 2 .
2.11.3
:
1. .
2. .
,
.
3. .
4.
.

2.11.4
.
, .
.
, , , ,
. .

.

SBC-1000 17

10

2.11.5
SMG, ,
, (. . 2.11.3 ).

11 SMG-1016M
1. .
2. ,
.
3.
.
4. () , .
.

18

SBC-1000

2.11.6
6 IP SM-VPM300 (Submodule MSP), 12.

12 SBC-1000
SBC:
5. .
6. .
7. (. 11).
2.11.7

.

13 .

:
1.
.
2. .
3. ( 14).
SBC-1000 19

14
:
1. ( 14).
2. .
3. .
4. .

20

SBC-1000

3
web-,
.

Telnet/SSH ( admin, rootpasswd),
web-. telnet
4.2.1 .
, .
Telnet/SSH/WEB .
, , ,

.

SBC-1000 21

4
: web-,
elnet, SSH RS-232 ( RS-232, SSH Telnet
1).

/ Flash WEB-,
save .
4.1 SBC-1000 web-
,
web-browser (- ), : Firefox, Internet Explorer.
IP- :
IP- SBC-1000 192.168.1.2, 255.255.255.0
IP- .

: admin, : rootpasswd.
web- .

22

SBC-1000

WEB-.

.
,
.
.
.


( WEB
WEB ).

()
.

SBC-1000 23

4.1.1 CDR-

.

CDR ,
SBC-1000 .
CDR-

24

CDR CDR
;
: , , CDR ,
CDR- , -
;
CDR
: SMG1016. CDR. File started at 'YYYYMMDDhhmmss', 'YYYYMMDDhhmmss'
;
,
, ;

SBC-1000

CDR
SSD ;
SSD-.
.
.
,
.
.

: , , CDR SSD
;
30MB CDR-.

CDR- 30MB
, ,
, .
FTP-

FTP CDR- FTP-;


FTP IP- FTP-;
FTP - FTP-;
FTP-, CDR ;
FTP FTP-;
FTP FTP-.
FTP

FTP CDR FTP;


FTP IP- FTP-;
FTP - FTP-;
FTP ,
CDR ;
FTP FTP ;
FTP FTP .

CDR
( );

SBC-1000 25

CDR.
Redirecting number1 CDR
Redirecting number,
Redirecting number , ,
Calling party number;
2 - CDR
.

4.1.1.1 CDR-

, CDR- ( ,
);
( ,
) (SIGNATURE);
YYYY-MM-DD hh:mm:ss (DATATIME);
:
(KOD_A);
( ) (N_TR_GR_A);
( ) (CATEG_A);
IP (SRC_IP);
IP Record-Route
(SRC_R_ROUTE);
IP Via
(SRC_VIA);
IP Contact (SRC_CONTACT);
:
(KOD_B);
( ) (N_TR_GR_B);
IP (DST_IP);
IP Contact (DST_CONTACT);
, (T_ECD);
ITU-T Q.850 (CAUSE);
( ) (COMPLETEIND);
- (PLACE);
( CAUSE) (TREATMENT);
(CONN_ID);
( ) (REDIRECTED).

4.1.1.2 CDR
CDR , (
):
<SBC>. CDR. File started at '20120726112449'
SIGNATURE;DATATIME;KOD_A;KOD_B;N_TR_GR_A;N_TR_GR_B;T_ECD;CAUSE;COMPLETEIND;CATEG_A;PLA
CE;TREATMENT;CONN_ID;REDIRECTED;SRC_IP;DST_IP;SRC_R_ROUTE;SRC_VIA;SRC_CONTACT;DST_CONTACT;
label;2012-07-26
11:24:39;6502;6501;;;0;16;0;;A;16;zBRyfChAr9mfhIPRI.3xjn4w2X.ui8ap;;192.168.23.170;192.168.23.212;;;192.168
.23.170;192.168.23.170;
label;2012-07-26 11:24:40;6502;6501;;;0;16;0;;A;16;1343-276680-166831-sip3sip3@ecss3;;192.168.23.212;192.168.23.170;;;192.168.23.170;192.168.23.170;
1
2

26

SBC-1000

4.1.2
.
4.1.2.1 LACP
LACP.
Link Aggregation Control Protocol (LACP)
.

, LACP :
;
;

Name LACP;
Enable LACP
LACP;
Mode LACP:
active-backup
, .
,
.
;
balance-xor
: ((MAC-
) XOR (MAC- )) %
.
.
;
802.3ad .

,
, .
, -
;
Primary ;
Updelay ;
Miimon MII, ;

Combine interfaces in PortChannel , LACP.

4.1.2.2
:
VLAN Enable VLAN
, IEEE Mode Fallback,
Output.
802.1q 802.1q .

SBC-1000 27

Port based VLAN IEEE Mode


Fallback,
Output. VLAN Enable VLAN, Default VLAN ID, Egress
Override. 802.1q 802.1q .
802.1q IEEE Mode
Check, Secure. VLAN Enable VLAN, Default VLAN ID, Override.
, 802.1q
802.1q.
802.1q + Port based VLAN. 802.1q Port based VLAN.
IEEE Mode Fallback,
Output. VLAN
Enable VLAN, Default VLAN ID, Egress Override.
, 802.1q 802.1q.

3 Ethernet, 2
:
GE 0, GE 1, GE 2 Ethernet- ;
SFP 0, SFP 1 Ethernet- ;
CPU , .
, SBC-1000 combo
.

Default VLAN ID, Override
Egress , ;
Default VLAN ID ,
VID, , VID,
VLAN;
VID Override , VID,
default VLAN ID. ,
;
Egress:
unmodified (.. ,
).
untagged VLAN.
tagged c VLAN.
double tag c VLAN
VLAN
.
28

SBC-1000

IEEE mode:
disabled , , ,
- output.
fallback VLAN,
802.1q, ,
, ,
egress output.
check VID,
802.1q, ,
,
VID. , egress output
.
secure VID,
802.1q, ,
, . ,
egress output, .
Output .
, , , ;
LACP trunk LACP, .


, .
.
(,
, ).

SBC-1000 29

4.1.2.3 802.1q
802.1q
802.1q.
3 Ethernet,
:

GE 0, 1, 2 Ethernet- ;
CPU , ;
SFP 0, SFP 1 Ethernet- .


VID VLAN,
, , ,
VID.
unmodified (.. ,
);
untagged VLAN;
tagged c VLAN;
not member VID , ..
VLAN.
override 802.1 VLAN,
;
priority 802.1, VLAN,
override;
.

;
;


, .

-;
Flash- .

30

SBC-1000

4.1.2.4 QoS
QoS
(Quality of Service).

VLAN (default) 802.1, ,


. 802.1 IP diffserv ,
( default vlan priority ,
IP, QoS: DSCP only, DSCP preferred, 802.1p
preferred, ;
QoS QoS:
DSCP IP diffserv;
802.1p 802.1;
DSCP IP diffserv
802.1, ,
IP diffserv;
802.1p IP diffserv
802.1, ,
802.1;
802.1p 802.1
. , VLAN,
;
, :
;
;
mult_flood_broad (multicast), (broadcast)
(flooded unicast) ;
mult_broad (multicast) (broadcast)
;
broad (broadcast) ;
0
, . 70
250000 ;
1
, .
(prev prio *2) , (same as prev prio);
SBC-1000 31

2
, .
(prev prio *2) , (same as prev prio);
3
, .
(prev prio *2) , (same as prev prio);

;

. 70 250000 .

;
;

, .

;
Flash- .

4.1.2.5

802.1p


802.1.
802.1 802.1

IP diffserv


IP diffserv ( diffserv
7).
diffserv IP diffserv;
.

;

;


, .

;
Flash- .
3 , 0 .
3/2/1/0 : 8/4/2/1.

32

SBC-1000

4.1.3
, IP-.
DHCP , IP-
, TCP/IP.
DHCP-.
DNS , .
IP- ().
, , ,
SIP- .
TELNET , .
.
TELNET .
SSH , .
, TELNET, , ,
.
VPN (. Virtual Private Network ) ,
( )
(, ).
PPTP (. Point-to-Point Tunneling Protocol) -,

, .
VPN.
4.1.3.1

IP- IP . , IP-, IP-
, .
IP-.

( ),
( ), .
, ,

.
SBC-1000 33

, -
, - - , :
;
;
.

IP-, IP- default (


);

IP- ( IP-
255.255.255.255);

( ,

);
IP- ;
.
4.1.3.2

.
VLAN,
SBC,
: ,
(
).

, -
, - - , :
;
;
.

:

(

).
:
Ethernet ID
(
);
(
),
;
IP , , Broadcast
( DHCP);
DHCP
34

SBC-1000

DHCP ( DHCP );
Web, Telnet, SSH
.
4.1.3.3 VLAN
VLAN (. IEEE 802.1Q).

, -
, - - , :
;
;
.
:
(
).

:
Ethernet ID
(
);
( ),

;
VLAN ID ;
IP , , Broadcast
( DHCP);
DHCP
DHCP
( DHCP
)
Web, Telnet, SSH
.

4.1.3.4 VPN/pptp
, VPN .

, -
, - - , :

SBC-1000 35

;
;
.
.
:
( ),

;
PPTPD IP IP PPTP ;
,
;


/ ;


;

.
4.1.3.5
(eth0).

:
;
( ),
;
IP , ( DHCP);
IP ;
DNS-Primary, DNS-Secondary DNS ;
DHCP
DHCP ( DHCP );
DNS IP DNS DHCP;
SNMP SNMP ;
Web, Telnet, SSH
.

36

SBC-1000

IP- WEB- ,
5 .
.

.
.
.

,
.
4.1.3.6
4.1.3.6.1
(10
). 3
.

.
.
TOTAL ;
IO , /;
IRQ , ;
SIRQ , ;
USR ;
SYS ;
NIC .

SBC-1000 37

4.1.3.6.2 SFP
.

SFP 0 , SFP 1 :
SFP ( ,
);
( , );
, C ;
, , ;
Tx, , ;
, , ;
, , .

4.1.4 SBC
SBC-1000 (
) , , ( )
. SBC SIP .
, SBC-1000 SBC SIP .
SBC-1000 SIP (,
). , (
SBC SIP ), .
, .
SBC-1000:
, ;
SBC-1000 SIP , ;
SBC-1000 SIP ( SIP Trunk).

38

SBC-1000

4.1.4.1 Media

( RTP , .38).

, , - - ,
:
;
;
.
:
(
),
, IP-;
,
UDP-.

,
( - ).

4.1.4.2 SIP
SBC SIP ( ).

, , - - ,
:
;
;
.

SBC SIP :

( );
(
),
, IP-;
SBC-1000 39

SIP ( SIP 5060);


Media ,
;
SBC HUAWEI
EchoLife ESCC-10. Flash
re-INVITE SIP INFO.

( - ).

4.1.4.3 SIP Trunk


SBC SIP .
SBC-1000 SIP 2 :
( SIP , SIP
SIP ) ( );
( ),

expires .
:
SIP , ;
SIP , ;
IP , SIP-,
;

(
sip ;
sip-trunk
SIP, SIP-T, SIP-I);
NAT ,

,
(
NAT).

SIP
( ,
)


RPORT;
NAT,
, expires SIP-.

, ,
. ,
.
.
,
,
.
B. SBC-1000.

40

SBC-1000

4.1.4.4
SBC .

SIP-;
, ,
To REGISTER;
SIP- , , User-Agent REGISTER;
, ,
Contact REGISTER;
, ;


.
.
.

4.1.5
4.1.5.1 NTP
.
NTP , .
, , .

NTP NTP-;
IP SNTP (
DHCP);
(NTP) ,
;
- ;
NTP, , .


NTP ( / NTP-).

SBC-1000 41

4.1.5.2 SNMP
SNMP .
SNMP-. SNMP-
SNMP-.
4.1.5.3

SNMPv3 COPM

RFC 3924 Cisco Architecture for Lawful Intercept


in IP Networks. MIB: CISCO-IP-TAP-MIB.my CISCO-TAP2-MIB.my.
SNMPv3:

SNMPv3. SNMPv3
.

RW User name ;

RW User password (
8 ).
SNMPv3 (
). .
4.1.5.3.1 (SNMP trap)
Trap MIB, .

SNMPd SNMP .
, :
- ;
- ;
- .

42

SNMP (TRAPv1, TRAPv2, INFORM);


Community , ;
IP IP- ;
UDP- .

SBC-1000

4.1.5.4 VPN/PPTP
VPN/PPTP
/;
IP-, peer PPTP
;
,
IP ,
PPTP ;
IP-,
;
DNS DNS ,
;

;

(
).

PPTP

VPN/PPTP
,
.
IP-
( ).
0.0.0.0,
IP- .

SBC-1000 43

4.1.6
4.1.6.1

SBC-1000.
web web admin.
web
admin rootpasswd.
admin
web-
Telnet, SSH.

4.1.6.2 SSL/TLS
web-:
(HTTP / HTTPS), ,
HTTPS.

44

SBC-1000

4.1.7
4.1.7.1 PING

IP Probing
- ( Ping-) IP- IP
probing Ping.
.

ping
ping- ,
;
, ;
ping-.

ping;

ping;

-
'/tmp/log/hosttest.log'
ping-.

IP-, ping-.

. - .

SBC-1000 45

4.1.7.2 MTR
MTR (traceroute) - ( ping) .
.

IP- IP-
, .
.
:
ICMP ;
ICMP- ;
IP DNS. IP-
;
ICMP ( 1) ;
IPv4 IPv4;
IPv6 IPv6;
ICMP IP- ,
ICMP .
IP- ,
.
, :
IP- ( ),
(Loss%),
(Snt),
(Last),
(Avg),
(Best),
(Wrst),
(StDev).

46

SBC-1000

4.1.8
4.1.8.1 PCAP
.

TCP dump TCPdump:



;

, ;

tcpdump.
-
, , ,
.
.
:
1. type - , .
:

host (),

net (),

port ().
, host.
2. dir - .
:

src ( ),

dst ( ),

src or dst ( ),

src and dst ( ).


dir , src or dst.
any
inbound outbound.

SBC-1000 47

3. proto - , .
:
ether, fddi1, tr2, wlan3, ip, ip6, arp, rarp, decnet, tcp udp.
, ,
, .

:
gateway (),
broadcast (),
less (),
greater ().

,
and,or not.
.
:

dst foo , IPv4/v6 foo;

src net 128.3.0.0/16 Ipv4/v6, ;

ether broadcast Ethernet.


ether ;

ip6 multicast IPv6.

;
;
.

, dump
.

, .
/tmp/log
/tmp/log.

.
.

48

SBC-1000

Port mirroring :

.

:
, ();
,
(-);
- ,
-;
- ,
-;
;
.
.

, .

4.1.8.2 syslog
Syslog .
SYSLOG , .

, , SYSLOG .


.

.

IP ;
;
:

.
SBC-1000 49


syslog IP- syslog-,
UDP , syslog- .


;

, IP-
,
(
5 , ,
).

.
IP
;
;

4.1.9
,
,

.

4.1.10

- .

-
FLASH.

- .

- .

- NTP .
SSHD
- SSHD.
/ .

- , . 4.1.11 .
Web- - ,
. 4.1.12 web-.
50

SBC-1000

/ -
, . 4.1.13 .
4.1.11

: ...

.


.

4.1.12 web-

- .
:

firmware
/ Linux.

. - .
4.1.13
/ ,
eltex@eltex.nsk.ru +7(383)
274-48-48, - (. 3.1.22
).
.

,
, , .

SBC-1000 51


- .

4.1.14

,
,
http://eltex.org.

4.1.15 WEB
web-.


,

.

-
.
4.1.16

- .
( MAC ) ()
.
( , SIP-, ,
, , )
.

52

SBC-1000

4.1.17
:


. .

4.2 SBC-1000 Telnet, SSH RS-232


,
Telnet, SSH, RS-232 ( ).
: 192.168.1.2, 255.255.255.0.
, /et/config,
joe (
).

save.
: admin, : rootpasswd.

SBC-1000 53

4.2.1
Telnet,
admin
:
1) , /, passwd
<Enter>
2) :
New password:
3) :
Retype password:
(Password for admin changed by root)
4) Flash: save <Enter>

54

SBC-1000

.
, web- (telnet, RS-232),
RS-232.
, :
(, TERATERM);
TFTP .
:
1.
Ethernet ;
2.
Console- Console- ;
3.
;
4.
115200, 8 , , 1 ,
;
5.
tftp smg_files,
smg, smg1016M_kernel, smg1016M_initrd (,
TFTP server, );
6.

stop:
U-Boot 2009.06 (Feb 09 2010 - 20:57:21)
CPU:

AMCC PowerPC 460GT Rev. A at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
Security/Kasumi support
Bootstrap Option B - Boot ROM Location EBC (16 bits)
32 kB I-Cache 32 kB D-Cache
Board: <SBC-1000>v2 board, AMCC PPC460GT Glacier based, 2*PCIe, Rev. FF
I2C:
ready
DRAM: 512 MB
SDRAM test phase 1:
SDRAM test phase 2:
SDRAM test passed. Ok!
FLASH: 64 MB
NAND: 128 MiB
DTT:
1 FAILED INIT
Net:
ppc_4xx_eth0, ppc_4xx_eth1
Type run flash_nfs to mount root filesystem over NFS
Autobooting in 3 seconds, press 'stop' for stop
=>

7.

set ipaddr <IP- > <ENTER>;


: set ipaddr 192.168.2.2
8.
set netmask < > <ENTER>;
: set netmask 255.255.255.0
9.
set serverip <IP- , tftp > <ENTER>;
: set serverip 192.168.2.5
10. mii si <ENTER> :
=> mii si
Init switch 0: ..Ok!
Init switch 1: ..Ok!
Init phy 1: ..Ok!
Init phy 2: ..Ok!
=>
11. Linux run flash_kern:
SBC-1000 55

=> run flash_kern


About preceeding transfer (eth0):
- Sent packet number 0
- Received packet number 0
- Handled packet number 0
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 192.168.2.5; our IP address is 192.168.2.2
Filename ' smg/smg1016M_kernel'.
Load address: 0x400000
Loading: #################################################################
###################################
done
Bytes transferred = 1455525 (1635a5 hex)
Un-Protected 15 sectors
............... done
Erased 15 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=>

12. run flash_initrd:


=> run flash_initrd
Using ppc_4xx_eth0 device
TFTP from server 192.168.2.5; our IP address is 192.168.2.2
Filename ' smg/smg1016M_initrd'.
Load address: 0x400000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
done
Bytes transferred = 25430113 (1840861 hex)
Erase Flash Sectors 56-183 in Bank # 2
Un-Protected 256 sectors
........................................................... done
Erased 256 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=>

13. run bootcmd.

56

SBC-1000

. (IPTABLES)

iptables

(firewall)

save-iptables

(firewall)

restore-iptables

(firewall)l

firewall COM-, SSH Telnet


( 192.168.1.2, 255.255.255.0) ,
TERATERM.
:
1.

COM-
- COM- Console

SSH, Telnet
Ethernet- Ethernet- .

2.
3.

;
COM-: 115200, 8 ,
, 1 , Telnet, SSH: IP-
192.168.1.2, 23 (Telnet), 22 (SSH);

4.

admin, rootpasswd;

5.

iptables,
iptables h;
iptables:
) TCP 25 - 212.164.54.162:
iptables -A INPUT -s 212.164.54.162 -p tcp -m tcp --dport 25 -j ACCEPT

) 216.223.9.208:
iptables -A INPUT -s 216.223.9.208 -j DROP

) 216.223.0.0/255.255.0.0:
iptables -A INPUT -s 216.223.0.0/255.255.0.0 -j DROP

) :
iptables -L

6.

save-iptables.
,
, restore-iptables.

SBC-1000 57

B. SBC-1000
1. SBC-1000 SIP


IP- 192.168.20.120 5062, SBC-1000
IP- 192.168.16.113 5061 Softswitch 192.168.16.65 5060.
SBC
1. (
/ ).
a. Softswitch.
: vlan 100 192.168.16.113

b. .
: 192.168.20.120

2.

SIP- ( SBC/Media)

a. RTP 20.120

58

SBC-1000

b. RTP 16.113

c. Media :

3. SIP- ( SBC/SIP)
a. SIP-
.
:
20.120;
5062;
20.120.

b. SIP- Softswitch.
:
16.113;
5061;
16.113.

c. SIP - :

4. SIP Trunk ( SBC/SIP Trunk)


a. SIP Trunk.
SIP- (20.120_5060),
SIP- Softswitch (16.120_5060), IP-
, softswitch (ip
192.168.20.113 5060), , NAT
NAT, NAT.

SBC-1000 59

, ,
.
,
. .

,
,
.
b. SIP :

5. flash (/
FLASH) .
2. SBC-1000 SIP-

SBC ( sip trunk),


.
SBC
1.
. 1 SBC-1000 SIP .
2. SIP-
. 1 SBC-1000 SIP .
3. SIP- (
SBC/SIP)
a. SIP- .
:
20.120;
5067;
20.120.

60

SBC-1000

b. SIP- Softswitch.
:
16.113;
5065;
16.113.

c. SIP - :

4. SIP ( SBC/SIP Trunk)


a. SIP Trunk .

b. SIP Trunk Softswitch.

, ,
.
,
. .

,
,
.

SBC-1000 61

c. SIP :

5. flash (/
FLASH) .

62

SBC-1000

, 630020, . , . , 29 .
:
+7(383)274-47-88
+7(383) 274-47-87
+7(383) 272-83-31
E-mail: techsupp@eltex.nsk.ru

, ,
:
http://eltex.nsk.ru
http://eltex.nsk.ru/support/documentations
http://eltex.nsk.ru/forum
http://eltex.nsk.ru/database
http://eltex.nsk.ru/interaktivnyi-zapros

SBC-1000 63

64

SBC-1000