Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
RouteMagic Controller
RMC-MP200 / MP1200
- Version 3.0 -
RMC-02-007 08/2003
RMC RouteMagic
RouteMagic Controller
Version 3.0
RMC Version 3.0
RMC
http://www.routrek.co.jp
RMC
RouteMagic Controller MP1200 / MP200
RMC
MP1200 MP200
RouteMagic Controller MP1200 / MP200
RMC RMC
RMC
RMC
RouteMagic Controller
RouteMagic Controller( RMC)
enable
{ }
set mailto {mail_address}
[ ]
set [no] exec
set exec set no exec
set date {MMDDhhmm[YYYY]}
MMDDhhmm
YYYY
|
set speed { 2400|4800|9600|19200|38400 }
2400bps 38400bps 5
1
set hostname {hostname}
”rmc10”(RMC ) ”hostname”
set port {comN|mlN|ethN }
”com1”, “com2”, “ml0”, “eth0”
set parity { none|odd|even }
“none”, “odd”, “even”
1 ___________________________________________1
2 __________________________________6
3 ______________________________10
4 ____________________________________11
5 ______________________________14
6 IP ________________________________________16
7 SSH(Secure SHell) ____________________________18
8 _____________________19
9 _____________________________________________21
10 _________________________________________22
11 _________________________________24
12 ____________________________25
13 _______________________________26
14 connect ___________________27
15 ___________________________________28
16 Cisco ________________________30
17 RMC ________________________31
18 _____________________________32
19 __________________33
____________________________________ 34
1
1
1
connect
connect {comN }
set connect-users
'ctrl ¥' 'x'
14 connect
copy copy {from} {to}
“running-config”(
), “startup-config” ( ), “tftp”(tftp ),
“terminal”( ), “log:comN”( from
), “xmodem [-c]”(XMODEM ) 6
“copy running-config tftp” tftp
”copy log:com1 xmodem” COM1
XMODEM
xmodem from "-c"
CRC
disconnect disconnect {comN}
enableenable
disable disable
exit exit
RMC logout
quit quit
RMC logout
reload
reload [-f]
RMC
"-f"
shutdown
shutdown [-f]
RMC
"-f"
1
2
upgrade
upgrade {tftp|xmodem [-c]|zmodem}
“tftp”
tftp xmodem/
zmodem
xmodem "-c" CRC
write erase
write erase
RMC
write log write log
write memory write memory
RMC
clear log clear log {comN}
set [no] banner
set banner [text]
RMC
set no banner
set date
set date {MMDDhhmm[YYYY]}
RMC
MM DD hh mm YYYY
show date show date
RMC
set timezone
set timezone [zonename]
RMC
12 RMC
JST( )
set lang
set lang {en-ascii|ja-euc|ja-sjis}
RMC
en-ascii( ), ja-euc( EUC), ja-sjis(
JIS)
set escape-character
set escape-character {character}
connect
'ctrl ?' 'control ?' '?' 1 'esc'
'ctrl ¥'
1
3
set [no] exec-timeout
set exec-timeout {N}
N
3 connect
set no exec-timeout
set exec-timeout 0
set enable-password set enable-password
RMC
set [no] port
set port {port_name}
10
set no port
CTRL-Z
show port
show port {port_name}
10
endend
CTRL-Z
set [no] options
set options {option1} [option2] ...
RMC
11
set no options{option1} [option2] ...
set [no] prompt
set prompt
write
memory
set no prompt
1
4
set [no] terminal
set terminal [{N} {N}]
Enter
'Q'
write
memory
set no terminal
set [no] spy
set spy {comN|rmc|targetN} [tflN] {comN|mlN|terminal}
”set spy com1 ml1”
com1 ml1( 1)
2 com
tflN
set no spy {comN|rmc|targetN} [tflN] [comN|mlN|terminal]
set spy 2,3 1
spy
show spy show spy
set spy
set [no] user-name
set user-name {login_name} [password]
RMC
set no user-name {login_name}
show user-names show user-names
RMC
set user-password set user-password {login_name} {password}
show users show users
show configuration
show configuration [system|serial|ether|mail|mailport|ip]
RMC
copy startup-config terminal
1
5
show running-config
show running-config [system|serial|ether|mail|mailport|ip]
RMC
copy running-config terminal
show memory show memory
show tech-support
show tech-support [N]
N
50
show version
show version
RMC MAC
CPU
2
6
2
set port com1, com2, ...
set csize set csize {5|6|7|8}
8
set flowcontrol
set flowcontrol {none|software|hardware}
(XON/OFF)
(RTS/CTS)
none
set parity set parity { none|odd|even }
none
set speed
set speed { 2400|4800|9600|19200|38400 |57600|115200}
9600
set stopbits set stopbits {1|2}
1
set [no] description
set description [text]
show port
set no description
set [no] exec
set exec
RMC-MP200 COM2, RMC-MP1200 COMA
set no exec
set [no] modem
set modem [modem_name] [tone|pulse|none] [modem_init_string]
"'generic tone"
"custom"
AT
RMC-MP200 COM2, RMC-MP1200 COMB
set no modem
set exec
2
7
set [no] ppp-username
set ppp-username {name} {password} {phone_number}
PPP
set no ppp-username {name}
PPP
set [no] ppp-server
set ppp-server {rmc_pppaddress} {client_pppaddress}
RMC PPP PPP
RMC PPP PPP
set no ppp-server
RMC PPP
set [no]
target-login-name
set target-login-name {login_name}
set no target-login-password
RMC
set [no]
target-login-password
set target-login-password {password}
set no target-login-password
RMC
set [no]
target-enable-password
set target-enable-password {password}
set no target-enable-password
RMC
set [no] connect-log
set connect-log
connect ”targetN”
set no connect-log
connect
No ( )
set [no] connect-users
set connect-users {login_name} [login_name]...
connect
connect
set no connect-users
connect
connect
set no connect-users
2
8
set [no]
network-info-time
set network-info-time {h [,h] } {m[,m] }
”targetN”
1 , 2
“8,20 00,30” 8 00 8 30
20 00 20 30
set no network-info-time
set [no] target-check
set target-check [N]
”targetN”
N N N
15
set no target-check
set [no]
target-ping-check
set target-ping-check {address} [interval [count [min]]
ping
com
"targetN"
address IP
interval interval
interval 5
count 1 ping
3 min ping count
min
min ping
set no target-check
ping
2
9
set target-type
set target-type {cisco|custom|user_target} [arg1] [arg2] [arg3] [arg4]
RMC
”cisco”
set user-target-type
set target-filter, set target-script
2
”custom” Ver2.0
set script
com
set [no] script
set script {login|network-info|target-check}
Ver2.0 Ver2.1
set target-script
CTRL D
RMC
(target-type) ”custom”
:
login:
network-info:
target-check: (
)
set no script {login|network-info|target-check}
3
10
3
set port com1, com2, ...
set [no] address
set address {IP_address} {net_mask} [default_gateway]
IP
eth0
set address auto
IP
set dhcp DHCP
RMC-MP200
set no address
set address
IP
set [no]
broadcast-address
set broadcast-address {broadcast_address}
set no broadcast-address
DHCP DHCP
set [no] dhcp
set dhcp [timeout]
DHCP
10 set address
eth0
set no dhcp
DHCP
set speed
set speed {auto|10|100} [full|half]
(auto negotiation / 10BaseT /
100BaseTx ) (full) (half)
RMC-MP1200
4
11
4
set [no] filter-list
set filter-list {flN} [filter_pattern]
Ver2.0
Ver2.1 set target-filter
1 2
2
fl0, fl1, fl2, fl3 Cisco ( )
14
set no filter-list {flN}
set [no] keep-alive-time
set keep-alive-time {h [,h] } {m[,m] }
rmc 1 , 2
8,20 00,30 8 00 8 30 20 00
20 30
RMC
set no keep-alive-time
set [no]
mail-certification
set mail-certification
RMS(RouteMagic Server)
RES RMS PGP
set no mail-certification
RMS
set [no] mail-origin
set mail-origin {domain_name}
RMC "From"
set no mail-origin
( )
RMC "From" ”rmc@[IP
]”
set [no] mail-relayhost
set mail-relayhost {relayhost}
( )
( )
set no mail-relayhost
4
12
set [no] mail-service
set mail-service
set no mail-service
No
set [no] public-key
set public-key
PGP
CTRL D set mailto
ID
set no public-key {key_id}
ID( ) PGP
show public-keys show public-keys
RMC PGP
show key-list show key-list
RMC PGP
show mail
show mail
RMC
set [no] pop-username
set pop-username {name} {password} {server_name}
POP
set no pop-username
POP
set [no] pop-before-smtp
set pop-before-smtp [N]
POP N POP
1
set no pop-before-smtp
POP ( )
mail-pop
mail-pop
POP
set pop-username POP
set [no] pop-interval
set pop-interval {N}
POP N 5 1500
set pop-before-smtp
POP
set no pop-interval
POP ( )
4
13
mail-test
mail-test [setupinfo] {ml0|ml1...ml7}
set no mail-service
1 ”setupinfo”
”Setup information”
set [no] mail-subject
set mail-subject {keep-alive|network-info| operation-log|rmc-message| setup-info|target-message| target-responds| target-not-respond} [text]
RMC
1
2 2
15 16
set no mail-subject {keep-alive|network-info| operation-log|rmc-message| setup-info|target-message| target-responds| target-not-respond}
RMC
16
5
14
5
set port (ml0, ml1…)
hook [no]
hook {[!]fl0…[!]fl7} [[!]fl0…[!]fl7]...
Ver2.0
Ver2.1 spy
”!”
hook no
set [no] mailto
set mailto { mail_address }
set no mailto
set [no] errors-to
set errors-to {mail_address}
set no errors-to
set [no] inactivity-timer
set inactivity-timer {N}
max-nmr-of-chars
max-nmr-of-lines
(N ) 10
set no inactivity-timer
(set inactivity-timer 0 )
5
15
set [no] mail-encryption
set mail-encryption [res]
PGP set public-key
ID PGP
res
(RES:Routrek Encryption Scheme) RMS(RouteMagic
Server)
ml0 RMS
RMS POP
set no mail-encryption
No ( )
set max-nmr-of-chars
set max-nmr-of-chars {N}
1
(N) 64,000
set max-nmr-of-lines set max-nmr-of-lines {N}
1 (N)
1,000
6 IP
16
6 IP
set [no] access-list
set access-list {allow|deny} {smtp|snmp|ssh|telnet |tftp|connect-port|all} {IP_address[/mask][,IP_address/mask]}
RMC TCP IP allow
deny smtp( ),
snmp, ssh, telnet, tftp, connect-port 'connect-port' set
connect-port 'all'
IP '192.168.0.1' '192.168.0.0/24' (192.168.0.
) ‘ ,’
IP
' 0.0.0.0 '
( )
set no access-list {allow|deny} {smtp|snmp|ssh|telnet|tftp|connect-port|all } {IP_address[/mask][,IP_address/mask]}
show access-list show access-list
set arp
set arp {xx.xx.xx.xx}{yy:yy:yy:yy:yy:yy}
ARP
1 IP 2 MAC
show arp show arp
ARP
clear arp clear arp {xx.xx.xx.xx}
IP ARP
set connect-port
set connect-port {port_number}
telnet RMC
com1 " +1" com2 "
+N-1" comN
set no connect-port
telnet RMC
set [no] domain-name
set domain-name {domain_name}
RMC
set no domain-name
6 IP
17
set hostname set hostname {hostname}
RMC
show hostname show hostname
RMC
set [no] hosts
set hosts {hostname} {xx.xx.xx.xx}
DNS IP
set no hosts {hostname}
show hosts show hosts
IP
set [no] name-servers
set name-servers {xx.xx.xx.xx}[yy.yy.yy.yy]
Primary (xx.xx.xx.xx) Secondary (yy.yy.yy.yy)
IP
set no name-servers {xx.xx.xx.xx}
set [no] ntp-server
set ntp-server {ntp_server}
RMC NTP
NTP
set no ntp-server
NTP
set snmp-community
set snmp-community {community}
snmp
set no snmp-community
snmp
set snmp-traps
set snmp-traps {host_name} {community}
snmp
set no snmp-traps
snmp
show tcp show tcp
TCP
7 SSH(Secure SHell)
18
7 SSH(Secure SHell)ssh ”ssh” 9
set ssh-protocol
set ssh-protocol {ssh1|ssh2}...
ssh
set ssh-authentication
set ssh-authentication {password|public-key}...
ssh password:
public-key: 2
set [no] ssh-public-key
set ssh-public-key
ssh
ssh
CTRL D
set no ssh-public-key {key_id}
ID( ) ssh
show ssh-public-keys
show ssh-public-keys
RMC ssh
show ssh-key-listshow ssh-key-list
RMC ssh
show ssh-hostkeyshow ssh-hostkey
RMC ssh
8
19
8
set [no] user-target-type
set user-target-type {target_type}
( : “unix-server”)
set target-type
com
set no user-target-type {target_type}
set [no] target-filter
set target-filter {target_type} {tflN}
tfl0~7 8
awk CTRL D
spy (set spy comN tflN mlN )
”cisco” tfl0 RMS
set no target-filter {target_type} {tflN}
show target-filter show target-filter {target_type} [tflN]
set [no] target-script
set target-script {target_type} {command|login|network-info|target-check}
CTRL D
RMC
command RMS
login
network-info
target-check (
)
”cisco” network-info
set no target script {target_type}{command|login|network-info|target-check}
show target-script show target-script {target_type} [command|login|network-info|target-check]
8
20
script-test
script-test {comN} {command|login|network-info|target-check}
set target-type COM
COM ”cisco”
filter-test
filter-test {target_type} {tflN}
Enter
">"
Ctrl D
target-test target-test {comN}[target-check|target-ping-check|network-info]
9
21
9
hosthost {host_name}
DNS
ping ping {host_name}
traceroute traceroute {host_name}
ppp-on ppp-on
PPP (PPP )
ppp-off ppp-off
PPP (PPP )
telnet
telnet {host_name} [port]
set options client=telnet
'ctrl ]'
'e'
ssh
ssh [-2dv] {[user@] host_name } [port]
"-2" SSH2 "-d"
"-v"
set options client=ssh
'~' '.'
10
22
10
com1, com2, COM1 COM2
MP200 COM2 MP1200 COM12
coma, comb COMA COMB
MP1200
ml0,ml1,MP200 ml7 MP1200 ml15
eth0, eth1 (MP200 eth0 ) eth1
rmcRMC
”set spy rmc < >”
target1, target2,
com1, com2,
”set spy targetN < >”
terminal
set spy com1 terminal com1
connect
com1, com2, COM1 COM2
MP200 COM2 MP1200 COM12
set port
com1, com2, COM1 COM2
MP200 COM2 MP1200 COM12
coma, comb COMA COMB
MP1200
ml0,ml1,MP200 ml7 MP1200 ml15
eth0, eth1 (MP200 eth0 )
show port
com1, com2, COM1 COM2
MP200 COM2 MP1200 COM12
coma, comb COMA COMB
MP1200
ml0,ml1,MP200 ml7 MP1200 ml15
eth0, eth1 (MP200 eth0 )
10
23
set spy
com1, com2, tfl0 ~ tfl7 ml0, ml1
com
2 tflN
:
set target-filter
com1, com2, tfl0 ~ tfl7 com1, com2
com com
2 tflN
:
set target-filter
com1, com2, terminal com
rmc ml0, ml1
RMC
:
set keep-alive-time
target1, target2, ml0, ml1
com1, com2, ...
:
set network-info-time,
set target-check,
set connect-log
11
24
11
set options
autohalt (MP1200 )
client=telnet,ssh telnet/ssh
disp=noip LED/LCD IP
linemax=[100-950] 1 ( 250 )
mlcharset=iso2022 ISO2022(JIS)
pppinterval=<0-9999> PPP ( 300 )
pppmail PPP
pppretry=<0-9>[,<0-99>] PPP ( 2 40 )
swlock
12
25
12
EnterEnter
"show run" Enter "show running-config"
Ctrl I
Tab "ena" Tab "enable" ( )
" "
"set ?" set
Ctrl B, 1
Ctrl F, 1
Ctrl A
Ctrl E
Ctrl D 1
Ctrl H
BackSpace 1
Ctrl K
Ctrl C
(Ver2.1 )
Ctrl U
Ctrl P, 1
Ctrl N, 1
Ctrl Z
(Ver2.1 )
13
26
13
g, <
G, >
p(0 100)
b, C b
u, C u
k, C k, y, C y,
C p
j, C j, e, C e,
C n, CR
d, C d
f, C f, C v, SP
/<string>
?<string>
n
N
q, Q
14 connect
27
14 connect
x disconnect RMC
b
?
t
Ctrl 1
15
28
15
TCP/IP set access-list
set escape-character
RMC 3 set exec-timeout
RMC set password
RMC set enable-password
set target-login-password
set target-enable-password
8bits set csize
none set parity
9600 bps
(comb 38400bps) set speed
1 bit set stopbits (com1 com12
comA comB)
none (comb hardware) set flowcontrol
DHCP (eth0 ) set dhcp
eth0(DHCP )IP
eth1
set address
auto ( ) set speed
set broadcast-address
No set mail-service
1 set mailto
set errors-to
64000 , 10000set max-nmr-of-chars
set max-nmr-of-lines
10 set inactivity-timer
set mail-encryption
(ml0 )
2 hook
fl0 RMS %[-a-zA-Z0-9_] -[0-7]
fl1 %[-a-zA-Z0-9_] -[0-2]
fl2 %[-a-zA-Z0-9_] -[3-5]
fl3 %[-a-zA-Z0-9_] -[6-7]
2
fl4 ~ fl7
set filter-list
15
29
RMS set mail-certification
'From' ( [IP ] ) set mail-origin
set mail-relayhost
POP ( ) set pop-interval
POP set pop-before-smtp
set spy rmc ml0, 3
set spy target1,2... ml0 set spy
RMC set keep-alive-time
( ) set network-info-time
set target-check
set connect-log
RMC (DHCP ) set domain-name
RMC rmc set user-name
RMC myrmc set hostname
(DHCP ) set name-servers
NTP set ntp-server
SNMP set snmp-community
SNMP set snmp-trap
ssh SSH1, SSH2 set ssh-protocol
ssh set ssh-authentication
4 set prompt
set terminal
(ASCII) set lang
JST ( ) set timezone
1 RMS RouteMagic Server ml0 RMS
2 Ver2.0
3 RMS
4
16 Cisco
30
16 Cisco
tfl0 / RMS %[-a-zA-Z0-9_] -[0-7]
tfl1 %[-a-zA-Z0-9_] -[0-2]
tfl2 %[-a-zA-Z0-9_] -[3-5]
tfl3 %[-a-zA-Z0-9_] -[6-7]
2
tfl4 ~ tfl7
set target-filter
cisco tflN
network-info
show version
enable 2
show config 2
write terminal 2
show interface
show stack
show buffers
show controllers
show process
show ip route 2
show ip traffic
show ip interface
disable
set target-script
cisco network-info
1 RMS RouteMagic Server
set spy comN tfl0 ml0
2 RMS
17 RMC
31
17 RMC
CST6CDT
EST5EDT
JST ( )
KST
MST7MDT
PST8PDT
UCT Universal Coordinated Time
GMT
GMT N
18
32
18
RMC
set mail-subject
set mail-subject
16
Target message com spy
RMC message RMC
mail-test
Network information
Cisco
set network-info-time set spy targetN mlN
Target operation log set connct-log
connect comN set spy targetN mlN
Target not respond set target-check
set spy targetN mlN
Target responds set spy targetN mlN
RMC keep-alive
RMC
set keep-alive-time set [no] keep-alive-time
set spy rmc mlN
Setup information
RMC
RMC
set spy rmc mlN
19
33
19
RMC set mail-subject
set mail-subject
Target message target-message %m(%n): Target message(%c)
RMC message rmc-message %m(%n): RMC message
Network information network-info %m(%n): Network information(%c)
Target operation log operation-log %m(%n): Target operation log(%c)
Target not respond target-not-respond %m(%n):Target not respond(%c)
Target responds target-responds %m(%n):Target responds(%c)
RMC keep-alive keep-alive %m(%n): RMC keep-alive
Setup information setup-info %m(%n): Setup information
set mail-subject
%bset banner
set banner
%c Target message Network information Target operation log Target responds Target not
respond
%d
set description
Target message Network information Target operation log Target responds Target not
respond
set description
%m
%n
%r RMC set hostname
clear arp ........................................................... 16
clear log.............................................................. 2
connect ............................................................... 1
copy .................................................................... 1
disable ................................................................ 1
disconnect .......................................................... 1
enable ................................................................. 1
end...................................................................... 3
exit...................................................................... 1
filter-test .......................................................... 20
hook [no]........................................................... 14
host................................................................... 21
mail-pop ........................................................... 12
mail-test ........................................................... 13
ping................................................................... 21
ppp-off .............................................................. 21
ppp-on .............................................................. 21
quit ..................................................................... 1
reload ................................................................. 1
script-test ......................................................... 20
set [no] target-login-password........................ 7
set [no] access-list ............................................ 16
set [no] address................................................ 10
set [no] banner................................................... 2
set [no] broadcast-address............................... 10
set [no] connect-log ............................................ 7
set [no] connect-users ........................................ 7
set [no] description ............................................ 6
set [no] dhcp..................................................... 10
set [no] domain-name ...................................... 16
set [no] errors-to .............................................. 14
set [no] exec........................................................ 6
set [no] exec-timeout.......................................... 3
set [no] filter-list ...............................................11
set [no] hosts .................................................... 17
set [no] inactivity-timer................................... 14
set [no] keep-alive-time ....................................11
set [no] mail-certification .................................11
set [no] mail-encryption .................................. 15
set [no] mail-origin ...........................................11
set [no] mail-relayhost......................................11
set [no] mail-service ........................................ 12
set [no] mail-subject ........................................ 13
set [no] mailto .................................................. 14
set [no] modem................................................... 6
set [no] name-servers ...................................... 17
set [no] network-info-time................................. 8
set [no] ntp-server ........................................... 17
set [no] options................................................... 3
set [no] pop-before-smtp.................................. 12
set [no] pop-interval ........................................ 12
set [no] pop-username ..................................... 12
set [no] port........................................................ 3
set [no] ppp-server............................................. 7
set [no] ppp-username....................................... 7
set [no] prompt .................................................. 3
set [no] public-key ........................................... 12
set [no] script ..................................................... 9
set [no] spy......................................................... 4
set [no] ssh-public-key..................................... 18
set [no] target-check .......................................... 8
set [no] target-enable-password........................ 7
set [no] target-filter ......................................... 19
set [no] target-login-name................................. 7
set [no] target-ping-check.................................. 8
set [no] target-script........................................ 19
set [no] terminal ................................................ 4
set [no] user-name ............................................. 4
set [no] user-target-type.................................. 19
set arp .............................................................. 16
set connect-port ............................................... 16
set csize .............................................................. 6
set date............................................................... 2
set enable-password .......................................... 3
set escape-character .......................................... 2
set flowcontrol.................................................... 6
set hostname.................................................... 17
set lang............................................................... 2
set max-nmr-of-chars ...................................... 15
set max-nmr-of-lines ....................................... 15
set parity............................................................ 6
set snmp-community ....................................... 17
set snmp-traps ................................................. 17
set speed....................................................... 6, 10
set ssh-authentication ..................................... 18
set ssh-protocol ................................................ 18
set stopbits ......................................................... 6
set target-type.................................................... 9
set timezone ....................................................... 2
set user-password .............................................. 4
show access-list................................................ 16
show arp........................................................... 16
show configuration ............................................ 4
show date ........................................................... 2
show hostname ................................................ 17
show hosts........................................................ 17
show key-list .................................................... 12
show mail ......................................................... 12
show memory ..................................................... 5
show port............................................................ 3
show public-keys.............................................. 12
show running-config .......................................... 5
show spy............................................................. 4
show ssh-hostkey............................................. 18
show ssh-key-list ............................................. 18
show ssh-public-keys....................................... 18
show target-filter............................................. 19
show target-script............................................ 19
show tcp ........................................................... 17
show tech-support ............................................. 5
show user-names ............................................... 4
show users ......................................................... 4
show version ...................................................... 5
shutdown ........................................................... 1
ssh .................................................................... 21
target-test ........................................................ 20
telnet ................................................................ 21
traceroute......................................................... 21
upgrade .............................................................. 2
write erase ......................................................... 2
write log ............................................................. 2
write memory..................................................... 2
http://www.routrek.co.jp/support/
Copyright©2003 All rights reserved.
RouteMagic