IBM MQ - Show allowed connections to a channel using the display chlauth command

The display chlauth command can be used to display the access to a channel.

echo "display chlauth (CHANNEL01)" | runmqsc MANAGER01

 

If the following is returned, the set chlauth command has not yet been used. In this scenario, you would use the set chlauth command to give the channel authority.

AMQ8884E: Channel authentication record not found.
One MQSC command read.
No commands have a syntax error.
One valid MQSC command could not be processed.

 

Take for example the following output. In this example, since ADDRESS is a wildcard, access from all systems connecting to the channel is allowed.

CHLAUTH(CHANNEL01)      ADDRESS(*)
DESCR( )                CUSTOM( )
USERSRC(CHANNEL)        CHCKCLNT(ASQMGR)
ALTDATE(2018-12-07)     ALTTIME(15.12.34)

 

If the channel is using ADDRESSMAP, only clients that match ADDRESS will be allowed to connect to the channel. ADDRESS can be an IP address or hostname.

CHLAUTH(CHANNEL01)                      TYPE(ADDRESSMAP)
DESCR(Allow access and use ID from channel)
CUSTOM( )                               ADDRESS(client01.example.com)
USERSRC(CHANNEL)                        CHCKCLNT(ASQMGR)
ALTDATE(2019-08-20)                     ALTTIME(07.09.01)

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





Please enter 693a9 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |