include
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
401
Alcatel-Lucent
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Command Reference Guide
INCLUDE
include <match-list name>
DESCRIPTION
Another key feature of the OmniAccess 5740 USG classification is the capability
of nesting.
This command is entered 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.
PARAMETERS
EXAMPLE
EX 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 any any
ALU(config-match-list-m2)# 4 include m1
Parameter Description
match-list name Name of the match-list, which has to be included.