| Implementation | Version | configuration example | reference |
|---|---|---|---|
| FRR | 9.0 | yes | FRR |
| Features | Section | FRR | Huawei VRP | Notes |
|---|---|---|---|---|
| Node Target Extended Community Transitive (0x01) | 2.0 | yes | send and receive | |
| Node Target Extended Community Non-Transitive (0x41) | 2.0 | yes | send and receive | |
| Node Target Ext. Community match BGP ID | 3.0 | yes | ||
| Node Target Ext. Community non-match BGP ID | 3.0 | yes |
(.dense)
set extcommunity nt EXTCOMMUNITY
nt: Stands for Node Target.
EXTCOMMUNITY: Formatted as either : or :, representing the target BGP Identifier (Router ID).
-Target Validation: When an FRR BGP router receives a path with a Node Target Extended Community, it checks the embedded value.
-Installation Criteria: If the community contains the receiving router's own local BGP Identifier, it processes and installs the route.Drop Rule: If the Node Target does not match the local router's BGP Identifier, the route is discarded and not installed into the routing table.
route-policy SET-NODE-TARGET permit node 10
apply extcommunity node-target 192.168.1.1:100 additive
Step-by-Step Configuration Example
This scenario shows how to create a route-map that applies a Node Target extended community to matching prefixes and attaches it to an outbound BGP neighbor.
text
Create a route map (e.g., named SET-NODE-TARGET) and specify the match conditions and the node target action.
router(config)# route-map SET-NODE-TARGET permit 10
router(config-route-map)# match ip address prefix-list MY-PREFIXES
router(config-route-map)# set extcommunity nt 65000:192.168.1.5
router(config-route-map)# exit
router(config)# router bgp 65000
router(config-router)# neighbor 10.0.0.2 remote-as 65001
router(config-router)# address-family ipv4 unicast
router(config-router-af)# neighbor 10.0.0.2 route-map SET-NODE-TARGET out
router(config-router-af)# neighbor 10.0.0.2 send-community extended
router(config-router-af)# end
ip extcommunity-list number 10 permit node-target ipv4 192.168.1.1
Configure a route-policy to apply or match the node-target attribute
route-policy SET-NODE-TARGET permit node 10
apply extcommunity node-target 192.168.1.1 additive
bgp 65001
peer 192.168.2.2 connect-interface LoopBack0
ipv4-family unicast
peer 192.168.2.2 enable
peer 192.168.2.2 route-policy SET-NODE-TARGET export