ensp使用mpls-vpn +ospf+bgp+ISIS实现网络通信

<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

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值