17
posa statistics caller-ip
Use posa statistics caller-ip to create a source IP statistical item. The source IP statistical item specifies a
source IP or source IP segment.
Use undo posa statistics caller-ip to remove the specified source IP statistical item.
Syntax
posa statistics caller-ip group-id ip-address ip-mask
undo posa statistics caller-ip group-id
Default
No source IP statistical item is configured.
Views
System view
Predefined user roles
network-admin
Parameters
group-id: Specifies an ID for the source IP statistical item, in the range of 1 to 64.
ip-address: Specifies a source IP address or source IP segment in dotted decimal notation.
ip-mask: Specifies a mask in dotted decimal notation.
Usage guidelines
This feature only applies to POS terminals template using TCP.
Source IP segment can overlap each other or be the same.
POS terminal packets that match multiple source IP statistical items are counted for all the statistical items.
Examples
# Create source IP statistical item 1 so that the router will count the packets that are sourced from the IP
segment 10.0.1.0/24.
<Sysname> system-view
[Sysname] posa statistics caller-ip 1 10.0.1.0 255.255.255.0
posa terminal
Use posa terminal to create a POS terminal template in TCP access mode.
Use undo posa terminal to delete the specified POS terminal template.
Syntax
posa terminal terminal-id type tcp listen-port port
undo posa terminal terminal-id
Default
No POS terminal template in TCP access mode is created.