Policy And Entry Maintenance Commands - Alcatel-Lucent 7710 SR OS Configuration Manual

Router
Hide thumbs Also See for 7710 SR OS:
Table of Contents

Advertisement

Policy and Entry Maintenance Commands

copy
Syntax
Context
Description
Parameters
Page 424
copy {ip-filter | ipv6-filter | mac-filter} source-filter-id dest-filter-id dest-filter-id [overwrite]
config>filter
This command copies existing filter list entries for a specific filter ID to another filter ID. The copy
command is a configuration level maintenance tool used to create new filters using existing filters. It
also allows bulk modifications to an existing policy with the use of the overwrite keyword.
If overwrite is not specified, an error will occur if the destination policy ID exists.
ip-filter — Indicates that the source-filter-id and the dest-filter-id are IP filter IDs.
ipv6-filter — This keyword indicates that the source-filter-id and the dest-filter-id are IPv6 filter
IDs.
mac-filter — Indicates that the source-filter-id and the dest-filter-id are MAC filter IDs.
source-filter-id — The source-filter-id identifies the source filter policy from which the copy
command will attempt to copy. The filter policy must exist within the context of the preceding
keyword (ip-filter, ipv6-filter or mac-filter).
dest-filter-id — The dest-filter-id identifies the destination filter policy to which the copy command
will attempt to copy. If the overwrite keyword does not follow, the filter policy ID cannot
already exist within the system for the filter type the copy command is issued for. If the
overwrite keyword is present, the destination policy ID may or may not exist.
overwrite — The overwrite keyword specifies that the destination filter ID may exist. If it does,
everything in the existing destination filter ID will be completely overwritten with the contents
of the source filter ID. If the destination filter ID exists, either overwrite must be specified or an
error message will be returned. If overwrite is specified, the function of copying from source to
destination occurs in a 'break before make' manner and therefore should be handled with care.
7710 SR OS Router Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents