Vous êtes sur la page 1sur 7

OPERATIONAL

1/154
30
09
2011
E1
31-ANF 901
DIRECTIONS
36

Media Gateway Console Port


Tero Silvennoinen
CBrorsson
BES/DDC
EBC
HF

OPERATIONAL DIRECTIONS

MEDIA GATEWAY CONSOLE PORT

Copyright
Copyright Aastra Technologies Limited, 2012. All rights reserved.
Disclaimer
No part of this document may be reproduced in any form without the
written permission of the copyright owner.
The contents of this document are subject to revision without notice due
to continued progress in methodology, design and manufacturing.
Aastra shall have no liability for any error or damage of any kind resulting
from the use of this document.

1/154 31-ANF 901 36 Uen E1 2011-09-30

GENERAL

General
The Console port on the Media Gateway front panel is for maintenance
and configuration. It can be monitored during boot and a wide range of
parameters on the Media Gateway can be configured using the Console
port in boot mode. After a boot-up the Linux Operating System (OS) will
be active and a Linux shell will be accessible by using the Console port.
This document only covers a few commands and parameters.
Warning! The Console port is for maintenance only. You should have
high knowledge about the Media Gateway before using the Console
port.

Communication Setup
The Media Gateway Console port communicates with 9600 bits/sec, 8
data bits, no parity, and 1 stop bit. Use any applicable software for serial
console communication (for example, Kermit or Hyper terminal).

Configuration

3.1

Prerequisites
The Media Gateway needs to access the Telephony Server for the
system to be able to boot up to a fully running Telephony system. The
access is also needed for the Media Gateway to be able to update the
necessary boot modules. Before starting and booting the Media
Gateway software a correct IP-address for eth0 and all related
IP-addresses, like Default Gateway and NFS Server, also need to be
configured.
Note: If the Telephony Server is using the default address 192.168.1.10
to the Media Gateway, no configuration of the Media Gateway is
needed. It is already configured from factory.
The second interface, eth1, on the Media Gateway is set by the Telephony Server.

1/154 31-ANF 901 36 Uen E1 2011-09-30

MEDIA GATEWAY CONSOLE PORT

3.2

Procedures

3.2.1

Enter Boot Mode

Connect an I/O (keyboard and monitor) unit to the Console port with
a serial cable.

Power-up or reboot the Media Gateway.

When promted Hit any key before CR to abort press the space
bar and <enter>.

Login to the unit.

User: egxap Password: 1egxap


Now you are in boot mood and can configure the necessary parameters.

3.2.2

Change IP-Address
Enter the command setpar eth0_ip <IP-address>/<netmask in CIDR
format> Example: setpar eth0_ip 192.168.5.35/24
To check the new values enter the command dispar . Example: dispar
Output example: ROJ_rev* R2B ROJ_num* ROJ 208 0031/1 ROJ_ser*
T013122888 eth0_mac* 00:01:EC:B4:42:58 eth1_mac*
00:01:EC:B4:42:59 BFJ_rev* R2B BFJ_num* BFJ 901 03 BFJ_ser*
T013154369 eth0_ip 192.168.5.35/24 eth1_ip 192.168.1.160/28
Note: If some parameters are not specified in the configuration area the
default values are used by the software.
5.1 Default Parameter Settings on page 5
Save the parameters by use the command savepar. Example: savepar

3.2.3

Change or Set Default Route


Enter the command setpar def_route <IP-address> Example: setpar
def_route 192.168.5.1
To check the new values enter the command dispar . For an example,
3.2.2 Change IP-Address on page 4 . Save the parameters by use the
command savepar. For an example, 3.2.2 Change IP-Address on page
4.

3.2.4

Change NFS Server IP-Address


Enter the command setpar nfs_server <nfs_server IP-address>
Example: setpar nfs_server 192.168.5.41 Example: dispar Output

1/154 31-ANF 901 36 Uen E1 2011-09-30

COMMAND DESCRIPTIONS

example: ROJ_rev* R3A/A ROJ_num* ROJ 208 0031/1 ROJ_ser*


T013718494 eth0_mac* 00:01:EC:F1:FB:AC eth1_mac*
00:01:EC:F1:FB:AD BFJ_rev* R3A BFJ_num* BFJ 901 03 BFJ_ser*
T013734986 eth0_ip 10.100.0.20/24 nfs_server 192.168.5.41 def_route
192.168.5.1
Save the parameters by use the command savepar. For an example,
3.2.2 Change IP-Address on page 4 .

3.2.5

Restart the System in Boot Mode


When the parameters have been reconfigured the Media Gateway must
be restarted for its modified parameters to take effect. Enter the
command restart . Example: restart
The Media Gateway will restart to become operational with the Telephony Server.

Command Descriptions
Command name

Description

setpar

Set a parameter value

dispar

Print the present configuration

savepar

Save changes in the configuration

restart

Restart the Media Gateway from the console

Parameter Descriptions

5.1

Default Parameter Settings

5.1.1

Factory set parameters, not changeable


The parameters ending with stars are set at manufacturing and cannot
be modified by the user.

1/154 31-ANF 901 36 Uen E1 2011-09-30

MEDIA GATEWAY CONSOLE PORT

Parameter name

5.1.2

Default

ROJ_rev*

Rxx

ROJ_num*

ROJ 208 0031/1

ROJ_ser*

T01xxxxxxx

eth0_mac*

00:01:EC:xx:xx:xx

eth1_mac*

00:01:EC:xx:xx:xx

BFJ_rev*

Rxx

BFJ_num*

BFJ 901 03

BFJ_ser*

T01xxxxxxx

IP parameters
Parameter name

Value

Default

eth0_ip

IP-address

192.168.1.1/28

eth1_ip

IP-address

192.168.1.129/28

eth0_cnf

config-type

static

eth1_cnf

config-type

static

5.2

Boot Parameter Descriptions

5.2.1

Linux boot parameters


Parameter
name

Value

Default

nfsroot

root-path

/eri_egx_root/nfs_root/

hostname

emg-name

egx

nfs_server

IP-address

192.168.1.10

def_route

IP-address

lilo_ip

lilo-ip-string

192.168.1.1:192.168.1.10:255.255.255.240:e
mg:eth0:off
1/154 31-ANF 901 36 Uen E1 2011-09-30

PARAMETER DESCRIPTIONS

5.3

Other Parameters

5.3.1

Auto start
Parameter name

5.3.2

Value

Default

autostart

"module-names"

atm

autoboot

yes/no-string

yes

autoupdate

yes/no-string

yes

FPGA reload
Table 1
Parameter name
fpgareload

1/154 31-ANF 901 36 Uen E1 2011-09-30

Value
yn-string

Default
yes

Vous aimerez peut-être aussi