Để có thể truy cập vào router dùng SDM, các bạn thực hiện các bước như sau:
Follow the instructions below to configure a router to run SDM.
Step 1:
1. Connect to your router using Telnet, SSH or via console.
2. Enter the global configuration mode using the command:
Step 2 :
Step 3:
Create a user with privilege level 15.
[Code]
Router(config)# username <username> privilege 15 password 0 <password>
Note:- Replace <username> and <password> with the username and password that you want to configure.
[Code]
Step 4:
Configure SSH and Telnet for local login and privilege level 15:
Step 5: (Optional) Enable local logging to support the log monitoring function:
Chú ý là các bạn phải tạo thêm một user có level 15.
Follow the instructions below to configure a router to run SDM.
Step 1:
1. Connect to your router using Telnet, SSH or via console.
2. Enter the global configuration mode using the command:
Code:
Router>enable Router#conf terminal Router(config)#
Code:
Enable the router's HTTP/HTTPS server, using the following Cisco IOS commands: Router(config)# ip http server Router(config)# ip http secure-server Router(config)# ip http authentication local Note:- HTTPS is enabled only for crypto enabled IOS images.
Create a user with privilege level 15.
[Code]
Router(config)# username <username> privilege 15 password 0 <password>
Note:- Replace <username> and <password> with the username and password that you want to configure.
[Code]
Step 4:
Configure SSH and Telnet for local login and privilege level 15:
Code:
Router(config)# line vty 0 4 Router(config-line)# privilege level 15 Router(config-line)# login local Router(config-line)# transport input telnet Router(config-line)# transport input telnet ssh Router(config-line)# exit
Code:
Router(config)# logging buffered 51200 warning