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

BDCOM S3740F MPLS как?

Документация отсутствует...

Share this post


Link to post
Share on other sites

Добрый день,

пример конфигурации с 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now