This article provides configuration to change BGP-LS Identifier and instance identifier
From link-state distribute using BGP , BGP-LS identifier and instance identifier could be configured
Protocol-ID—NLRI originates with the following protocol values:
ISIS-L1
ISIS-L2
OSPF
SPRING-TE
Identifier—This value is configurable. By default, the identifier value is set to 0.
Local/Remote node descriptor—These include:
Autonomous system
BGP-LS Identifier—This value is configurable. By default, the BGP-LS identifier value is set to 0
Area-ID
IGP router-ID
To configure the Identifier/BGP-LS Identifier, use following command:
lab@Router# set protocols mpls traffic-engineering database import ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
bgp-ls-identifier BGP-TE domain identifier
identifier BGP-TE identifier (2..18446744073709551615)
ipv6 Import ipv6 addresses
> l3-unicast-topology Download L3-Unicast topology into RIB
+ policy Configure import policy
For example:
lab@Router# run show route table lsdist.0 te-node-iso 0000.0000.0003.00 extensive
lsdist.0: 61 destinations, 61 routes (61 active, 0 holddown, 0 hidden)
NODE { ISO:0000.0000.0003.00 ISIS-L2:0 }/1216 (1 entry, 1 announced)
|----- identifier is 0
TSI:
Page 0 idx 0, (group ext type External) Type 1 val 0xa2b232c (adv_entry)
Advertised metrics:
Nexthop: Self
AS path: [65000] I
Communities:
Advertise: 00000001
Path NODE { ISO:0000.0000.0003.00 ISIS-L2:0 }
Vector len 4. Val: 0
*IS-IS Preference: 18
Level: 2
Next hop type: Fictitious, Next hop index: 0
Address: 0x7b3f6a4
Next-hop reference count: 33, key opaque handle: 0x0, non-key opaque handle: 0x0
Next hop:
State: <Active NotInstall>
Age: 11
Validation State: unverified
Task: IS-IS
Announcement bits (1): 0-BGP_RT_Background
AS path: I
IPv4 Router-ids:
1.1.1.3
Area border router: No
External router: No
Attached: No
Overload: No
Hostname: r3_re
Area membership:
49 00 01
SPRING-Capabilities:
- SRGB block [Start: 100000, Range: 65535, Flags: 0xc0]
SPRING-Algorithms:
- Algo: 0
- Algo: 1
SRV6 Capable: - Flags: 0
SRV6 Node MSD:
- Type: 41, Value: 6
- Type: 42, Value: 7
- Type: 43, Value: 5
- Type: 44, Value: 6
- Type: 45, Value: 6
Thread: junos-main
lab@Router# set protocols mpls traffic-engineering database import bgp-ls-identifier 10
lab@Router# set protocols mpls traffic-engineering database import identifier 2
NODE { BGP-LS ID:10 ISO:0000.0000.0003.00 ISIS-L2:2 }/1216 (1 entry, 1 announced)
| |--- instance identifier changed to 2
|-------------------------------------------------- bgp-ls identifier is 10
Page 0 idx 0, (group ext type External) Type 1 val 0x9f484d8 (adv_entry)
Path NODE { BGP-LS ID:10 ISO:0000.0000.0003.00 ISIS-L2:2 }
Age: 6