Got it

How to configure ACL on an OLT to access or deny private network addresses

Latest reply: Jul 6, 2018 14:10:47 2032 2 2 0 0
 Issue Description

  The OLT to the router are Layer 2 transparent transmissions. VLAN 69 only allows 10.111.X.0/24 (each OLT has a Type C private network address). vlan101 does not allow private networks to access the router.

 Solution



Please configure the following commands in order to set the ACL according with the request:


VLAN69 only allows 10.111.X.0/24 (each OLT has a class C private network address):

(config)# acl 3000<?xml:namespace prefix = "o" />



(config-acl-link-3000)#rule 10 permit 0 source 10.111.0.0 0.0.0.255 

(config-acl- link-3000)#rule 15 permit 0 destination 10.111.0.0 0.0.0.255


(config)# acl 4000


(config-acl-link-4000)#rule 5 deny source 69


(config-acl-link-4000)# rule 10 permit source 69


(config)# packet-filter inbound link-group 4000 rule 5 port [F/S/P] // the port for vlan 69 (should be uplink port)


(config)# packet-filter inbound ip-group 3000 rule 10 link-group 4000 rule 10 port [F/S/P] // the port for vlan 69 (should be uplink port)


(config)# packet-filter outbound link-group 4000 rule 5 port [F/S/P] // the port for vlan 69 (should be uplink port)


(config)# packet-filter outbound ip-group 3000 rule 15 link-group 4000 rule 10 port [F/S/P] // the port for vlan 69 (should be uplink port)


Vlan101 does not allow private network access to the router:



(config)# acl 3001

(config-acl-link-3001)#rule 10 deny 0 source 10.111.0.0 0.0.0.255 

(config-acl- link-3001)# rule 15 deny 0 destination 10.111.0.0 0.0.0.255

(config)# acl 4001

(config-acl-link-4000)# rule 5 deny source 101

(config-acl-link-4000)#rule 10 permit source 101

(config)# packet-filter inbound link-group 4001 rule 10 port [F/S/P] // the port for vlan 101 (should be uplink port)


(config)# packet-filter inbound ip-group 3001 rule 10 link-group 4001 rule 5 port [F/S/P] // the port for vlan 101 (should be uplink port)


(config)# packet-filter outbound link-group 4001 rule 10 port [F/S/P] // the port for vlan 101 (should be uplink port)

(config)# packet-filter outbound ip-group 3001 rule 15 link-group 4001 rule 5 port [F/S/P] // the port for vlan 101 (should be uplink port)

From group: Transport&Access Network

Very helpful in troubleshooting! Thanks for sharing this with us!
View more
  • x
  • convention:

thank you for sharing with us. really useful information
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.