Tag: <span>prefix-set</span>

  Cisco uses RPL (Route Policy Language) while Huawei uses XPL (Extended Route Policy language). Basically they are the same concept but of course the commands are slightly different, though editing the policy or prefix-set requires vi/vim knowlege. Cisco IOS-XR RPL Huawei NE40E XPL Adding Prefix-Set:prefix-set FNT-Prefixes  192.168.0.0/24,  172.16.0.0/23end-set Adding Prefix-Set:xpl ip-prefix-list FNT-Prefixes192.168.0.0 24,172.16.0.0 23end-list Creating Route Policy:route-policy FNT-EXPORT  if (destination in FNT-Prefixes) then    prepend as-path 65555 2  endifend-policy Creating Route Policy:xpl route-filter FNT-EXPORT  if ip route-destination in FNT-Prefixes then  …

Cisco Huawei