• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 关于我们

02-网络管理命令参考

目录

26-流量会话命令

本章节下载 26-流量会话命令  (129.84 KB)

26-流量会话命令


1 流量会话命令

1.1  snat odev-change { clean | not-clean }

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

1.2  session odev-change { clean | 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-cleansnat odev-change clean 才生效。

·     配置了session odev-change cleansnat odev-change not-clean 不会生效。

【举例】

#配置会话的出接口变化时老化会话。

host# configure termina

host(config)# session odev-change clean

#配置会话的出接口变化时不老化会话。

host(config)# session odev-change not-clean

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们