NE1
sysname pe1
ip vpn-instance vpn
ipv4-family
route-distinguisher 1:1
vpn-target 100:100 export-extcommunity
vpn-target 100:100 import-extcommunity
segment-routing ipv6 //建立srv6-BE路径
encapsulation source-address 2000::1 //用自己的回环口地址建立node sid
locator test ipv6-prefix 2000:1::1 64 static 32 //funcation用默认的动态自动生成
isis 1
is-level level-2
cost-style wide
network-entity 49.0001.0000.0000.0001.00
ipv6 enable topology ipv6
segment-routing ipv6 locator test //调用上面的名为test的locator,用isis扩散出去
interface Ethernet1/0/0
undo shutdown