
Border Gateway Protocol (BGP) Parameters

(last updated 2007-05-18)

 - BGP Message Types
 - BGP Path Attributes
 - BGP Error Codes
 - BGP Error Subcodes
   - Message Header Error subcodes
   - OPEN Message Error subcodes
   - UPDATE Message Error subcodes
   - BGP Cease NOTIFICATION message subcodes

BGP Message Types - per [RFC4271]
Registration Procedures: Assignments are made using either the 
Standards Action process or the Early IANA Allocation process.

Value      Name            Reference
-----      --------------  ---------
    1      OPEN            [RFC4271]
    2      UPDATE          [RFC4271]
    3      NOTIFICATION    [RFC4271]
    4      KEEPALIVE       [RFC4271]
    5      ROUTE-REFRESH   [RFC2918]

BGP Path Attributes - per [RFC4271]
Registration Procedures: Assignments are made using either the 
Standards Action process or the Early IANA Allocation process.

Value    Code                              Reference
------   --------------------------------- ---------
     1   ORIGIN                            [RFC4271]
     2   AS_PATH                           [RFC4271]
     3   NEXT_HOP                          [RFC4271]
     4   MULTI_EXIT_DISC                   [RFC4271]
     5   LOCAL_PREF                        [RFC4271]
     6   ATOMIC_AGGREGATE                  [RFC4271]
     7   AGGREGATOR                        [RFC4271]
     8   COMMUNITY                         [RFC1997]
     9   ORIGINATOR_ID                     [RFC4456]
    10   CLUSTER_LIST                      [RFC4456]
    11   DPA                               [Chen]
    12   ADVERTISER                        [RFC1863]
    13   RCID_PATH / CLUSTER_ID            [RFC1863]
    14   MP_REACH_NLRI                     [RFC2283]	
    15   MP_UNREACH_NLRI                   [RFC2283]	
    16   EXTENDED COMMUNITIES              [Rosen] [ext-communities]
    17   AS4_PATH                          [RFC4893]	
    18   AS4_AGGREGATOR                    [RFC4893] 
    19   SAFI Specific Attribute (SSA)     [Nalawade]
    20   Connector Attribute               [Nalawade]
    21   AS_PATHLIMIT                      [draft-ietf-idr-as-pathlimit] 
         (TEMPORARY - Expires 27 October 2007)	
22-254   Unassigned
   255   reserved for development

BGP Error Codes - per [RFC4271]
Registration Procedures: Assignments are made using either the 
Standards Action process or the Early IANA Allocation process.

Value     Name                            Reference
-----     -----------------------------   ---------
    1     Message Header Error            [RFC4271]
    2     OPEN Message Error              [RFC4271]
    3     UPDATE Message Error            [RFC4271]
    4     Hold Timer Expired              [RFC4271]
    5     Finite State Machine Error      [RFC4271]
    6     Cease                           [RFC4271]


BGP Error Subcodes
Registration Procedures: Assignments are made using either the 
Standards Action process or the Early IANA Allocation process.

Message Header Error subcodes:
Value    Name                               Reference
-----    ---------------------------------  ---------
    1    Connection Not Synchronized        [RFC4271]
    2    Bad Message Length                 [RFC4271]
    3    Bad Message Type                   [RFC4271]


OPEN Message Error subcodes:
Value    Name                               Reference
-----    ---------------------------------  ---------
    1    Unsupported Version Number         [RFC4271]
    2    Bad Peer AS                        [RFC4271]      
    3    Bad BGP Identifier                 [RFC4271]   
    4    Unsupported Optional Parameter     [RFC4271]
    5    [Deprecated]                       [RFC4271]
    6    Unacceptable Hold Time             [RFC4271]


UPDATE Message Error subcodes:
Value    Name                               Reference
-----    ---------------------------------  ---------
    1    Malformed Attribute List           [RFC4271]
    2    Unrecognized Well-known Attribute  [RFC4271]
    3    Missing Well-known Attribute       [RFC4271]
    4    Attribute Flags Error              [RFC4271]
    5    Attribute Length Error             [RFC4271]
    6    Invalid ORIGIN Attribute           [RFC4271]
    7    [Deprecated]                       [RFC4271]
    8    Invalid NEXT_HOP Attribute         [RFC4271]
    9    Optional Attribute Error           [RFC4271]
   10    Invalid Network Field              [RFC4271]
   11    Malformed AS_PATH                  [RFC4271]


BGP Cease NOTIFICATION message subcodes - per [RFC4486]
Registration Procedures: Standards Action or Early IANA Allocation process

Value    Name                                 Reference
-----    -----------------------------------  ---------
    1    Maximum Number of Prefixes Reached   [RFC4486]
    2    Administrative Shutdown              [RFC4486]
    3    Peer De-configured                   [RFC4486]
    4    Administrative Reset                 [RFC4486]
    5    Connection Rejected                  [RFC4486]
    6    Other Configuration Change           [RFC4486]
    7    Connection Collision Resolution      [RFC4486]
    8    Out of Resources                     [RFC4486]


References
----------
[RFC1997]  Chandra, R., Traina, P., and T. Li, "BGP Communities
           Attribute", RFC 1997, August 1996.

[RFC1863]  Haskin, D., "A BGP/IDRP Route Server alternative to a full
           mesh routing", RFC 1863, October 1995.

[RFC2283]  Bates, T., et al., "Multiprotocol Extensions for BGP-4", 
           RFC 2283, February 1998.

[RFC2918]  E. Chen, "Route Refresh Capability for BGP-4", RFC 2918,
           September 2000.

[RFC4271]  Y. Rekhter, T. Li, S. Hares, Eds., "A Border Gateway 
           Protocol 4 (BGP-4)", RFC 4271, January 2006.

[RFC4456]  T. Bates, E. Chen, R. Chandra, "BGP Route Reflection: An Alternative 
           to Full Mesh Internal BGP (IBGP)", RFC 4456, April 2006.

[RFC4486]  E. Chen and V. Gillet, "Subcodes for BGP Cease Notification Message",
           RFC 4486, April 2006.

[ext-communities]
           S. R. Sangli, D. Tappan, Y. Rekhter, "BGP Extended Communities Attribute",
           work in progress (draft-ietf-idr-bgp-communities-08.txt).

[draft-ietf-idr-as-pathlimit]
           T. Li, Ed., R. Fernando, Ed. and J. Abley, Ed., 
           "The AS_PATHLIMIT Path Attribute", 
           work in progress, 27 October 2006.	

[RFC4893]  Q. Vohra, E. Chen, "BGP Support for Four-octet AS 
           Number Space",  RFC 4893, May 2007.
		   

People
------
[Chen]      Chen, E., Bates, T., "Destination Preference Attribute for BGP", 
            Work in progress, March 1996.

[E.Chen]    Enke Chen, <enke&redback.com>, August 2001

[Nalawade]  Gargi Nalawade, <gargi&cisco.com>, January 2004, February 2004. 
            (draft-kapoor-nalawade-idr-bgp-ssa-00.txt)
            (draft-nalawade-idr-mde-safi-00.txt)
            (draft-wijnands-mt-discovery-00.txt)

[Rosen]     Eric Rosen <erosen&cisco.com>, March 1999.
            (draft-ramachandra-bgp-ext-communities-00.txt)

[]

