
Configuration Objects
198
K.2.38. namedbgpmap: Mapping and filtering rules of
BGP prefixes
This defines a set of named rules for mapping and filtering of prefixes to/from a BGP peer.
Table K.49. namedbgpmap: Attributes
Attribute
Type
Default
Description
comment
string
-
Comment
name
NMTOKEN
Not optional
Name
source
string
-
Source of data, used in automated config
management
Table K.50. namedbgpmap: Elements
Element
Type
Instances
Description
match
bgprule
Optional, unlimited
List rules, in order of checking
K.2.39. bgprule: Individual mapping/filtering rule
An individual rule for BGP mapping/filtering
Table K.51. bgprule: Attributes
Attribute
Type
Default
Description
comment
string
-
Comment
community
Community
-
Community that must be present to match
detag
List of Community
-
List of community tags to remove
drop
boolean
-
Do not import/export this prefix
localpref
unsignedInt
-
Set localpref (highest wins)
med
unsignedInt
-
Set MED
name
string
-
Name
no-community
Community
-
Community that must not be present to
match
pad
unsignedByte
-
Pad (prefix stuff) our AS on export by this
many, can be zero to not send our AS
prefix
List of IPFilter
-
Prefixes that this rule applies to
source
string
-
Source of data, used in automated config
management
tag
List of Community
-
List of community tags to add
K.2.40. bgp: Overall BGP settings
The BGP element defines general BGP settings and a list of peer definitions for the individual BGP peers.
Table K.52. bgp: Attributes
Attribute
Type
Default
Description
as
unsignedInt
-
Our AS