Policy and Entry Maintenance Commands
Page 526
7750 SR OS Router Configuration Guide
Policy and Entry Maintenance Commands
copy
Syntax
copy
ip-filter
src-filter-id [src-entry src-entry-id] to dst-filter-id [dst-entry dst-entry-id]
[overwrite]
copy ipv6-filter
src-filter-id
[
src-entry
src-entry-id
]
to
dst-filter-id
[dst-entry
dst-entry-id
]
[
overwrite
]
copy mac-filter
src-filter-id
[
src-entry
src-entry-id
]
to
dst-filter-id
[dst-entry
dst-entry-id
]
[
overwrite
]
Context
config>filter
Description
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.
Parameters
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.
filter-name
Syntax
filter-name
filter-name
no filter-name
Context
config>filter>ip-filter
config>filter>ipv6-filter
Description
This command specifies the name to associate with this filter.
Summary of Contents for 7750 SR-OS
Page 10: ...Page 10 7750 SR OS Router Configuration Guide List of Tables...
Page 12: ...Page 12 7750 SR OS Router Configuration Guide List of Figures...
Page 18: ...Getting Started Page 18 7750 SR OS Router Configuration Guide...
Page 108: ...IP Router Command Reference Page 108 7750 SR OS Router Configuration Guide...
Page 200: ...Router Advertisement Commands Page 200 7750 SR OS Router Configuration Guide...
Page 299: ...IP Router Configuration 7750 SR OS Router Configuration Guide Page 299...
Page 300: ...Debug Commands Page 300 7750 SR OS Router Configuration Guide...
Page 348: ...Page 348 7750 SR OS Router Configuration Guide...
Page 388: ...Page 388 7750 SR OS Router Configuration Guide...
Page 442: ...Configuration Notes Page 442 7750 SR OS Router Configuration Guide...
Page 470: ...Filter Management Tasks Page 470 7750 SR OS Router Configuration Guide...
Page 586: ...Configuration Notes Page 586 7750 SR OS Router Configuration Guide...
Page 588: ...OpenFlow Command Reference Page 588 7750 SR OS Router Configuration Guide...
Page 598: ...Show Commands Page 598 7750 SR OS Router Configuration Guide...
Page 608: ...Page 608 7750 SR OS Router Configuration Guide...
Page 646: ...Page 646 7750 SR OS Router Configuration Guide...
Page 660: ...Page 660 7750 SR OS Router Configuration Guide...
Page 666: ...Common CLI Command Descriptions Page 666 7750 SR OS Router Configuration Guide...