![Ericsson ECN330 User Manual Download Page 707](http://html1.mh-extra.com/html/ericsson/ecn330/ecn330_user-manual_2423382707.webp)
Command Line Interface
701
1553-KDU 137 365 Uen D 2006-06-16
Example
This example creates an IP ingress mask with two rules. Each rule is checked
in order of precedence to look for a match in the ACL entries. The first entry
matching a mask is applied to the inbound packet.
This shows that the entries in the mask override the precedence in which the
rules are entered into the ACL. In the following example, packets with the source
address 10.1.1.1 are dropped because the “deny 10.1.1.1 255.255.255.255”
rule has the higher precedence according the “mask host any” entry.
Console(config)#access-list ip mask-precedence in
Console(config-ip-mask-acl)#mask host any
Console(config-ip-mask-acl)#mask 255.255.255.0 any
Console(config-ip-mask-acl)#
Console(config)#access-list ip standard A2
Console(config-std-acl)#permit 10.1.1.0 255.255.255.0
Console(config-std-acl)#deny 10.1.1.1 255.255.255.255
Console(config-std-acl)#exit
Console(config)#access-list ip mask-precedence in
Console(config-ip-mask-acl)#mask host any
Console(config-ip-mask-acl)#mask 255.255.255.0 any
Console(config-ip-mask-acl)#
Summary of Contents for ECN330
Page 6: ...1553 KDU 137 365 Uen D 2006 06 16 Contents List of Abbreviations 1183 Glossary 1191 Index 1201...
Page 22: ...Introduction to the ECN330 switch 16 1553 KDU 137 365 Uen D 2006 06 16...
Page 26: ...Maintenance 20 1553 KDU 137 365 Uen D 2006 06 16...
Page 56: ...Initial Configuration 50 1553 KDU 137 365 Uen D 2006 06 16...
Page 520: ...Configuring the ECN330 switch 514 1553 KDU 137 365 Uen D 2006 06 16...
Page 1188: ...Specifications 1182 1553 KDU 137 365 Uen D 2006 06 16...
Page 1196: ...List of Abbreviations 1190 1553 KDU 137 365 Uen D 2006 06 16...
Page 1224: ...Index 1218 1553 KDU 137 365 Uen D 2006 06 16...
Page 1225: ......