A sample Diameter credit control (DCC) - Session control - Abort session request (ASR) wireshark capture which may help Diameter base protocol beginners.
Diameter Protocol
Version: 0x01
Length: 148
Flags: 0xc0
1... .... = Request: Set
.1.. .... = Proxyable: Set
..0. .... = Error: Not set
...0 .... = T(Potentially re-transmitted message): Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
Command Code: 274 Abort-Session
ApplicationId: Diameter Credit Control Application (4)
Hop-by-Hop Identifier: 0x88f628db
End-to-End Identifier: 0xc3ef6b84
AVP: Session-Id(263) l=33 f=-M- val=shareo;3640208403;642;9328
AVP Code: 263 Session-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 33
Session-Id: shareo;3640208403;642;9328
Padding: 000000
AVP: Destination-Realm(283) l=20 f=-M- val=shareolite
AVP Code: 283 Destination-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Destination-Realm: shareolite
AVP: Destination-Host(293) l=13 f=-M- val=shareo
AVP Code: 293 Destination-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 13
Destination-Host: shareo
Padding: 000000
AVP: Origin-Host(264) l=23 f=-M- val=shareo1.com
AVP Code: 264 Origin-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 23
Origin-Host: shareo1.com
Padding: 00
AVP: Origin-Realm(296) l=20 f=-M- val=shareolite
AVP Code: 296 Origin-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Origin-Realm: shareolite
AVP: Auth-Application-Id(258) l=12 f=-M- val=Diameter Credit Control (4)
AVP Code: 258 Auth-Application-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Auth-Application-Id: Diameter Credit Control (4)
Diameter Protocol
Version: 0x01
Length: 148
Flags: 0xc0
1... .... = Request: Set
.1.. .... = Proxyable: Set
..0. .... = Error: Not set
...0 .... = T(Potentially re-transmitted message): Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
Command Code: 274 Abort-Session
ApplicationId: Diameter Credit Control Application (4)
Hop-by-Hop Identifier: 0x88f628db
End-to-End Identifier: 0xc3ef6b84
AVP: Session-Id(263) l=33 f=-M- val=shareo;3640208403;642;9328
AVP Code: 263 Session-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 33
Session-Id: shareo;3640208403;642;9328
Padding: 000000
AVP: Destination-Realm(283) l=20 f=-M- val=shareolite
AVP Code: 283 Destination-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Destination-Realm: shareolite
AVP: Destination-Host(293) l=13 f=-M- val=shareo
AVP Code: 293 Destination-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 13
Destination-Host: shareo
Padding: 000000
AVP: Origin-Host(264) l=23 f=-M- val=shareo1.com
AVP Code: 264 Origin-Host
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 23
Origin-Host: shareo1.com
Padding: 00
AVP: Origin-Realm(296) l=20 f=-M- val=shareolite
AVP Code: 296 Origin-Realm
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 20
Origin-Realm: shareolite
AVP: Auth-Application-Id(258) l=12 f=-M- val=Diameter Credit Control (4)
AVP Code: 258 Auth-Application-Id
AVP Flags: 0x40
0... .... = Vendor-Specific: Not set
.1.. .... = Mandatory: Set
..0. .... = Protected: Not set
...0 .... = Reserved: Not set
.... 0... = Reserved: Not set
.... .0.. = Reserved: Not set
.... ..0. = Reserved: Not set
.... ...0 = Reserved: Not set
AVP Length: 12
Auth-Application-Id: Diameter Credit Control (4)