设备CR16K做BRAS,原本在808接口上配置了静态会话:
interface Route-Aggregation1.808
ip subscriber session static ip 172.X.X.X 172.Y.Y.Y
使用一段时间后需要做变更,在删除静态会话时有报错:
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.
需要先删除静态会话表项才能删除此命令。
旧版本删除的命令为reset ip subscriber session
现场设备版本为8530Pxx的,新版本没有这条命令,可以使用cut access-user删除用户会话:
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>
现场需要删除多个IP,可以手动创建一个地址池,包括这些需要删除会话的IP,然后使用cut access-user ip-pool XXX来批量删除表项。
使用cut access-user删除相关表项后可以正常删除静态会话。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作