set routing pbr map sequence match source-ipv4
The set routing pbr map sequence match source-ipv4 command configures a match rule based on the source IPv4 address for PBR traffic classification.
The delete routing pbr map sequence match source-ipv4 command deletes the configuration.
Â
Command Syntax
set routing pbr map <map-name> sequence <sequence-number> match source-ipv4 <ipv4-address/prefix-length>
delete routing pbr map <map-name>sequence <sequence-number> match source-ipv4
Â
Parameter
Parameter | Description |
map <map-name> | Specifies the map name of a PBR policy. The value is a string. |
sequence <sequence-number> | Specifies sequence number. The value is an integer that ranges from 1 to 700. |
source-ipv4 <ipv4-address/prefix-length> | Specifies source IPv4 address, it should be an IPv4 subnet in the format of IPv4-address/prefix-length. For example, 10.1.1.0/24. |
Â
Example
Configure a match rule based on the source IPv4 address for PBR traffic classification.
admin@PICOS# set routing pbr map PBR_map1 sequence 100 match source-ipv4 10.1.1.0/24
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.