configurations required on an Cisco NX-OS switch to establish an XMPP session
are the following:
Enabling the XMPP
Client (fabric access) feature
Network path to
the XMPP server
configuration to establish client-server connection
XMPP Client Feature
The XMPP client
feature on an Cisco NX-OS switch is a conditional service which is referred as
fabric access .
This feature can be enabled/disabled using the following configuration command:
[no] feature fabric access
Network Path to
the XMPP server
information for an XMPP server is a Fully Qualified Name (FQN). Therefore, the
switch requires either the static local IP-to-Name mapping or the capabilities
to resolve the FQN via DNS to establish a client-server connection.
The following is an
example for configuration of a locally configured DNS resolution for server
host-65-mgmt.cisco.com with IP address
switch(config)# ip host-65-mgmt.cisco.com 10.0.0.1
This name must
match with the name of the XMPP server. In case of Cisco Prime DCNM XMPP
server, the name must match with the printout of the
connects to a specific XMPP server with configured VRF route and JID
JID is a Jabber
Identifier (JID), which uniquely identify individual entities in the XMPP
(Jabber) network. For example, consider if the Fully Qualified Domain name of
server is xmpp-server.cisco.com and the username is 'admin' (username can be
obtained by issue 'where' cli on the device), JID for this user is
firstname.lastname@example.org. For a device, by default device hostname is used
as the ID to construct device JID. If device host name is leaf, JID for this
device is email@example.com.
Use the following
[no]fabric access server <fqn-name> [vrf <vrf-known-name>] password <password>
switch(config)# fabric access server host-65-mgmt.cisco.com vrf management password
For more information
on XMPP commands, see
XMPP Client Commands.
XMPP client can join
multiple group chats. The user has to create a group by using the fabric access
command. Before running the command to create a group, the user has to log into
the XMPP server and get an authentication.
If a group does
not exist yet, the group subscription command will not be in effect, and the
switch has to retry the group subscription periodically till it is successful.
The XMPP client can
join a group using the
[no] fabric access group <group-name> command.
switch(config)# fabric access group leaves