69
Step 3.
Check the list configuration
LTP-8X(switch)# show access-list
Extended MAC access list "EltexOUI"(#2), filters count: 2
Offset lists:
e1 l2:0:FF:A8 l2:1:FF:F9 l2:2:FF:4B
e2 l2:0:FF:E0 l2:1:FF:D9 l2:2:FF:E3
Rule 1 (permit):
Offset-list e1
Rule 2 (permit):
Offset-list e2
16.4
Configuring policy
Configuring policy allows you to perform various manipulations on classified traffic, such as cos, dscp,
queue setting.
Step 1
. Create an access-list according to which the traffic will be classified.
LTP-8X# switch
LTP-8X(switch)# configure
LTP-8X(switch)(config)# ip access-list extended sip-dhcp-acl
LTP-8X(switch)(config-ip-al)# permit udp any 68 any 67
LTP-8X(switch)(config-ip-al)# permit udp any any any 5060
LTP-8X(switch)(config-ip-al)# exit
Step 2.
Create a traffic class
LTP-8X(switch)(config)# class-map sip-dhcp-class
LTP-8X(switch)(config-class 'sip-dhcp-class')# match access-group sip-dhcp-acl
LTP-8X(switch)(config-class 'sip-dhcp-class')# exit
Step 3.
Set policy
LTP-8X(switch)(config)# policy-map cos7
LTP-8X(switch)(policy-class 'cos7')# class sip-dhcp-class
LTP-8X(switch)(traffic-class 'sip-dhcp-class')# cos 7
LTP-8X(switch)(traffic-class 'sip-dhcp-class')# exit
LTP-8X(switch)(policy-class 'cos7')# exit
LTP-8X(switch)(config)# interface pon-port 0
LTP-8X(switch)(config-if)# service-policy cos7
LTP-8X(switch)(config-if)# exit
LTP-8X(switch)(config)# commit
Step 4.
Check the configuration of the policy and classes
LTP-8X(switch)# show access-list
Extended IP access list "sip-dhcp-acl"(#8), filters count: 2
Rule 1 (permit):
IPv4 protocol 17 (UDP)
Sport 68
Dport 67
Rule 2 (permit):
IPv4 protocol 17 (UDP)
Dport 5060
LTP-8X(switch)# show interfaces acl pon-port 0
Interface MAC access-list IP access-list Policy-map
pon-port 0 - - cos7
While the configuration, you should remember that
deny
in an ACL rule exclude the traffic from
processing according to policy.
Summary of Contents for LTP-4X
Page 11: ...11 Part I General ...
Page 29: ...29 Part II Getting Started with the Terminal ...
Page 37: ...37 Part III Configuring the Terminal ...
Page 98: ...98 Part IV ONT Configuration ...
Page 174: ...174 Part V Terminal Monitoring ...
Page 189: ...189 Part VI Terminal Maintenance ...
Page 191: ...191 Step 2 Remove the module from the slot Fig 43 4 Removing SFP Transceivers ...