@ju1900
2017-11-03T03:13:21.000000Z
字数 4869
阅读 1406
日志
(|) 表示两个分离的选项, 二者选一[] 表示可选项{} 表示必选项[{}] 表示带有可选项的必选项<> 表示由你提供实际数值的变量语法:show running-config | <option> <keyword>
语法描述
MEC_ZHX_8#show task listNode Task-id Task Pid Core_Mask Num_Crash==========================================================================================0 4096 msgrtr/0 2723 ANY 00 6144 apimgr/0 2753 ANY 00 8192 vnfctrl/0 2850 ANY 00 12288 dbmgr/0 2871 ANY 00 18432 ffemgr/0 2872 ANY 00 20480 ffe/0 2873 00000000000003fe 00 22539 connmgr/11 3084 0000000000000800 00 22540 connmgr/12 3087 0000000000001000 00 24589 trmgr/13 3091 0000000000002000 00 24590 trmgr/14 3092 0000000000004000 00 26624 aaamgr/0 3100 0000000000000400 00 34816 ltectrl/0 2758 ANY 00 36864 rsrcmgr/0 2861 ANY 00 51200 hactrl/0 2754 ANY 00 53248 gtpctrl/0 2865 ANY 00 55296 crldl/0 3093 ANY 00 59392 dhcpmgr/0 3094 0000000000000001 00 61440 dnsproxymgr/0 2866 ANY 00 65536 cdrmgr/0 2869 ANY 00 67584 liadmf/0 2867 ANY 00 69632 lidf/0 2868 ANY 00 88111 mepmgr/47 3088 0000800000000000 00 88112 mepmgr/48 3089 0001000000000000 00 90112 pt_server/0 2870 ANY 0Total 24 tasks
begin
MEC_ZHX_8#show task list | begin lidf/00 69632 lidf/0 2868 ANY 00 88111 mepmgr/47 3088 0000800000000000 00 88112 mepmgr/48 3089 0001000000000000 00 90112 pt_server/0 2870 ANY 0
lidf/0 开始到结束的信息include
MEC_ZHX_8#show task list | include connmgr0 22539 connmgr/11 3084 0000000000000800 00 22540 connmgr/12 3087 0000000000001000 0
connmgr 的行信息count
MEC_ZHX_8#show task list | count connmgr0 22539 connmgr/11 3084 0000000000000800 00 22540 connmgr/12 3087 0000000000001000 0Count Line: 2
connmgr 的行信息,并且统计行数count-only
MEC_ZHX_8#show task list | count-only connmgrCount Line: 2
connmgr 的行统计数exclude
MEC_ZHX_8#show task list | exclude connmgrNode Task-id Task Pid Core_Mask Num_Crash==========================================================================================0 4096 msgrtr/0 2723 ANY 00 6144 apimgr/0 2753 ANY 00 8192 vnfctrl/0 2850 ANY 00 12288 dbmgr/0 2871 ANY 00 18432 ffemgr/0 2872 ANY 00 20480 ffe/0 2873 00000000000003fe 00 24589 trmgr/13 3091 0000000000002000 00 24590 trmgr/14 3092 0000000000004000 00 26624 aaamgr/0 3100 0000000000000400 00 34816 ltectrl/0 2758 ANY 00 36864 rsrcmgr/0 2861 ANY 00 51200 hactrl/0 2754 ANY 00 53248 gtpctrl/0 2865 ANY 00 55296 crldl/0 3093 ANY 00 59392 dhcpmgr/0 3094 0000000000000001 00 61440 dnsproxymgr/0 2866 ANY 00 65536 cdrmgr/0 2869 ANY 00 67584 liadmf/0 2867 ANY 00 69632 lidf/0 2868 ANY 00 88111 mepmgr/47 3088 0000800000000000 00 88112 mepmgr/48 3089 0001000000000000 00 90112 pt_server/0 2870 ANY 0Total 24 tasks
connmgr 的行信息语法描述
show <command> verbose
配置示例
CASA-MIBILE(config)#show lte-service security-policy ike-saCodes:I - Interface: (H)eNB or (M)ME or (E) EPDG or (S) SeGWS - Status: (U)p or (D)own,R - Role: (I)initiator or (R)esponder,M - Mode: T(u)nnel or T(r)ansport,N - NATT: (Y)es/(N)o, K - Re(K)eyed: (Y)es or (N)opeer port ISRMNK SPI(self:peer) Crypto-Map----------------+-----+------+-----------------------+-----------172.1.10.40 500 SURuNN 0X55040002A677600F cert-map020X4016D765292823D2total: 1 SAs
CASA-MIBILE(config)#sho lte-service security-policy ike-sa verbose172.1.14.8:500 <-> 172.1.10.40:500Tunnel Id : 0X08800001SPI : 0X55040002A677600F <-> 0X4016D765292823D2Created at : 2017/11/03 09:22:51Status : UpRole : ResponderMode : TunnelServing : SEGW_IFLifetime : 08:00:00, rekey attempted 0 timesLast keyed : 2017/11/03 09:22:51Next rekey : 2017/11/03 16:10:51Crypto map : cert-map02Integrity : sha1-96Encryption : aes-cbcDH Group : 2(MODP 1024)Pkts sent : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KBPkts received : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KB
配置示例
CASA-MIBILE(config-lte-security-policy)#crypto-template tpl02CASA-MIBILE(config-lte-crypto-template)#sho thiscrypto-template tpl02transform-set name tfm02authentication certificateauthentication pre-shared-keypre-shared-key name psk02self-identity name GW2001certificate-authority name CA2001mode tunneldh-group 2perfect-forward-secrecy 0 propose 0poiip-pool pl02exit
语法描述
mgmt port 使用的地址65530配置示例
CASA-MIBILE(config-ha-node)#peer ipv4 172.0.10.105CASA-MIBILE(config-ha-node)#show thisha nodeprefer activeself interface ipv4 gige 0 port 65530peer ipv4 172.0.10.105 port 65530no redundancy rebootexitCASA-MIBILE(config-ha-node)#
语法描述
65530 端口号配置示例
CASA-MIBILE(config-ha-node)#self interface ipv4 gige 0CASA-MIBILE(config-ha-node)#show thisha nodeprefer activeself interface ipv4 gige 0 port 65530peer ipv4 172.0.10.105 port 65530no redundancy rebootexitCASA-MIBILE(config-ha-node)#
语法描述
配置示例
CASA-MIBILE(config-ha-node)#peer heartbeat timeout 3CASA-MIBILE(config-ha-node)#sho thisha nodeprefer activeself interface ipv4 gige 0 port 65530peer ipv4 172.0.10.105 port 65530peer heartbeat timeout 3no redundancy rebootexit