Cisco Configuration Professional: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Connect to your router using Telnet, SSH, or through the console.= Enter global configuration mode using this command: Router(config)#enable …“)
 
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 5: Zeile 5:
 
         Router(config)#
 
         Router(config)#
  
=If HTTP and HTTPS are enabled and configured to use nonstandard port numbers, you can skip this step and simply use the port number already configured.=
+
If HTTP and HTTPS are enabled and configured to use nonstandard port numbers, you can skip this step and simply use the port number already configured.
Enable the router HTTP or HTTPS server using these Cisco IOS Software commands:
+
=Enable the router HTTP or HTTPS server using these Cisco IOS Software commands:=
 
         Router(config)# ip http server
 
         Router(config)# ip http server
 
         Router(config)# ip http secure-server
 
         Router(config)# ip http secure-server
Zeile 13: Zeile 13:
 
=Create a user with privilege level 15:=
 
=Create a user with privilege level 15:=
 
         Router(config)# username <username> privilege 15 password 0 <password>
 
         Router(config)# username <username> privilege 15 password 0 <password>
 
+
Note: Replace <username> and <password> with the username and password that you want to configure. Do not use the same password for your user and enable passwords.
    Note: Replace <username> and <password> with the username and password that you want to configure. Do not use the same password for your user and enable passwords.
+
=Configure SSH and Telnet for local login and privilege level 15.=
 
 
    Configure SSH and Telnet for local login and privilege level 15.
 
 
 
 
         Router(config)# line vty 0 4
 
         Router(config)# line vty 0 4
 
         Router(config-line)# privilege level 15
 
         Router(config-line)# privilege level 15
         Router(config-line)# login local
+
         Router(config-line)# login local   # FUNKTIONIERT BEIM 2651XM NICHT
 
         Router(config-line)# transport input telnet
 
         Router(config-line)# transport input telnet
 
         Router(config-line)# transport input telnet ssh
 
         Router(config-line)# transport input telnet ssh
 
         Router(config-line)# exit
 
         Router(config-line)# exit
 
+
=(Optional) Enable local logging to support the log monitoring function:=
    (Optional) Enable local logging to support the log monitoring function:
 
 
 
 
         Router(config)# logging buffered 51200 warning
 
         Router(config)# logging buffered 51200 warning

Aktuelle Version vom 26. Januar 2016, 10:22 Uhr

Connect to your router using Telnet, SSH, or through the console.

Enter global configuration mode using this command:

       Router(config)#enable
       Router(config)#

If HTTP and HTTPS are enabled and configured to use nonstandard port numbers, you can skip this step and simply use the port number already configured.

Enable the router HTTP or HTTPS server using these Cisco IOS Software commands:

       Router(config)# ip http server
       Router(config)# ip http secure-server
       Router(config)# ip http authentication local

Create a user with privilege level 15:

       Router(config)# username <username> privilege 15 password 0 <password>

Note: Replace <username> and <password> with the username and password that you want to configure. Do not use the same password for your user and enable passwords.

Configure SSH and Telnet for local login and privilege level 15.

       Router(config)# line vty 0 4
       Router(config-line)# privilege level 15
       Router(config-line)# login local   # FUNKTIONIERT BEIM 2651XM NICHT
       Router(config-line)# transport input telnet
       Router(config-line)# transport input telnet ssh
       Router(config-line)# exit

(Optional) Enable local logging to support the log monitoring function:

       Router(config)# logging buffered 51200 warning