Cisco 2901 line 2 port 2002

I have a vulnerability scan performed by an outside vendor. My Cisco 2901 keeps getting flagged for having port 2002 open, which is a common port for some worms or something.

After doing some research I think that port 2002 is associated with line 2. Does anyone know how to close/remove this port and make some changes to line 2 so this port doesnt show up on my vuln scans?? Thanks so much for any help.

line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
cb_itAsked:
Who is Participating?
 
MiftaulConnect With a Mentor Commented:
"Show Run" output will display the Line 2 configuration.
"Show Line" displays Line2 to details.

To disable Line 2 completely.
R1(config)#line 2
R1(config-line)#transport input none
R1(config-line)#end

Open in new window

Your config will look like
line 2
 transport input none

Open in new window

0
 
MiftaulCommented:
We can not close only port 2002 on Line2.

Either we have to disable line2 completely or limit access to it defining an access-list.

Please check This
0
 
cb_itAuthor Commented:
Thanks for the quick reply. I dont think I'm using line 2, how would I find out if I'm using it. How would I disable it?
0
 
cb_itAuthor Commented:
That worked, thanks very much for the help. I'm familiar with all of those commands but wasnt sure it would be that simple for line 2. I was not that familiar with line 2. Thanks again!
0
All Courses

From novice to tech pro — start learning today.