To verify the configuration, use the following commands:
The debug cts sxp filter events command is used to log events related to the creation, removal, and update of filter-lists and filter-groups. This command
is also used to capture events related to the matching actions in a filtering process.
Device# debug cts sxp filter events
The following sample output from the show cts sxp filter-group speaker command displays SXP speaker filter groups:
Device# show cts sxp filter-group speaker group1
Filter-group: group1
Filter-name: filter1
Peer-list: 172.16.0.1 192.168.0.1
The following sample output from the show cts sxp filter-group listener command displays SXP speaker listener groups:
Device# show cts sxp filter-group listener
Global Listener Filter: Not configured
Filter-group: group1
Filter-name: filter1
Peer-list: 172.16.0.1 192.168.0.1
Filter-group: group2
Filter-name: filter1
Peer-list: 192.0.2.1, 198.51.100.1, 203.0.113.1
The following sample output from the show cts sxp filter-group speaker detailed command displays detailed information about SXP speaker filter groups:
Device# show cts sxp filter-group speaker group1 detailed
Filter-group: group1
Filter-name: filter1
Filter-rules:
10 deny sgt 30
20 deny prefix 10.1.0.0/16
30 permit sgt 60-100
Peer-list: 172.16.0.1 192.168.0.1
The following sample output from the show cts sxp filter-group command displays information about all configured filter groups:
Device# show cts sxp filter-group
Global Listener Filter: Not configured
Global Speaker Filter: Not configured
Listener Group:
Filter-group: group1
Filter-name: filter1
Peer-list: 172.16.0.1 192.168.0.1
Filter-group: group2
Filter-name: filter1
Peer-list: 192.0.2.1, 198.51.100.1, 203.0.113.1
Speaker Group:
Filter-group: group3
Filter-name: filter1
Peer-list: 172.16.0.1 192.168.0.13
Filter-group: group2
Filter-name: filter1
Peer-list: 192.0.2.1, 198.51.100.1, 203.0.113.1
The following sample output from the show sxp filter-group detailed command displays detailed information about all configured SXP filter groups:
Device# show cts sxp filter-group detailed
Global Listener Filter: Configured
Filter-name: global1
Filter-rules:
10 deny 192.168.0.13/32
20 deny sgt 100-200
Global Speaker Filter: Configured
Filter-name: global2
Filter-rules:
10 deny 192.168.0.13/32
20 deny sgt 100-200
Listener Group:
Filter-group: group1
Filter-name: filter1
Filter-rules:
10 deny sgt 30
20 deny prefix 172.16.0.0/16
30 permit sgt 60-100
Peer-list: 172.16.0.1, 192.168.0.13
Filter-group: group2
Filter-name: filter1
Filter-rules:
10 deny sgt 30
20 deny prefix 172.16.0.0/16
30 permit sgt 60-100
Peer-list: 192.0.2.1, 198.51.100.1, 203.0.113.1
Speaker Group
Filter-group: group3
Filter-name: filter1
Filter-rules:
10 deny sgt 30
20 deny prefix 172.16.0.0/16
30 permit sgt 60-100
Peer-list: 10.10.10.1, 172.16.0.1, 192.168.0.13
Filter-group: group2
Filter-name: filter1
Filter-rules:
10 deny sgt 30
20 deny prefix 172.16.0.0/16
30 permit sgt 60-100
Peer-list: 192.0.2.1, 198.51.100.1, 203.0.113.1