欢迎user
26-流量会话命令
本章节下载: 26-流量会话命令 (129.84 KB)
snat odev-change { clean | not-clean } 命令用来配置SNAT出接口变化时是否清流。
【命令】
snat odev-change { clean | not-clean }
【缺省情况】
缺省情况下,不清流。
【视图】
系统视图
【参数】
clean:SNAT出接口变化时清流。
not-clean:SNAT出接口变化时不清流。
【使用指导】
配置snat odev-change clean后,当会话接口发生变化且命中了SNAT策略时,将会话老化重新匹配SNAT策略。
【举例】
#配置SNAT出接口变化时清流。
host# configure termina
host(config)# snat odev-change clean
#配置SNAT出接口变化时不清流。
host(config)# snat odev-change not-clean
session odev-change { clean | not-clean } 命令用来配置会话的出接口变化时是否老化当前会话。
【命令】
session odev-change { clean | not-clean }
【缺省情况】
缺省情况下,不老化会话。
【视图】
系统视图
【参数】
clean:会话出接口发生变化时,老化会话。
not-clean:会话出接口发生变化时,不老化会话。
【使用指导】
当会话出接口发生变化时,clean模式下,会主动老化当前会话,not-clean模式下,不作任何处理。
命令session odev-change { clean | not-clean } 是命令snat odev-change { clean | not-clean } 的父集:
· 当配置了session odev-change not-clean,snat odev-change clean 才生效。
· 配置了session odev-change clean,snat odev-change not-clean 不会生效。
【举例】
#配置会话的出接口变化时老化会话。
host# configure termina
host(config)# session odev-change clean
#配置会话的出接口变化时不老化会话。
host(config)# session odev-change not-clean
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!