cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6793
Views
10
Helpful
1
Replies

What is the diff. between port-object and service object

nygenxny123
Level 1
Level 1

from my config they look to be doing the same thing

service http-https, servicee tcp-udp and service tcp-8301 appear to be doing the same thing..allowing multiple protocols

however 2 are configured as port-objects the other service objects

object-group service http-https tcp
port-object eq www
port-object eq https
object-group service TCP-3389 tcp
port-object eq 3389
object-group service RDP tcp-udp
port-object eq 3389
object-group protocol TCPUDP
protocol-object udp
protocol-object tcp
object-group service TCP-8301
service-object tcp eq 8301
service-object tcp eq 8302

1 Accepted Solution

Accepted Solutions

Panos Kampanakis
Cisco Employee
Cisco Employee

They are the same.

Port object just defines the object and the protocol is define in the object group as your example shows.

But in the service object the protocol and port are defined together.

There is no other difference, they are different ways of defining the same thing.

I hope it helps.

PK

View solution in original post

1 Reply 1

Panos Kampanakis
Cisco Employee
Cisco Employee

They are the same.

Port object just defines the object and the protocol is define in the object group as your example shows.

But in the service object the protocol and port are defined together.

There is no other difference, they are different ways of defining the same thing.

I hope it helps.

PK

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card