The device CR16K serves as a BRAS, originally configured with static sessions on interface 808.
interface Route-Aggregation1.808
ip subscriber session static ip 172.X.X.X 172.Y.Y.Y
After some time, changes are required, and an error occurs when deleting the static sessions.
undo ip subscriber session static ip 172.X.X.X 172.Y.Y.Y
Operation failed. Cannot delete or modify static session configuration because online static users exist.
Static session entries must be deleted before this command can be removed.
The old version uses the command reset ip subscriber session for deletion.
For on-site devices running version 8530Pxx, the new version does not have this command but allows usingcut access-userDelete user session:
cut access-user ?
auth-type Specify a user by authentication type
domain Specify users by ISP domain
interface Specify users by interface
ip-address Specify a user by IPv4 address
ip-pool Specify users by an IP pool
ip-type Specify users by IP type
ipv6-address Specify a user by IPv6 address
ipv6-pool Specify users by an IPv6 pool
ipv6-prefix Specify users by IPv6 address prefix
mac-address Specify a user by MAC address
slot Specify the slot number
user-address-type Specify users by address type
user-id Specify a user by user ID
user-profile Specify users by user profile
username Specify a user by username
vpn-instance Specify a VPN instance
vxlan Specify users by a range of VXLANs
<cr>
To delete multiple IPs on-site, manually create an address pool containing these IPs requiring session deletion, then use cut access-user ip-pool XXX to batch-delete entries.
After deleting the relevant entry using cut access-user, the static session can be deleted normally.