[关闭]
@ju1900 2017-11-03T11:13:21.000000Z 字数 4869 阅读 1123

SeGW 产品说明文档 V2

日志


基础

命令语法的约定


过滤符 |

语法:show running-config | <option> <keyword>

功能
过滤符用户过滤显示的配置信息, 后面可接以下 option

语法描述

  1. MEC_ZHX_8#show task list
  2. Node Task-id Task Pid Core_Mask Num_Crash
  3. ==========================================================================================
  4. 0 4096 msgrtr/0 2723 ANY 0
  5. 0 6144 apimgr/0 2753 ANY 0
  6. 0 8192 vnfctrl/0 2850 ANY 0
  7. 0 12288 dbmgr/0 2871 ANY 0
  8. 0 18432 ffemgr/0 2872 ANY 0
  9. 0 20480 ffe/0 2873 00000000000003fe 0
  10. 0 22539 connmgr/11 3084 0000000000000800 0
  11. 0 22540 connmgr/12 3087 0000000000001000 0
  12. 0 24589 trmgr/13 3091 0000000000002000 0
  13. 0 24590 trmgr/14 3092 0000000000004000 0
  14. 0 26624 aaamgr/0 3100 0000000000000400 0
  15. 0 34816 ltectrl/0 2758 ANY 0
  16. 0 36864 rsrcmgr/0 2861 ANY 0
  17. 0 51200 hactrl/0 2754 ANY 0
  18. 0 53248 gtpctrl/0 2865 ANY 0
  19. 0 55296 crldl/0 3093 ANY 0
  20. 0 59392 dhcpmgr/0 3094 0000000000000001 0
  21. 0 61440 dnsproxymgr/0 2866 ANY 0
  22. 0 65536 cdrmgr/0 2869 ANY 0
  23. 0 67584 liadmf/0 2867 ANY 0
  24. 0 69632 lidf/0 2868 ANY 0
  25. 0 88111 mepmgr/47 3088 0000800000000000 0
  26. 0 88112 mepmgr/48 3089 0001000000000000 0
  27. 0 90112 pt_server/0 2870 ANY 0
  28. Total 24 tasks

begin

  1. MEC_ZHX_8#show task list | begin lidf/0
  2. 0 69632 lidf/0 2868 ANY 0
  3. 0 88111 mepmgr/47 3088 0000800000000000 0
  4. 0 88112 mepmgr/48 3089 0001000000000000 0
  5. 0 90112 pt_server/0 2870 ANY 0

include

  1. MEC_ZHX_8#show task list | include connmgr
  2. 0 22539 connmgr/11 3084 0000000000000800 0
  3. 0 22540 connmgr/12 3087 0000000000001000 0

count

  1. MEC_ZHX_8#show task list | count connmgr
  2. 0 22539 connmgr/11 3084 0000000000000800 0
  3. 0 22540 connmgr/12 3087 0000000000001000 0
  4. Count Line: 2

count-only

  1. MEC_ZHX_8#show task list | count-only connmgr
  2. Count Line: 2

exclude

  1. MEC_ZHX_8#show task list | exclude connmgr
  2. Node Task-id Task Pid Core_Mask Num_Crash
  3. ==========================================================================================
  4. 0 4096 msgrtr/0 2723 ANY 0
  5. 0 6144 apimgr/0 2753 ANY 0
  6. 0 8192 vnfctrl/0 2850 ANY 0
  7. 0 12288 dbmgr/0 2871 ANY 0
  8. 0 18432 ffemgr/0 2872 ANY 0
  9. 0 20480 ffe/0 2873 00000000000003fe 0
  10. 0 24589 trmgr/13 3091 0000000000002000 0
  11. 0 24590 trmgr/14 3092 0000000000004000 0
  12. 0 26624 aaamgr/0 3100 0000000000000400 0
  13. 0 34816 ltectrl/0 2758 ANY 0
  14. 0 36864 rsrcmgr/0 2861 ANY 0
  15. 0 51200 hactrl/0 2754 ANY 0
  16. 0 53248 gtpctrl/0 2865 ANY 0
  17. 0 55296 crldl/0 3093 ANY 0
  18. 0 59392 dhcpmgr/0 3094 0000000000000001 0
  19. 0 61440 dnsproxymgr/0 2866 ANY 0
  20. 0 65536 cdrmgr/0 2869 ANY 0
  21. 0 67584 liadmf/0 2867 ANY 0
  22. 0 69632 lidf/0 2868 ANY 0
  23. 0 88111 mepmgr/47 3088 0000800000000000 0
  24. 0 88112 mepmgr/48 3089 0001000000000000 0
  25. 0 90112 pt_server/0 2870 ANY 0
  26. Total 24 tasks

verbose

功能
跟在 show <command> 后面用于显示详细信息

语法描述

show <command> verbose

配置示例

  1. CASA-MIBILE(config)#show lte-service security-policy ike-sa
  2. Codes:
  3. I - Interface: (H)eNB or (M)ME or (E) EPDG or (S) SeGW
  4. S - Status: (U)p or (D)own,
  5. R - Role: (I)initiator or (R)esponder,
  6. M - Mode: T(u)nnel or T(r)ansport,
  7. N - NATT: (Y)es/(N)o, K - Re(K)eyed: (Y)es or (N)o
  8. peer port ISRMNK SPI(self:peer) Crypto-Map
  9. ----------------+-----+------+-----------------------+-----------
  10. 172.1.10.40 500 SURuNN 0X55040002A677600F cert-map02
  11. 0X4016D765292823D2
  12. total: 1 SAs
  1. CASA-MIBILE(config)#sho lte-service security-policy ike-sa verbose
  2. 172.1.14.8:500 <-> 172.1.10.40:500
  3. Tunnel Id : 0X08800001
  4. SPI : 0X55040002A677600F <-> 0X4016D765292823D2
  5. Created at : 2017/11/03 09:22:51
  6. Status : Up
  7. Role : Responder
  8. Mode : Tunnel
  9. Serving : SEGW_IF
  10. Lifetime : 08:00:00, rekey attempted 0 times
  11. Last keyed : 2017/11/03 09:22:51
  12. Next rekey : 2017/11/03 16:10:51
  13. Crypto map : cert-map02
  14. Integrity : sha1-96
  15. Encryption : aes-cbc
  16. DH Group : 2(MODP 1024)
  17. Pkts sent : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KB
  18. Pkts received : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KB

show this

功能
打印当前级别下的配置信息

配置示例

  1. CASA-MIBILE(config-lte-security-policy)#crypto-template tpl02
  2. CASA-MIBILE(config-lte-crypto-template)#sho this
  3. crypto-template tpl02
  4. transform-set name tfm02
  5. authentication certificate
  6. authentication pre-shared-key
  7. pre-shared-key name psk02
  8. self-identity name GW2001
  9. certificate-authority name CA2001
  10. mode tunnel
  11. dh-group 2
  12. perfect-forward-secrecy 0 propose 0
  13. poi
  14. ip-pool pl02
  15. exit

HA

Configure HA

peer ipv4 <ip_addr> [port <port_num>]

功能
指定 HA 对方的 IP 地址和端口号

语法描述

配置示例

  1. CASA-MIBILE(config-ha-node)#peer ipv4 172.0.10.105
  2. CASA-MIBILE(config-ha-node)#show this
  3. ha node
  4. prefer active
  5. self interface ipv4 gige 0 port 65530
  6. peer ipv4 172.0.10.105 port 65530
  7. no redundancy reboot
  8. exit
  9. CASA-MIBILE(config-ha-node)#

self interface (ipv4|ipv6) <iface_type> <iface_num> [port <port_num>]

功能
指定触发 HA 是本地使用的 IP 地址和端口号

语法描述

配置示例

  1. CASA-MIBILE(config-ha-node)#self interface ipv4 gige 0
  2. CASA-MIBILE(config-ha-node)#show this
  3. ha node
  4. prefer active
  5. self interface ipv4 gige 0 port 65530
  6. peer ipv4 172.0.10.105 port 65530
  7. no redundancy reboot
  8. exit
  9. CASA-MIBILE(config-ha-node)#

peer heartbeat timeout <seconds>

功能
本地向 HA 对方发送心跳数据的时间间隔

语法描述

配置示例

  1. CASA-MIBILE(config-ha-node)#peer heartbeat timeout 3
  2. CASA-MIBILE(config-ha-node)#sho this
  3. ha node
  4. prefer active
  5. self interface ipv4 gige 0 port 65530
  6. peer ipv4 172.0.10.105 port 65530
  7. peer heartbeat timeout 3
  8. no redundancy reboot
  9. exit

task down max per minute <recovery_num>

功能

Show HA command

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注