RE: tip to remember port numbers when in the lab

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Mon May 22 2006 - 11:01:23 ART


Router#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 edonkey tcp 4662
port-map exchange tcp 135
port-map fasttrack tcp 1214
port-map finger tcp 79
port-map ftp tcp 21
port-map gnutella tcp 6346 6347 6348 6349 6355 5634
port-map gopher udp 70
port-map gopher tcp 70
port-map h323 udp 1300 1718 1719 1720 11720
port-map h323 tcp 1300 1718 1719 1720 11000 - 11999
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 mgcp udp 2427 2727
port-map mgcp tcp 2427 2428 2727
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 rip udp 520
port-map rsvp udp 1698 1699
port-map rtsp tcp 554
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 sip udp 5060
port-map sip tcp 5060
port-map skinny tcp 2000 2001 2002
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 winmx tcp 6699
port-map xwindows tcp 6000 6001 6002 6003

Also:

Router(config)#access-list 100 permit tcp any any eq ?
  <0-65535> Port number
  bgp Border Gateway Protocol (179)
  chargen Character generator (19)
  cmd Remote commands (rcmd, 514)
  daytime Daytime (13)
  discard Discard (9)
  domain Domain Name Service (53)
  drip Dynamic Routing Information Protocol (3949)
  echo Echo (7)
  exec Exec (rsh, 512)
  finger Finger (79)
  ftp File Transfer Protocol (21)
  ftp-data FTP data connections (20)
  gopher Gopher (70)
  hostname NIC hostname server (101)
  ident Ident Protocol (113)
  irc Internet Relay Chat (194)
  klogin Kerberos login (543)
  kshell Kerberos shell (544)
  login Login (rlogin, 513)
  lpd Printer service (515)
  nntp Network News Transport Protocol (119)
  pim-auto-rp PIM Auto-RP (496)
  pop2 Post Office Protocol v2 (109)
  pop3 Post Office Protocol v3 (110)
  smtp Simple Mail Transport Protocol (25)
  sunrpc Sun Remote Procedure Call (111)
  syslog Syslog (514)
  tacacs TAC Access Control System (49)
  talk Talk (517)
  telnet Telnet (23)
  time Time (37)
  uucp Unix-to-Unix Copy Program (540)
  whois Nicname (43)
  www World Wide Web (HTTP, 80)

Router(config)#access-list 100 permit udp any any eq ?
  <0-65535> Port number
  biff Biff (mail notification, comsat, 512)
  bootpc Bootstrap Protocol (BOOTP) client (68)
  bootps Bootstrap Protocol (BOOTP) server (67)
  discard Discard (9)
  dnsix DNSIX security protocol auditing (195)
  domain Domain Name Service (DNS, 53)
  echo Echo (7)
  isakmp Internet Security Association and Key Management
Protocol
                 (500)
  mobile-ip Mobile IP registration (434)
  nameserver IEN116 name service (obsolete, 42)
  netbios-dgm NetBios datagram service (138)
  netbios-ns NetBios name service (137)
  netbios-ss NetBios session service (139)
  non500-isakmp Internet Security Association and Key Management
Protocol
                 (4500)
  ntp Network Time Protocol (123)
  pim-auto-rp PIM Auto-RP (496)
  rip Routing Information Protocol (router, in.routed, 520)
  snmp Simple Network Management Protocol (161)
  snmptrap SNMP Traps (162)
  sunrpc Sun Remote Procedure Call (111)
  syslog System Logger (514)
  tacacs TAC Access Control System (49)
  talk Talk (517)
  tftp Trivial File Transfer Protocol (69)
  time Time (37)
  who Who service (rwho, 513)
  xdmcp X Display Manager Control Protocol (177)

HTH,

Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> lim es
> Sent: Monday, May 22, 2006 8:48 AM
> To: ccielab@groupstudy.com
> Subject: tip to remember port numbers when in the lab
>
> Hi Group,
>
> R6(config)#priority-list 1 protocol ip low udp ?
> <0-65535> Port number
> biff Biff (mail notification, comsat, 512)
> bootpc Bootstrap Protocol (BOOTP) client
> (68)
> bootps Bootstrap Protocol (BOOTP) server
> (67)
> discard Discard (9)
> dnsix DNSIX security protocol auditing
> (195)
> domain Domain Name Service (DNS, 53)
> echo Echo (7)
> isakmp Internet Security Association and Key
> Management Protocol
> (500)
> ===========
>
> i used this method in case they ask u to build an
> access-list but u cant remember the port no for that
> protocol, but i know nbar has a similar command......i
> just cant recall, any ideas?
>
> TIA
>
> Lim
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:22 ART