Share via


IPPrefixRule Class

Definition

IP Prefix Rule properties.

public class IPPrefixRule
type IPPrefixRule = class
Public Class IPPrefixRule
Inheritance
IPPrefixRule

Constructors

IPPrefixRule(CommunityActionType, Int64, String)

Initializes a new instance of IPPrefixRule.

Properties

Action

Action to be taken on the configuration. Example: Permit | Deny.

Condition

Specify prefix-list bounds.

NetworkPrefix

Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126.

SequenceNumber

Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.

SubnetMaskLength

SubnetMaskLength gives the minimum NetworkPrefix length to be matched. Possible values for IPv4 are 1 - 32 . Possible values of IPv6 are 1 - 128.

Applies to