![Allen-Bradley Stratix 5900 Services Скачать руководство пользователя страница 67](http://html.mh-extra.com/html/allen-bradley/stratix-5900-services/stratix-5900-services_user-manual_2900531067.webp)
Rockwell Automation Publication 1783-UM005A-EN-P - September 2013
67
Configure the Stratix 5900 Services Router by Using CISCO IOS Command-line Interface (CLI)
Chapter 4
Switch(config-if)# ip address 10.10.10.1
255.255.255.248
Switch(config-if)# no shutdown
Switch(config-if)# exit
If you are going to connect the computer directly to the switch, the
computer must be on the same subnet as this interface.
7.
Configure the switch as an http server for nonsecure communication, or as
an https server for secure communication.
To configure the switch as an http server, enter the ip http server command
shown in the example:
Switch(config)# ip http server
To configure the switch as an https server, enter the ip http secure-server
command shown in the example:
Switch(config)# ip http secure-server
8.
Configure the switch for local authentication, by entering the ip http
authentication local command, as shown in the example:
Switch(config)# ip http authentication local
9.
Configure the http timeout policy as shown in the example:
Switch(config)# ip http timeout-policy idle 60
life 86400 requests 10000
10.
Configure the vty lines for privilege level 15.
•
For nonsecure access, enter the
transport input telnet
command.
•
For secure access, enter the
transport input ssh
command.
An example of these commands follows:
Switch(config)# line vty 0 4
Switch(config-line)# privilege level 15
Switch(config-line)# login local
Switch(config-line)# transport input telnet
Switch(config-line)# transport output telnet
Switch(config-line)# transport input telnet
ssh