Microsoft ES4649 Manual Do Utilizador

Página de 674
System Management Commands
4-43
4
• When an RSA key is displayed, the first field indicates the size of the host key 
(e.g., 1024), the second field is the encoded public exponent (e.g., 35), and 
the last string is the encoded modulus. When a DSA key is displayed, the first 
field indicates that the encryption method used by SSH is based on the Digital 
Signature Standard (DSS), and the last string is the encoded modulus.
Example 
Event Logging Commands 
logging on
This command controls logging of error messages, sending debug or error 
messages to switch memory. The no form disables the logging process.
Syntax 
[no] logging on
Console#show public-key host
Host:
RSA:
1024 65537 13236940658254764031382795526536375927835525327972629521130241
0719421061655759424590939236096954050362775257556251003866130989393834523
1033280214988866192159556859887989191950588394018138744046890877916030583
7768185490002831341625008348718449522087429212255691665655296328163516964
0408315547660664151657116381
DSA:
ssh-dss AAAB3NzaC1kc3MAAACBAPWKZTPbsRIB8ydEXcxM3dyV/yrDbKStIlnzD/Dg0h2Hxc
YV44sXZ2JXhamLK6P8bvuiyacWbUW/a4PAtp1KMSdqsKeh3hKoA3vRRSy1N2XFfAKxl5fwFfv
JlPdOkFgzLGMinvSNYQwiQXbKTBH0Z4mUZpE85PWxDZMaCNBPjBrRAAAAFQChb4vsdfQGNIjw
bvwrNLaQ77isiwAAAIEAsy5YWDC99ebYHNRj5kh47wY4i8cZvH+/p9cnrfwFTMU01VFDly3IR
2G395NLy5Qd7ZDxfA9mCOfT/yyEfbobMJZi8oGCstSNOxrZZVnMqWrTYfdrKX7YKBw/Kjw6Bm
iFq7O+jAhf1Dg45loAc27s6TLdtny1wRq/ow2eTCD5nekAAACBAJ8rMccXTxHLFAczWS7EjOy
DbsloBfPuSAb4oAsyjKXKVYNLQkTLZfcFRu41bS2KV5LAwecsigF/+DjKGWtPNIQqabKgYCw2
o/dVzX4Gg+yqdTlYmGA7fHGm8ARGeiG4ssFKy4Z6DmYPXFum1Yg0fhLwuHpOSKdxT3kk475S7
w0W
Console#
Table 4-17   Event Logging Commands
Command
Function
Mode
Page
logging on 
Controls logging of error messages
GC
logging history 
Limits syslog messages saved to switch memory based on 
severity 
GC
logging host
Adds a syslog server host IP address that will receive logging 
messages 
GC
logging facility
Sets the facility type for remote logging of syslog messages 
GC
logging trap
Limits syslog messages saved to a remote server based on 
severity 
GC
clear log
Clears messages from the logging buffer 
PE
show logging 
Displays the state of logging 
PE
show log
Displays log messages
PE