To view SXP connections, perform this task:
Command
|
Purpose
|
show cts sxp connections
|
Displays detailed information about the SXP status and connections.
|
show cts sxp connections [brief]
|
Displays brief information about the SXP status and connections.
|
show cts sxp export-list
|
Displays the list of VRFs associated with a specific export list or all the export lists.
|
show cts sxp import-list
|
Displays the list of VRFs associated with a specific import list name or all the import lists.
|
show cts sxp export-import-group [detailed]
|
Displays the export list or import list applied with a specific export-import group along with the list of peers that are
a part of this export-import group.
|
The following is a sample output from the show cts sxp connections command:
Device# show cts sxp connections
SXP : Enabled
Default Password : Set
Default Source IP : 10.10.1.1
Connection retry open period: 10 secs
Reconcile period : 120 secs
Retry open timer is not running
----------------------------------------------
Peer IP : 10.20.2.2
Source IP : 10.10.1.1
Conn status : On
Conn Version : 2
Connection mode : SXP Listener
Connection inst# : 1
TCP conn fd : 1
TCP conn password : default SXP password
Duration since last state change: 0:00:21:25 (dd:hr:mm:sec)
Total num of SXP Connections = 1
The following is a sample output from the show cts sxp connections brief command:
Device# show cts sxp connections brief
SXP : Enabled
Default Password : Set
Default Source IP : Not Set
Connection retry open period: 120 secs
Reconcile period : 120 secs
Retry open timer is not running
-----------------------------------------------------------------------------
Peer_IP Source_IP Conn Status Duration
-----------------------------------------------------------------------------
10.1.3.1 10.1.3.2 On 6:00:09:13 (dd:hr:mm:sec)
Total num of SXP Connections = 1
The following is a sample output of the show cts sxp export-list command displaying the list of VRFs associated with a specific export list or all the export lists configured on the device:
Device# show cts sxp export-list export_list_1
Export-list-name: export_list_1
vrf red_vrf
vrf blue_vrf
Device# show cts sxp export-list
Export-list-name: export_list_1
vrf red_vrf
vrf blue_vrf
vrf green_vrf
Export-list-name: export_list_2
vrf all
The following is a sample output of the show cts sxp export-import-group command displaying the export list or import list applied to a specific export-import group along with the list of peers
that are a part of this export-import group. The show cts sxp export-import-group command also lists the details of all the export-import groups configured on the device. Use the detailed keyword to display the export list or import list contents along with the export list or import list name and the list of
peers. The global keyword displays the details of only the global listener and speaker.
Device# show cts sxp export-import-group speaker group_1
Export-import-group: group_1
Export-list-name: export_list_1
Peer-list: 1.1.1.1, 2.2.2.2, 3.3.3.3
Device# show cts sxp export-import-group listener
Global Listener export-import-group: Not configured
Export-import-group: group_1
Export-list-name: export_list_1
Peer-list: 1.1.1.1, 2.2.2.2, 3.3.3.3
Export-import-group: group_2
Import-list-name: import_list_1
Peer-list: 4.4.4.4, 5.5.5.5, 6.6.6.6
Device# show cts sxp export-import-group speaker group_1 detailed
Export-import-group: group_1
Export-list-name: export_list_1
Export-list-content:
vrf Red_vrf
vrf Blue_vrf
Peer-list: 1.1.1.1, 2.2.2.2, 3.3.3.3
Device# show cts sxp export-import-group listener detailed
Global Listener export-import-group: Not configured
Export-import-group: group_1
Import-list-name: import_list_1
Import-list-content:
vlan-list
Peer-list: 1.1.1.1, 2.2.2.2, 3.3.3.3
Device# show cts sxp export-import-group global
Global Listener export-import-list Name: group_1
Global Speaker export-import-list Name: group_2