Example of BGP update message sent from Junos device when export policy is modified
Example of BGP update message sent from Junos device when export policy is modifiedOn an existing established neighbour, I have changed the export policy to attach a community for two routes. One bgp update message per route. Below is an example.
Code:
Border Gateway Protocol - UPDATE Message
Marker: ffffffffffffffffffffffffffffffff
Length: 62
Type: UPDATE Message (2)
Unfeasible routes length: 0 bytes
Total path attribute length: 35 bytes
Path attributes
ORIGIN: IGP (4 bytes)
Flags: 0x40 (Well-known, Transitive, Complete)
Type code: ORIGIN (1)
Length: 1 byte
Origin: IGP (0)
AS_PATH: empty (3 bytes)
Flags: 0x40 (Well-known, Transitive, Complete)
Type code: AS_PATH (2)
Length: 0 bytes
AS path: empty
NEXT_HOP: 172.16.0.34 (7 bytes)
Flags: 0x40 (Well-known, Transitive, Complete)
Type code: NEXT_HOP (3)
Length: 4 bytes
Next hop: 172.16.0.34 (172.16.0.34)
MULTI_EXIT_DISC: 20 (7 bytes)
Flags: 0x80 (Optional, Non-transitive, Complete)
Type code: MULTI_EXIT_DISC (4)
Length: 4 bytes
Multiple exit discriminator: 20
LOCAL_PREF: 100 (7 bytes)
Flags: 0x40 (Well-known, Transitive, Complete)
Type code: LOCAL_PREF (5)
Length: 4 bytes
Local preference: 100
COMMUNITIES: 65518:1111 (7 bytes)
Flags: 0xc0 (Optional, Transitive, Complete)
Type code: COMMUNITIES (8)
Length: 4 bytes
Communities: 65518:1111
Network layer reachability information: 4 bytes
192.168.3.0/24
NLRI prefix length: 24
NLRI prefix: 192.168.3.0 (192.168.3.0)