![Allen-Bradley Stratix 5900 Services Скачать руководство пользователя страница 68](http://html.mh-extra.com/html/allen-bradley/stratix-5900-services/stratix-5900-services_user-manual_2900531068.webp)
68
Rockwell Automation Publication 1783-UM005A-EN-P - September 2013
Chapter 4
Configure the Stratix 5900 Services Router by Using CISCO IOS Command-line Interface (CLI)
Switch(config-line)# transport output telnet
ssh
Switch(config-line)# exit
Switch(config)# line vty 5 15
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
Switch(config-line)# transport output telnet
ssh
Switch(config-line)# end
Pay particular attention to how the command prompt changes as you navigate
through the IOS CLI hierarchy. Notice that the global parameters are configured
at the global configuration level (indicated by the ‘Router(config)#’ prompt)
whereas the interface specific commands are entered after switching to the
particular interface (indicated by the ‘Router(config-if )#’ prompt). Global
parameters and interface parameters are discussed further in
Display
Configurations on page 72
.
Router> enable - switches to privileged EXEC level
Router# configure terminal - switches to global
configuration level
Router(config)# enable secret cisco - configures
router with an enable secret (global)
Router(config)# ip route 0.0.0.0 0.0.0.0 20.2.2.3
- configures a static IP route (global)
Router(config)# interface ethernet0 - switches to
configure the ethernet0 interface
Router(config-if)# ip address 10.1.1.1 255.0.0.0 -
configures an IP address on ethernet0 (interface)
Router(config-if)# no shutdown - activates
ethernet0 (interface)
Router(config-if)# exit - exits back to global
configuration level
Router(config)# interface serial0 - switches to
configure the serial0 interface