Cisco Systems OL-15491-01 Network Hardware User Manual


 
A-19
Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide
OL-15491-01
Appendix A CSG2 Command Reference
clear ip csg
clear ip csg
To clear the CSG2, use the clear ip csg command in privileged EXEC mode.
clear ip csg {counters | sessions user [application] [ip-address ip-mask] |
user [all | ip ip-address {global | vrf vrf-name}]}
Syntax Description
Defaults None
Command Modes Privileged EXEC
counters Clears all CSG2 cumulative counters and statistics, but not CSG2
“state” counters. For example, counters such as “current number of
sessions” are not cleared.
sessions user Closes all subscriber sessions.
application (Optional) Closes subscriber sessions for only the specified
application:
ftp—Closes FTP subscriber sessions.
http—Closes HTTP subscriber sessions.
imap—Closes IMAP subscriber sessions.
other—Closes other subscriber sessions.
pop3—Closes POP3 subscriber sessions.
rtsp—Closes RTSP subscriber sessions.
smtp—Closes SMTP subscriber sessions.
wap—Closes WAP subscriber sessions.
ip-address ip-mask (Optional) Closes subscriber sessions for only the specified
subscriber IP address and subscriber IP address mask.
Specify IP address 0.0.0.0 to close subscriber sessions for all
subscriber IP addresses.
Specify IP address mask 0 to close subscriber sessions for all
subscriber IP address masks.
user Closes all subscriber entries in the CSG2 User Table.
all (Optional) Closes all subscriber entries in the CSG2 User Table.
ip ip-address (Optional) Closes only those subscriber entries in the CSG2 User
Table that are associated with the specified IP address.
global (Optional) Closes all subscriber entries that are associated with the
specified IP address.
vrf vrf-name (Optional) Closes only those subscriber entries that are associated
with the specified IP address and that are associated with the
specified Virtual Routing and Forwarding (VRF) table.