pe1
[pe1]dis current-configuration
ip vpn-instance vpn
ipv4-family
route-distinguisher 100:100
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
mpls lsr-id 2.2.2.2
mpls
segment-routing //开启sr功能
interface Ethernet1/0/0
undo shutdown
ip address 10.0.23.2 255.255.255.0
undo dcn
undo dcn mode vlan
interface Ethernet1/0/1
undo shutdown
ip binding vpn-instance vpn
ip address 172.16.0.1 255.255.255.0
undo dcn
undo dcn mode vlan
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
ospf prefix-sid index