How to reset root password for Avaya Media gateway
Using a console cable in to the front of the gateway via terminal emulator
login as root using password ggdaseuaimhrke
Now to change the password type
username root password ******* access-type admin (****** being your new password)
Exit and try login in with your new password.
This “super secret” password ONLY works if you physically connect to the Services Port on the Media Gateway; for obvious security reasons it does not work across a LAN connection.
Starting with firmware version 36.5.0, Avaya removed this “backdoor” login capability as it is considered a security risk.
If you cannot remember the login password, you have three possible solutions:
change ip:
interface Vlan 1
icc-vlan
ip address 172.30.1.104 255.255.255.0
pmi
exit
ip default-gateway 172.30.1.1
pmi is important.
pmi = Primary Management Interface
If not set, the media gateway will fail to register to mgc
Branch Gateway must be registered with MGC to provide telephony services. You can configure MGCs with the following commands:
to change mgc list, need to clear mgc list first
assarent-004(super)# clear mgc list
Done!
assarent-004(super)# set mgc list 172.30.1.105
Done!
assarent-004(super)# show mgc list
PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address IPv6 Address
-------------------- ----------------------------------------------
172.30.1.105 -- Not Available --
SECONDARY MGC HOST
IPv4 Address IPv6 Address
-------------------- ----------------------------------------------
-- Not Available -- -- Not Available --
-- Not Available -- -- Not Available --
-- Not Available -- -- Not Available --
sls disabled
assarent-004(super)# show mgc
CALL CONTROLLER STATUS
-------------------------------------------
Gateway Mode: Enterprise
Registered : YES
Controller : 172.30.1.105
SW Version : R020x.02.0.229.0
H248 Link Status : UP
H248 Link Encryption: None
PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address IPv6 Address
-------------------- ----------------------------------------------
172.30.1.105 -- Not Available --
SECONDARY MGC HOST
IPv4 Address IPv6 Address
-------------------- ----------------------------------------------
-- Not Available -- -- Not Available --
-- Not Available -- -- Not Available --
-- Not Available -- -- Not Available --
sls disabled
assarent-004(super)#
Media gateway configuration will reset to last saved configuration if the device is restarted.
to avoid this, we need to save the config
assarent-004(super)# copy running-config startup-config
Warning! It is a recommended policy to override default configuration
master key with user defined secret - for details see user reference.
Otherwise device saves configuration secrets using Avaya default secret.
Beginning copy operation ................... Done!
assarent-004(super)#
to restart media gateway the command is: reset chassis
If there are three IP addresses in the MGC list and the third address is the LSP, the transition point should be 2.
The default time for the primary search is one minute. The default time for the total search is 30 minutes. The default transition point is 1.
Gxxx-001(super)# set reset-times primary-search 20
Done!
Gxxx-001(super)# set reset-times total-search 40
Done!
Gxxx-001(super)# set reset-times transition-point 1
Done!
In this example, in the event of a connection loss with the registered MGC, the Branch Gateway searches for the primary MGC on its MGC list for 20 minutes. If the Branch Gateway does not establish a connection with the primary MGC within this time, it searches for the other MGCs on the list for a total of 40 minutes.