@ju1900
2017-11-03T11:13:21.000000Z
字数 4869
阅读 1123
日志
(|)
表示两个分离的选项, 二者选一[]
表示可选项{}
表示必选项[{}]
表示带有可选项的必选项<>
表示由你提供实际数值的变量语法:show running-config | <option> <keyword>
语法描述
MEC_ZHX_8#show task list
Node Task-id Task Pid Core_Mask Num_Crash
==========================================================================================
0 4096 msgrtr/0 2723 ANY 0
0 6144 apimgr/0 2753 ANY 0
0 8192 vnfctrl/0 2850 ANY 0
0 12288 dbmgr/0 2871 ANY 0
0 18432 ffemgr/0 2872 ANY 0
0 20480 ffe/0 2873 00000000000003fe 0
0 22539 connmgr/11 3084 0000000000000800 0
0 22540 connmgr/12 3087 0000000000001000 0
0 24589 trmgr/13 3091 0000000000002000 0
0 24590 trmgr/14 3092 0000000000004000 0
0 26624 aaamgr/0 3100 0000000000000400 0
0 34816 ltectrl/0 2758 ANY 0
0 36864 rsrcmgr/0 2861 ANY 0
0 51200 hactrl/0 2754 ANY 0
0 53248 gtpctrl/0 2865 ANY 0
0 55296 crldl/0 3093 ANY 0
0 59392 dhcpmgr/0 3094 0000000000000001 0
0 61440 dnsproxymgr/0 2866 ANY 0
0 65536 cdrmgr/0 2869 ANY 0
0 67584 liadmf/0 2867 ANY 0
0 69632 lidf/0 2868 ANY 0
0 88111 mepmgr/47 3088 0000800000000000 0
0 88112 mepmgr/48 3089 0001000000000000 0
0 90112 pt_server/0 2870 ANY 0
Total 24 tasks
begin
MEC_ZHX_8#show task list | begin lidf/0
0 69632 lidf/0 2868 ANY 0
0 88111 mepmgr/47 3088 0000800000000000 0
0 88112 mepmgr/48 3089 0001000000000000 0
0 90112 pt_server/0 2870 ANY 0
lidf/0
开始到结束的信息include
MEC_ZHX_8#show task list | include connmgr
0 22539 connmgr/11 3084 0000000000000800 0
0 22540 connmgr/12 3087 0000000000001000 0
connmgr
的行信息count
MEC_ZHX_8#show task list | count connmgr
0 22539 connmgr/11 3084 0000000000000800 0
0 22540 connmgr/12 3087 0000000000001000 0
Count Line: 2
connmgr
的行信息,并且统计行数count-only
MEC_ZHX_8#show task list | count-only connmgr
Count Line: 2
connmgr
的行统计数exclude
MEC_ZHX_8#show task list | exclude connmgr
Node Task-id Task Pid Core_Mask Num_Crash
==========================================================================================
0 4096 msgrtr/0 2723 ANY 0
0 6144 apimgr/0 2753 ANY 0
0 8192 vnfctrl/0 2850 ANY 0
0 12288 dbmgr/0 2871 ANY 0
0 18432 ffemgr/0 2872 ANY 0
0 20480 ffe/0 2873 00000000000003fe 0
0 24589 trmgr/13 3091 0000000000002000 0
0 24590 trmgr/14 3092 0000000000004000 0
0 26624 aaamgr/0 3100 0000000000000400 0
0 34816 ltectrl/0 2758 ANY 0
0 36864 rsrcmgr/0 2861 ANY 0
0 51200 hactrl/0 2754 ANY 0
0 53248 gtpctrl/0 2865 ANY 0
0 55296 crldl/0 3093 ANY 0
0 59392 dhcpmgr/0 3094 0000000000000001 0
0 61440 dnsproxymgr/0 2866 ANY 0
0 65536 cdrmgr/0 2869 ANY 0
0 67584 liadmf/0 2867 ANY 0
0 69632 lidf/0 2868 ANY 0
0 88111 mepmgr/47 3088 0000800000000000 0
0 88112 mepmgr/48 3089 0001000000000000 0
0 90112 pt_server/0 2870 ANY 0
Total 24 tasks
connmgr
的行信息语法描述
show <command> verbose
配置示例
CASA-MIBILE(config)#show lte-service security-policy ike-sa
Codes:
I - Interface: (H)eNB or (M)ME or (E) EPDG or (S) SeGW
S - 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)o
peer port ISRMNK SPI(self:peer) Crypto-Map
----------------+-----+------+-----------------------+-----------
172.1.10.40 500 SURuNN 0X55040002A677600F cert-map02
0X4016D765292823D2
total: 1 SAs
CASA-MIBILE(config)#sho lte-service security-policy ike-sa verbose
172.1.14.8:500 <-> 172.1.10.40:500
Tunnel Id : 0X08800001
SPI : 0X55040002A677600F <-> 0X4016D765292823D2
Created at : 2017/11/03 09:22:51
Status : Up
Role : Responder
Mode : Tunnel
Serving : SEGW_IF
Lifetime : 08:00:00, rekey attempted 0 times
Last keyed : 2017/11/03 09:22:51
Next rekey : 2017/11/03 16:10:51
Crypto map : cert-map02
Integrity : sha1-96
Encryption : aes-cbc
DH Group : 2(MODP 1024)
Pkts sent : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KB
Pkts received : 1 pkts / 0 KB, Cumulative: 1 pkts / 0 KB
配置示例
CASA-MIBILE(config-lte-security-policy)#crypto-template tpl02
CASA-MIBILE(config-lte-crypto-template)#sho this
crypto-template tpl02
transform-set name tfm02
authentication certificate
authentication pre-shared-key
pre-shared-key name psk02
self-identity name GW2001
certificate-authority name CA2001
mode tunnel
dh-group 2
perfect-forward-secrecy 0 propose 0
poi
ip-pool pl02
exit
语法描述
mgmt port
使用的地址65530
配置示例
CASA-MIBILE(config-ha-node)#peer ipv4 172.0.10.105
CASA-MIBILE(config-ha-node)#show this
ha node
prefer active
self interface ipv4 gige 0 port 65530
peer ipv4 172.0.10.105 port 65530
no redundancy reboot
exit
CASA-MIBILE(config-ha-node)#
语法描述
65530
端口号配置示例
CASA-MIBILE(config-ha-node)#self interface ipv4 gige 0
CASA-MIBILE(config-ha-node)#show this
ha node
prefer active
self interface ipv4 gige 0 port 65530
peer ipv4 172.0.10.105 port 65530
no redundancy reboot
exit
CASA-MIBILE(config-ha-node)#
语法描述
配置示例
CASA-MIBILE(config-ha-node)#peer heartbeat timeout 3
CASA-MIBILE(config-ha-node)#sho this
ha node
prefer active
self interface ipv4 gige 0 port 65530
peer ipv4 172.0.10.105 port 65530
peer heartbeat timeout 3
no redundancy reboot
exit