<AR9>
#
interface GigabitEthernet0/0/0
ip address 12.1.1.1 255.255.255.0 //配置IP地址
#
interface GigabitEthernet0/0/1
ip address 192.168.1.254 255.255.255.0
#
ospf 1 router-id 1.1.1.1 //配置ospf
area 0.0.0.0
network 12.1.1.0 0.0.0.255
network 192.168.1.0 0.0.0.255
<ar10>
#
ip vpn-instance 1 创建vpn实例1
ipv4-family
route-distinguisher 1:1
vpn-target 200:1 export-extcommunity
vpn-target 100:1 import-extcommunity
#
mpls lsr-id 2.2.2.2
mpls
lsp-trigger all
#
mpls ldp
#
isis 1
is-level level-2
network-entity 49.0001.0000.0000.0001.00
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip binding vpn-instance 1
ip address 12.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1