Common Classifiers
Left running head:
Chapter name (automatic)
426
Beta
Beta
CLI Configuration Guide
Alcatel-Lucent
N
ESTING
O
F
M
ATCH
-
LISTS
Another key feature of the Unified classification is the capability of nesting. A
match-list configured earlier can be referenced and included in a new match-list.
This prevents you from re-writing same rules for a different match-list.
T
O
E
NABLE
N
ESTING
OF
M
ATCH
-
LISTS
E
XAMPLE
E
X
1:
In the example below, the match-list m2 contains the rule of match-list m1 in
addition to the other rules specific to match-list m2.
ALU(config)# match-list m1
ALU(config-match-list-m1)# ip prefix 192.168.1.0/24 host
192.168.1.72
ALU(config)# match-list m2
ALU(config-match-list-m2)# tcp any any service ssh
ALU(config-match-list-m2)# tcp prefix 192.168.2.0/24 any
service smtp
ALU(config-match-list-m2)# include m1
E
X
2:
Consider another example to configure match-lists, using appropriate rulesets
with the ‘
include’
keyword.
ALU(config)# match-list m1
ALU(config-match-list-m1)# 1 prefix 10.0.0.0/8 host 21.1.1.1
ALU(config-match-list-m1)# 2 list l2 list l3
ALU(config)# match-list m2
ALU(config-match-list-m2)# 1 tcp any any service ssh
ALU(config-match-list-m2)# 2 udp prefix 22.1.1.0/8 any
ALU(config-match-list-m2)# 3 ip host 21.1.1.1 type rpc
ALU(config-match-list-m2)# 4 include m1
Note:
There is no ordering of rules inside a match-list. All the rules are of same priority. The
rule numbers are used only for reference.
Command (in Match-list CM)
Description
include <match-list
name>
Enter this command in the specific
Match-list Configuration Mode.
This command is used to include a
match-list/s that is already configured
inside another match-list.
Summary of Contents for OmniAccess 700
Page 38: ...Left running head Chapter name automatic 12 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 176: ...Left running head Chapter name automatic 150 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 260: ...Left running head Chapter name automatic 234 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 434: ...Left running head Chapter name automatic 408 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 464: ...Left running head Chapter name automatic 438 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 638: ...Left running head Chapter name automatic 612 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 940: ...Left running head Chapter name automatic 914 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 1002: ...Left running head Chapter name automatic 976 Beta Beta CLI Configuration Guide Alcatel Lucent ...
Page 1120: ...Left running head Chapter name automatic 2 Beta Beta CLI Configuration Guide Alcatel Lucent ...