Monday, December 10, 2018

Cisco 4221 connect command not working

I have a Cisco 4221 That I am using as a console router with async connections to some router consoles. When I first set these up I was able to use the connect command like "connect 10.1.1.1 2002" and would connect. Now it's not working and I'm not sure what I changed or what is missing that it no longer works. I don't think my configuration is overly complicated, but I can't figure it out.

router#connect 10.1.1.1 2002

% Unknown command or computer name, or unable to find computer address

router#connect 10.1.1.1 2003

% Unknown command or computer name, or unable to find computer address

router#connect 10.1.1.1 2004

% Unknown command or computer name, or unable to find computer address

router#connect router1 2002

% Unknown command or computer name, or unable to find computer address

router#connect router2 2003

% Unknown command or computer name, or unable to find computer address

router#connect

Host: 10.1.1.1 2002

% Unknown command or computer name, or unable to find computer address

router#sho run

Building configuration...

Current configuration : 10168 bytes

!

version 16.6

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime msec localtime show-timezone year

service timestamps log datetime msec localtime show-timezone year

service password-encryption

service compress-config

service sequence-numbers

platform qfp utilization monitor load 80

no platform punt-keepalive disable-kernel-core

!

hostname router

!

boot-start-marker

boot system bootflash:isr4200-universalk9_ias.16.06.04.SPA.bin

boot-end-marker

!

!

logging userinfo

logging buffered 65536

!

aaa new-model

!

!

aaa authentication login default group RSA local

aaa authentication dot1x default group dot1x-radius

aaa authorization exec default group RSA local

aaa authorization network default group dot1x-radius

aaa accounting update periodic 5

aaa accounting dot1x default start-stop group dot1x-radius

!

!

!

aaa session-id common

aaa password restriction

clock timezone central -6 0

clock summer-time central recurring

!

!

!

ip host router1 2002 10.1.1.1

ip host router2 2003 10.1.1.1

ip host router3 2004 10.1.1.1

ip host router4 2005 10.1.1.1

ip host router5 2006 10.1.1.1

ip name-server 10.10.10.15 10.10.10.16 10.10.10.24

ip domain name domain.com

!

!

!

subscriber templating

!

!

!

multilink bundle-name authenticated

!

!

!

license accept end user agreement

license boot level appxk9

diagnostic bootup level minimal

spanning-tree extend system-id

dot1x system-auth-control

!

!

redundancy

mode none

!

!

no cdp run

!

!

interface Loopback0

ip address 10.1.1.1 255.255.255.255

!

interface GigabitEthernet0/0/0

ip address 10.10.20.20 255.255.255.0

negotiation auto

!

interface GigabitEthernet0/0/1

no ip address

shutdown

negotiation auto

!

interface Async0/1/0

description router1

no ip address

!

interface Async0/1/1

description router2

no ip address

!

interface Async0/1/2

description router3

no ip address

!

interface Async0/1/3

description router4

no ip address

!

interface Async0/1/4

no ip address

!

interface Async0/1/5

no ip address

!

interface Async0/1/6

no ip address

!

interface Async0/1/7

no ip address

!

interface Async0/1/8

no ip address

!

interface Async0/1/9

no ip address

!

interface Async0/1/10

no ip address

!

interface Async0/1/11

no ip address

!

interface Async0/1/12

no ip address

!

interface Async0/1/13

no ip address

!

interface Async0/1/14

no ip address

!

interface Async0/1/15

no ip address

!

ip default-gateway 10.10.20.1

ip forward-protocol nd

no ip http server

ip http authentication local

no ip http secure-server

ip route 0.0.0.0 0.0.0.0 10.10.20.1

!

ip ssh version 2

ip scp server enable

!

!

!

radius-server attribute 6 on-for-login-auth

radius-server attribute 8 include-in-access-req

radius-server attribute 25 access-request include

radius-server attribute 11 default direction in

radius-server dead-criteria time 10 tries 10

radius-server retransmit 10

radius-server timeout 20

radius-server deadtime 1

!

!

control-plane

!

banner motd ^C

++++++++++++++++++++++++++++++++++++++++++++++

To manually connect:

# connect 10.1.1.1 <port #>

router1 2002

router2 2003

router3 2004

router4 2005

router5 2006

++++++++++++++++++++++++++++++++++++++++++++++

^C

!

line con 0

session-timeout 30

exec-timeout 30 0

logging synchronous

transport input none

stopbits 1

line 0/1/0

no exec

transport input all

transport output all

stopbits 1

line 0/1/1 0/1/15

transport input all

transport output all

stopbits 1

line vty 0 4

session-timeout 30

exec-timeout 30 0

transport input ssh

transport output ssh

line vty 5 15

session-timeout 30

exec-timeout 30 0

transport input ssh

!

ntp logging

wsma agent exec

!

wsma agent config

!

wsma agent filesys

!

wsma agent notify

!

end



No comments:

Post a Comment