show mgc

Last Updated : Jun 04, 2021 |

Displays the currently active media gateway controller state, setup parameters and the gateway mode.

This command will also display the H.248 Link Encryption technique that has been registered with Communication Manager. The technique can be TLS, PTLS or none.

Additionally, when the gateway mode is set to Edge, this command will also display the status of MGSBC management link between the Edge Gateway and Avaya SBC.

Note:

The media gateway configured in Edge mode will only use TLS version 1.2 for the following links:

  • H.248 link between the Edge Gateway and Avaya SBC

  • MGSBC management link between the Edge Gateway and Avaya SBC

Syntax

show mgc

User level

read-only

Context

general

Example

To display media gateway controller operating in Enterprise Mode:

gateway-001(develop)# show mgc

CALL CONTROLLER STATUS
-------------------------------------------
Gateway Mode          : Enterprise
Registered            : YES
Active Controller     : 10.129.176.161
Controller SW Version : R018x.01.0.890.0
   H248 Link Status      : UP
   H248 Link Encryption  : TLS
PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
10.129.176.161       

SECONDARY MGC HOST
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
10.129.176.158       -- Not Available --                           
135.9.183.62         -- Not Available --                           
-- Not Available --  -- Not Available --                           

sls disabled

Done!
To display media gateway controller operating in Edge mode:

G450-gloin-005(develop)# show mgc

CALL CONTROLLER STATUS
-------------------------------------------
Gateway Mode: Edge
Registered  : YES
Controller  : sbc@ron.com (10.129.176.161)
  SW Version          : R018x.01.0.890.0
  H248 Link Status    : UP
  H248 Link Encryption: TLS
SBC: 10.129.176.161
  Management Link Status: UP    

PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
google.com

SECONDARY MGC HOST
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
11.11.11.11          -- Not Available --                               
sbc@ron.com
-- Not Available --  -- Not Available --                               

sls disabled

Done!

To display media gateway controller operating in Edge mode which is unable to connect to SBC:

G450-gloin-005(develop)# show mgc

CALL CONTROLLER STATUS
-------------------------------------------
Gateway Mode: Edge
Registered  : NO
Controller  : None
  SW Version            : R018x.01.0.890.0
  H248 Link Status      : DOWN
  H248 Link Encryption  : Unknown
SBC: 10.129.176.161
  Management Link Status   : DOWN (Unreachable)
    
PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
google.com

SECONDARY MGC HOST
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
11.11.11.11          -- Not Available --                               
sbc@ron.com
-- Not Available --  -- Not Available --                               

sls disabled

Done!

To display media gateway controller operating in Edge mode with a TLS connection error:

G450-gloin-005(develop)# show mgc

CALL CONTROLLER STATUS
-------------------------------------------
Gateway Mode: Edge
Registered  : NO
Controller  : None
  SW Version            : R018x.01.0.890.0
  H248 Link Status      : DOWN
  H248 Link Encryption  : Unknown
SBC: 10.129.176.161
  Management Link Status   : DOWN (TLS Error) 
   
PRIMARY MGC HOST, Primary Search Time : 1 min(s)
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
google.com

SECONDARY MGC HOST
IPv4 Address         IPv6 Address
-------------------- ----------------------------------------------
11.11.11.11          -- Not Available --                               
sbc@ron.com
-- Not Available --  -- Not Available --                               

sls disabled

Done!