Validation
NAME
Net::BGP::Validation - Validate BGP Messages (Lint Mode)
SYNOPSIS
ues Net::BGP::Validation;
my @errors = Net::BGP::Validation::errors($msg);
ROUTINES
errors
Takes a BGP message, returns an array of pairs representing the warnings/errors found in the message. The key of the pair is the short code, the value is a long description.
AFMIX
Multiple Address Families in a single BGP Update
This BGP update contains both IPv4 and IPv6 NLRIs and/or withdrawn prefixes.
AGGR_ASN_DOC
Aggregator ASN is a documentation ASN
This message has an Aggregator path-attribute with an ASN using a range of ASNs reserved for use in documentation.
AGGR_ASN_PRIVATE
Aggregator ASN is a private ASN
This message has an Aggregator path-attribute with an ASN using a range of ASNs reserved for private use.
AGGR_ASN_RESERVED
Aggregator ASN is a reserved ASN
This message has an Aggregator path-attribute with an ASN using a range of ASNs that IANA indicates is "reserved".
AGGR_ASN_TRANS
Aggregator ASN is the AS_TRANS ASN
This message has an Aggregator path-attribute with an ASN of 23456, which is the BGP4 transitional ASN (and should not be seen on the internet after processing an UPDATE message looking for an AS4_Aggregator path-attribute).
AGGR_ID_BOGON
Aggregator ID is a bogon
This message has an Aggregator path-attribute with an IP in the bogon range (except 0.0.0.0, which is valid).
AS_PATH_DOC
ASN Path contains a documentation ASN
This UPDATE message has an AS path with an ASN in the doucmentation range.
AS_PATH_PRIVATE
ASN Path contains a private ASN
This UPDATE message has an AS path with an ASN in the private range.
AS_PATH_RESERVED
ASN Path contains a reserved ASN
This UPDATE message has an AS path with an ASN in the reserved range.
AS_PATH_TRANS
ASN Path contains a contains the AS_TRANS ASN
This UPDATE message has an AS path that contains 23456 (AS_TRANS).
AS4_PEER_SENT_AS4_PATH
AS4-capable peer sent an AS4-Path attribute
An update message sent from an AS4-capable peer contains an AS4-Path attribute.
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright Ā© 2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artisitc License 2.0.