Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - Naming Services/Ports in PixOS

 
Thread Tools Search this Thread
Old 10-21-2005, 07:22 PM   #1
Default Naming Services/Ports in PixOS


I am trying to go through and clean up my configuration. I have been
using the `name` command to assign names to IPs. This really
simplifies how ACLs look. It has been a great first step. In the end,
I will start implementing some object groups. Right now, however, I
would like to be able to name services... for instance RDP is tcp/3389,
and TFTP is tcp/69. Most of the services have names, but not these.
For consistency's sake, I would like to give them a name. Is there a
way to do this?

Thanks,
Dustin



Dustin
  Reply With Quote
Old 10-21-2005, 08:30 PM   #2
Walter Roberson
 
Posts: n/a
Default Re: Naming Services/Ports in PixOS
In article < .com>,
Dustin <> wrote:
:I am trying to go through and clean up my configuration. I have been
:using the `name` command to assign names to IPs. This really
:simplifies how ACLs look. It has been a great first step. In the end,
:I will start implementing some object groups. Right now, however, I
:would like to be able to name services... for instance RDP is tcp/3389,
:and TFTP is tcp/69. Most of the services have names, but not these.
:For consistency's sake, I would like to give them a name. Is there a
:way to do this?

Not directly. You can, though, create a service object-group

object-group service TFTP udp
description the UDP port used for TFTP
port-object eq 69

access-list Out2In permit udp any host MyServer object-group TFTP


[Note: you indicated tftp as tcp/69 but it is udp that is used.]
--
Many food scientists have reported chocolate to be the single most
craved food. -- Northwestern University, 2001


Walter Roberson
  Reply With Quote
Old 10-21-2005, 09:20 PM   #3
Dustin
 
Posts: n/a
Default Re: Naming Services/Ports in PixOS
Thanks for that, and thanks for correcting me... udp/69 for tftp



Dustin
  Reply With Quote
Old 10-21-2005, 11:51 PM   #4
Francois Labreque
 
Posts: n/a
Default Re: Naming Services/Ports in PixOS
Walter Roberson a écrit :
> Not directly. You can, though, create a service object-group
>
> object-group service TFTP udp
> description the UDP port used for TFTP
> port-object eq 69


To expand on Walter's comment, you can also have groups being members of
other groups.

For example:

object-group service Cisco-Mgmt udp
description stuff that you need to manage your routers and switches
port-object eq snmptrap
port-object eq syslog
group-object TFTP

--
Francois Labreque | Unfortunately, there's no such thing as a snooze
flabreque | button on a cat who wants breakfast.
@ | - Unattributed quote from rec.humor.funny
videotron.ca


Francois Labreque
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Naming DVD Titles? John DVD Video 0 02-05-2005 11:27 PM
Inserting and naming chapters Carl DVD Video 0 05-30-2004 05:43 AM
Re: comptia naming conventions. Tony Sivori A+ Certification 8 07-07-2003 02:48 PM
Re: comptia naming conventions. JimW± A+ Certification 3 06-30-2003 02:36 AM
Re: comptia naming conventions. Rick Blythin A+ Certification 0 06-29-2003 04:31 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46