Common Classifiers
Left running head:
Chapter name (automatic)
320
Beta
Beta
OmniAccess 700 CLI Command Reference Guide
Alcatel-Lucent
INCLUDE
include <match-list
name>
D
ESCRIPTION
Another key feature of the OA-700 classification is the capability of nesting.
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.
P
ARAMETERS
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 rule sets
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
Parameter
Description
match-list
name
Name of the match-list, which has to be included.