cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
3
Helpful
4
Replies

TCP and UDP port.

ney25
Level 2
Level 2

Hi NetPro.

i have a problem for open UDP and TCP port. does anyone can give me the command for open port for TCP and UDP.

--------------------------------------------------

example :

1. UDP 5060 --> ip address 202.111.1.10 (Inbound)

2. TCP 5060 --> ip address 201.123.1.30 (Outbound)

---------------------------------------------------

Thank you in advance,

Regards,

Jack

4 Replies 4

Hello,

are you looking for the syntax of an access list ?

This is what your access list would look like:

access-list 101 permit udp any host 202.111.1.10 eq 5060

access-list 101 permit tcp host 201.123.1.30 any eq 5060

This syntax is assuming that both IP addresses are internal to your network. If they are destination IP addresses outside of your network, switch the ´any´ and the actual IP addresses in both statements.

HTH,

Georg

Hi gpauwen ,

is that must use access-list 101,can't i use access-list 180 ?and can i neglect the access-list,directly put "Permit udp any host 202.111.1.10 eq 5060" ??

Thank you in advance,

Regards,

Jack

Not applicable

you can create access-list 180 it shouldnt make no difference, just remember the order of commands make a difference when configuring a switch

Thanks ajatt ,

i got it what u mean.

Regards,

Jack

Review Cisco Networking for a $25 gift card