本文由ITAA实验室发表在www.xuexizu.com 转载请注明出处


有时我们想查看系统服务默认的超时时间,怎么通过命令行查看呢?在配置模式下是没有命令可以直接查看,你必须在vty 模式下才能查看,接下来我们来演示一下如何查看。

[edit]
lab@ONE-TOM# run start shell user root
Password:
root@ONE-TOM% vty fwdd
FLOWD_VSRX(ONE-TOM vty)# show usp app-def tcp    
tcp port=0, appl_name=junos-tcp-any, service type=0, alg id=0, timeout=1800
tcp port=21, appl_name=junos-ftp, service type=1, alg id=1, timeout=1800
tcp port=22, appl_name=junos-ssh, service type=22, alg id=0, timeout=1800
tcp port=23, appl_name=junos-telnet, service type=10, alg id=0, timeout=1800
tcp port=25, appl_name=junos-smtp, service type=7, alg id=0, timeout=1800
tcp port=43, appl_name=junos-whois, service type=46, alg id=0, timeout=1800
tcp port=49, appl_name=junos-tacacs, service type=0, alg id=0, timeout=1800
tcp port=53, appl_name=junos-dns-tcp, service type=16, alg id=16, timeout=1800
tcp port=65, appl_name=junos-tacacs-ds, service type=0, alg id=0, timeout=1800
tcp port=70, appl_name=junos-gopher, service type=39, alg id=0, timeout=1800
tcp port=79, appl_name=junos-finger, service type=17, alg id=0, timeout=1800
tcp port=80, appl_name=junos-http, service type=6, alg id=0, timeout=1800
tcp port=110, appl_name=junos-pop3, service type=8, alg id=0, timeout=1800
tcp port=111, appl_name=junos-sun-rpc-tcp, service type=5, alg id=5, timeout=2400
tcp port=113, appl_name=junos-ident, service type=34, alg id=0, timeout=1800
tcp port=119, appl_name=junos-nntp, service type=35, alg id=0, timeout=1800
tcp port=135, appl_name=junos-ms-rpc-tcp, service type=55, alg id=55, timeout=60
tcp port=139, appl_name=junos-smb, service type=21, alg id=0, timeout=1800
tcp port=143, appl_name=junos-imap, service type=9, alg id=0, timeout=1800
tcp port=179, appl_name=junos-bgp, service type=0, alg id=0, timeout=1800
tcp port=210, appl_name=junos-wais, service type=0, alg id=0, timeout=1800
tcp port=389, appl_name=junos-ldap, service type=47, alg id=0, timeout=1800
tcp port=443, appl_name=junos-https, service type=58, alg id=0, timeout=1800
tcp port=444, appl_name=junos-snpp, service type=0, alg id=0, timeout=1800
tcp port=445, appl_name=junos-smb-session, service type=21, alg id=0, timeout=1800
tcp port=514, appl_name=junos-rsh, service type=2, alg id=2, timeout=1800
tcp port=515, appl_name=junos-printer, service type=38, alg id=0, timeout=1800
tcp port=517, appl_name=junos-talk, service type=65, alg id=65, timeout=1800
tcp port=518, appl_name=junos-ntalk, service type=65, alg id=65, timeout=1800
tcp port=522, appl_name=junos-h323, service type=0, alg id=0, timeout=1800
tcp port=554, appl_name=junos-rtsp, service type=11, alg id=11, timeout=1800
tcp port=646, appl_name=junos-ldp-tcp, service type=0, alg id=0, timeout=1800
tcp port=705, appl_name=junos-snmp-agentx, service type=0, alg id=0, timeout=7560
tcp port=993, appl_name=junos-imaps, service type=0, alg id=0, timeout=1800
tcp port=1433, appl_name=junos-ms-sql, service type=56, alg id=0, timeout=1800
tcp port=1494, appl_name=junos-winframe, service type=78, alg id=0, timeout=1800
tcp port=1503, appl_name=junos-h323, service type=0, alg id=0, timeout=1800
tcp port=1521, appl_name=junos-sqlnet-v2, service type=64, alg id=64, timeout=1800
tcp port=1525, appl_name=junos-sqlnet-v1, service type=0, alg id=0, timeout=1800
tcp port=1720, appl_name=junos-h323, service type=60, alg id=60, timeout=1800
tcp port=1723, appl_name=junos-pptp, service type=69, alg id=69, timeout=1800
tcp port=1731, appl_name=junos-h323, service type=0, alg id=0, timeout=1800
tcp port=1863, appl_name=junos-msn, service type=41, alg id=0, timeout=1800
tcp port=2000, appl_name=junos-sccp, service type=71, alg id=71, timeout=1800
tcp port=2049, appl_name=junos-nfsd-tcp, service type=0, alg id=0, timeout=1800
tcp port=2401, appl_name=junos-cvspserver, service type=0, alg id=0, timeout=1800
tcp port=3220, appl_name=junos-xnm-ssl, service type=0, alg id=0, timeout=1800
tcp port=3221, appl_name=junos-xnm-clear-text, service type=0, alg id=0, timeout=1800
tcp port=3478, appl_name=junos-stun, service type=0, alg id=0, timeout=1800
tcp port=3479, appl_name=junos-stun, service type=0, alg id=0, timeout=1800
tcp port=3578, appl_name=junos-wxcontrol, service type=0, alg id=0, timeout=7560
tcp port=5050, appl_name=junos-ymsg, service type=33, alg id=0, timeout=1800
tcp port=5060, appl_name=junos-sip, service type=63, alg id=63, timeout=1800
tcp port=5190, appl_name=junos-aol, service type=36, alg id=0, timeout=1800
tcp port=5191, appl_name=junos-aol, service type=36, alg id=0, timeout=1800
tcp port=5192, appl_name=junos-aol, service type=36, alg id=0, timeout=1800
tcp port=5193, appl_name=junos-aol, service type=36, alg id=0, timeout=1800
tcp port=5800, appl_name=junos-vnc, service type=40, alg id=0, timeout=1800
tcp port=6000, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6001, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6002, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6003, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6004, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6005, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6006, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6007, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6008, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6009, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6010, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6011, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6012, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6013, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6014, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6015, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6016, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6017, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6018, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6019, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6020, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6021, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6022, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6023, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6024, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6025, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6026, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6027, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6028, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6029, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6030, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6031, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6032, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
tcp port=6033, appl_name=junos-x-windows, service type=0, alg id=0, timeout=1800
(这里列出所有tcp的应用,我们省略)
FLOWD_VSRX(ONE-TOM vty)#