Re: Tech tip - remembering port #'s

From: cannonr (cannonr@attbi.com)
Date: Fri Apr 18 2003 - 22:42:53 GMT-3


If that list isn't complete enough. Let's say you forgot the ports used for
DLSW priority (1981,1982,1983) and you wanted to jog your memory....

Assuming nbar is still config'd.... Configure DLSW with the pri keyword.

R1
dlsw local-peer peer-id 192.168.1.1
dlsw remote-peer 0 tcp 192.168.3.3 priority
dlsw bridge-group 1

Config R3 as well..

debug packets that NBAR does not recognize....

debug ip nbar unclassified-port-stats

r1#show ip nbar unclassified-port-stats
-tcp-
    2065/tcp:53
   11015/tcp:4
   11016/tcp:4
   11017/tcp:4
   11023/tcp:4
   11020/tcp:3
    1981/tcp:2
    1982/tcp:2
    1983/tcp:2
   11018/tcp:2
   11021/tcp:2
   11022/tcp:2
   11019/tcp:1
-udp-
    2067/udp:27
-other ip-

So, if for some reason you have a little senior moment on lab day, these
tricks may help you out (:

  ----- Original Message -----
  From: cannonr
  To: ccielab@groupstudy.com
  Sent: Friday, April 18, 2003 8:06 PM
  Subject: Tech tip - remembering port #'s

  Do you worry about how you're going to memorize all of the port #'s? Here
is a way to look them up at the lab with the exception of a few.

  Enable CEF so you can turn on nbar

  ip nbar protocol disc under your ethernet interface.

  then type.....

  r1#show ip nbar port-map
  port-map bgp udp 179
  port-map bgp tcp 179
  port-map citrix udp 1604
  port-map citrix tcp 1494
  port-map cuseeme udp 7648 7649 24032
  port-map cuseeme tcp 7648 7649
  port-map dhcp udp 67 68
  port-map dns udp 53
  port-map dns tcp 53
  port-map exchange tcp 135
  port-map finger tcp 79
  port-map ftp tcp 21
  port-map gopher udp 70
  port-map gopher tcp 70
  port-map http tcp 80
  port-map imap udp 143 220
  port-map imap tcp 143 220
  port-map irc udp 194
  port-map irc tcp 194
  port-map kerberos udp 88 749
  port-map kerberos tcp 88 749
  port-map l2tp udp 1701
  port-map ldap udp 389
  port-map ldap tcp 389
  port-map netbios udp 137 138
  port-map netbios tcp 137 139
  port-map netshow tcp 1755
  port-map nfs udp 2049
  port-map nfs tcp 2049
  port-map nntp udp 119
  port-map nntp tcp 119
  port-map notes udp 1352
  port-map notes tcp 1352
  port-map novadigm udp 3460 3461 3462 3463 3464 3465
  port-map novadigm tcp 3460 3461 3462 3463 3464 3465
  port-map ntp udp 123
  port-map ntp tcp 123
  port-map pcanywhere udp 22 5632
  port-map pcanywhere tcp 65301 5631
  port-map pop3 udp 110
  port-map pop3 tcp 110
  port-map pptp tcp 1723
  port-map printer udp 515
  port-map printer tcp 515
  port-map rcmd tcp 512 513 514
  port-map realaudio tcp 7070 554
  port-map rip udp 520
  port-map rsvp udp 1698 1699
  port-map secure-ftp tcp 990
  port-map secure-http tcp 443
  port-map secure-imap udp 585 993
  port-map secure-imap tcp 585 993
  port-map secure-irc udp 994
  port-map secure-irc tcp 994
  port-map secure-ldap udp 636
  port-map secure-ldap tcp 636
  port-map secure-nntp udp 563
  port-map secure-nntp tcp 563
  port-map secure-pop3 udp 995
  port-map secure-pop3 tcp 995
  port-map secure-telnet tcp 992
  port-map smtp tcp 25
  port-map snmp udp 161 162
  port-map snmp tcp 161 162
  port-map socks tcp 1080
  port-map sqlnet tcp 1521
  port-map sqlserver tcp 1433
  port-map ssh tcp 22
  port-map streamwork udp 1558
  port-map sunrpc udp 111
  port-map sunrpc tcp 111
  port-map syslog udp 514
  port-map telnet tcp 23
  port-map tftp udp 69
  port-map vdolive tcp 7000
  port-map xwindows tcp 6000 6001 6002 6003
  r1#

  For those of you that know this, please igore. I thought it was pretty
cool!!



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:58 GMT-3