Cisco change ssh default port

How to change cisco default port :

g1r5_router(config)#ip ssh port 2000 rotary 1
g1r5_router(config)#line  vty 0 4 
g1r5_router(config-line)#rotary 1
g1r5_router(config-line)#end
g1r5_router#copy running-config startup-config
Destination filename [startup-config]? 
Building configuration...
[OK]

Now lets try it:

[13:16]vhristev@g1r5:~$uname -a
Darwin g1r5 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 i386
[13:16]vhristev@g1r5:~$ssh 192.168.0.1 -p 2000 
vhristev@192.168.0.1's password: 
 
g1r5_router>en
Password: 
g1r5_router#sh ver 
Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(13b), RELEASE SOFTWARE (fc3)
Categories: Всичко друго Tags:
Автор
Вижте всички статии от
Този автор е написал 13 статии