I have three instance of Oracle running on my laptop. Oracle 11g, Oracle 12c (non-CDB) and 12c CDB architecture.
Here is the listener.ora for all three instance available in Oracle 12c ORACLE_HOME directory.
Listener.oraSID_LIST_LISTENER_ORA12C =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORA12c)
(ORACLE_HOME = D:\app\Vnameit\product\12.1.0\dbhome_1)
(SID_NAME = ORA12c)
)
)
LISTENER_CDB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = LT035221)(PORT = 1523))
)
)
SID_LIST_LISTENER_ORA11G =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ORA11G)
(ORACLE_HOME = D:\app\Vnameit\product\11.2.0\dbhome_1)
(SID_NAME = ORA11G)
)
)
LISTENER_ORA12C =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1524))
(ADDRESS = (PROTOCOL = TCP)(HOST = LT035221)(PORT = 1522))
)
)
LISTENER_ORA11G =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = LT035221)(PORT = 1521))
)
)
SID_LIST_LISTENER_CDB1 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = CDB1)
(ORACLE_HOME = D:\app\Vnameit\product\12.1.0\dbhome_1)
(SID_NAME = CDB1)
)
)
Here is the status of the listener from command line.
C:\Users\179818>lsnrctl status LISTENER_ORA11G
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 12-MAR-2016 12:27:59
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER_ORA11G
Version TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Production
Start Date 09-MAR-2016 13:36:28
Uptime 2 days 22 hr. 51 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\Vnameit\product\12.1.0\dbhome_1\network\admin\listener.ora
Listener Log File D:\app\Vnameit\diag\tnslsnr\LT035221\listener_ora11g\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LT035221.cts.com)(PORT=1521)))
Services Summary...
Service "ORA11G" has 2 instance(s).
Instance "ORA11G", status UNKNOWN, has 1 handler(s) for this service...
Instance "ora11g", status READY, has 1 handler(s) for this service...
Service "ORA11GXDB" has 1 instance(s).
Instance "ora11g", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\179818>lsnrctl status LISTENER_ORA12c
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 12-MAR-2016 12:28:05
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1524)))
STATUS of the LISTENER
------------------------
Alias LISTENER_ORA12C
Version TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Production
Start Date 09-MAR-2016 13:36:28
Uptime 2 days 22 hr. 51 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\Vnameit\product\12.1.0\dbhome_1\network\admin\listener.ora
Listener Log File D:\app\Vnameit\diag\tnslsnr\LT035221\listener_ora12c\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1524ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LT035221.cts.com)(PORT=1522)))
Services Summary...
Service "ORA12CXDB" has 1 instance(s).
Instance "ora12c", status READY, has 1 handler(s) for this service...
Service "ORA12c" has 2 instance(s).
Instance "ORA12c", status UNKNOWN, has 1 handler(s) for this service...
Instance "ora12c", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\179818>lsnrctl status LISTENER_CDB1
LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 12-MAR-2016 12:28:12
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=LT035221)(PORT=1523)))
STATUS of the LISTENER
------------------------
Alias LISTENER_CDB1
Version TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Production
Start Date 12-MAR-2016 12:24:03
Uptime 0 days 0 hr. 4 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\Vnameit\product\12.1.0\dbhome_1\network\admin\listener.ora
Listener Log File D:\app\Vnameit\diag\tnslsnr\LT035221\listener_cdb1\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LT035221.cts.com)(PORT=1523)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=LT035221.cts.com)(PORT=5503))(Security=(my_wallet_directory=D:\APP\VNAMEIT\admin\CDB1\xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CDB1" has 2 instance(s).
Instance "CDB1", status UNKNOWN, has 1 handler(s) for this service...
Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "CDB1XDB" has 1 instance(s).
Instance "cdb1", status READY, has 1 handler(s) for this service...
Service "pdb1" has 1 instance(s).
Instance "cdb1", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\179818>
Also see this for configuring multiple listeners.
http://docs.oracle.com/database/121/NETAG/listenercfg.htm#NETAG1470