Zoebir Bong | Hi Carl,
Thanks for guide. I managed to see netconf CLI after installed an application with iosapi/vserial dependencies.
I failed to set up netconf ssh. I followed exactly Netconf setup in AXP Developer Guide. By the way, I can not ssh from PC to router (wrong password, i set "cisco" as password for sysadmin) but I can telnet router from PC with same "cisco" password.
Question: Do I configure wrong on router ?
Below is the "show run" of Router and AXP:
Router ============================ Building configuration...
Current configuration : 1934 bytes ! ! Last configuration change at 08:57:12 UTC Thu Jun 23 2011 ! version 15.0 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router-X1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$gx9T$QArLduhmRr6.tqF9MFMVW/ ! no aaa new-model ! ! ! ! ! ! no ipv6 cef ip source-route ip cef ! ! ! ! ip domain name cisco.com ! multilink bundle-name authenticated ! ! ! ! ! voice-card 0 ! ! ! ! ! ! license udi pid CISCO2951/K9 sn FCZ1350721Q hw-module sm 1 ! hw-module sm 2 ! ! ! username sysadmin password 7 060506324F41 username axp privilege 15 password 0 cisco ! redundancy ! ! ip ssh version 2 ! ! ! ! ! ! ! interface GigabitEthernet0/0 ip address 10.1.12.1 255.255.255.0 duplex auto speed auto ! ! interface GigabitEthernet0/1 no ip address shutdown duplex auto speed auto ! ! interface GigabitEthernet0/2 ip address 8.8.8.1 255.255.255.0 duplex auto speed auto ! ! interface SM1/0 ip address 4.1.1.1 255.255.255.0 service-module ip address 4.1.1.2 255.255.255.0 !Application: Online on SME service-module ip default-gateway 4.1.1.1 ! ! interface SM1/1 no ip address ! ! interface GigabitEthernet2/0 ip address 6.1.1.1 255.255.255.0 ! ! ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ! ! ! ! ! nls resp-timeout 1 cpd cr-id 1 ! ! control-plane ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 password 7 01100F175804 login line aux 0 line 67 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1 flowcontrol software line 131 no activation-character no exec transport preferred none transport input all transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh stopbits 1 flowcontrol software line vty 0 4 password 7 030752180500 login ! scheduler allocate 20000 1000 netconf ssh end
AXP =============================== Generating configuration:
clock timezone GMT
hostname AXP-X1
line console
system language preferred "en_US"
ntp server 10.0.0.20 prefer
software download server url "ftp://127.0.0.1/ftp" credentials hidden "6u/dKTN/hsEuSAEfw40XlF2eFHnZfyUTSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmPSd8ZZNgd+Y9J3xlk2B35j0nfGWTYHfmP"
log trace local enable license agent max-sessions 9
no service password-encryption no ip forward
interface eth0 ip address 4.1.1.2 255.255.255.0 exit
interface eth1 exit
interface mgf0 exit
ip ssh server
netconf ssh client 4.1.1.1 username axp password 7 BRz2a92aDMws4SVjn8bJEg==
username sysadmin password 7 $1$SXi1Ie2x$ewCBz1DmXsmDosybunYnN.
app-service bundling bind interface eth0 hostname AXP-X1 exit
app-service dtn bind interface eth0 hostname AXP-X1 exit
end
Regards, Zoebir |
| Please sign in to flag this as inappropriate. |