Jump to content
Калькуляторы

BDCOM S3740F MPLS как?

Добрый день,

пример конфигурации с L2 VPN . Порт в сторону CE - Gi0/1, в сторону MPLS - Gi0/6.

 

mpls ip

mpls ldp discovery targeted-hello accept

mpls ldp neighbor 10.0.0.2 targeted

mpls ldp router-id 10.0.0.1

!

mpls l2vpn

mpls vfi red vpls

pwid 100

neighbor 10.0.0.2 encapsulation mpls

!

mpls vfi blue vpls

pwid 200

neighbor 10.0.0.2 encapsulation mpls

!

interface Null0

!

interface Loopback0

ip address 10.0.0.1 255.255.255.255

no ip directed-broadcast

!

interface GigaEthernet0/1

switchport mode trunk

switchport mpls l2vpn vfi red

switchport mpls l2vpn vfi blue

!

interface GigaEthernet0/2

!

interface GigaEthernet0/3

!

interface GigaEthernet0/4

!

interface GigaEthernet0/5

!

interface GigaEthernet0/6

switchport pvid 30

!

interface GigaEthernet0/7

!

interface TGigaEthernet1/8

!

interface VLAN1

ip address 192.168.0.1 255.255.255.0

no ip directed-broadcast

!

interface VLAN2

ip address 2.1.1.1 255.255.255.0

no ip directed-broadcast

mpls l2vpn vfi red

!

interface VLAN3

no ip address

no ip directed-broadcast

mpls l2vpn vfi blue

!

interface VLAN30

ip address 20.1.1.1 255.255.255.0

no ip directed-broadcast

mpls ip

mpls ldp enable

!

!

vlan 1-100,1000

!

!

no ip igmp-proxy enable

!

router ospf 1

network 10.0.0.1 255.255.255.255 area 0

network 20.1.1.0 255.255.255.0 area 0

!

ip exf

!

ipv6 exf

!

ip http server

!

line console 0

exec-timeout 0

!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.