(메모장)
R1>enable
Password:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#hostname SecureRouter
SecureRouter(config)#aaa new-model
SecureRouter(config)#username cisco password 0 cisco
SecureRouter(config)#line vty 0 4
SecureRouter(config-line)#transport input ssh
SecureRouter(config-line)#ip domain-name rtp.cisco.com
SecureRouter(config)#crypto key generate rsa
The name for the keys will be: SecureRouter.rtp.cisco.com
Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
SecureRouter(config)#ip ssh time-out 60
SecureRouter(config)#ip ssh authentication-retries 2
SecureRouter(config)#int f0/0
SecureRouter(config-if)#ip address 10.13.1.99 255.255.255.0
SecureRouter(config-if)#
'IT운영 > 네트워크' 카테고리의 다른 글
[네트워크] 스위치/라우터 show 명령어 참고 (0) | 2024.06.07 |
---|---|
[네트워크] VLAN 및 트렁킹 특징 및 차이 (0) | 2024.06.01 |
[네트워크] 자주 사용하는 show 명령어 (0) | 2024.05.21 |
[네트워크] TCP/IP 프로토콜 스택 (TCP/IP 4계층) (0) | 2024.05.20 |
[네트워크] TCP, UDP 특징 및 차이점 (0) | 2024.05.20 |