Zte ZXR10 5900E series Configuration Manual page 83

Easy-maintenance mpls routing switch
Hide thumbs Also See for ZXR10 5900E series:
Table of Contents

Advertisement

Chapter 2 MPLS L2VPN Configuration
ZXR10(config)#interface loopback1
ZXR10(config-if-loopback1)#ip address 1.1.1.1 255.255.255.255
ZXR10(config-if-loopback1)#exit
ZXR10(config)#ip route 1.1.1.2 255.255.255.255 10.1.1.2
ZXR10(config)#mpls ldp instance 1
ZXR10(config-ldp-1)#router-id loopback1
ZXR10(config-ldp-1)#interface vlan1
ZXR10(config-ldp-1-if-vlan1)#exit
ZXR10(config-ldp-1)#exit
ZXR10(config)#pw pw1
ZXR10(config)#interface vlan2
ZXR10(config-if-vlan2)#exit
ZXR10(config)#mpls l2vpn enable
ZXR10(config)#vpws test
ZXR10(config-vpws-test)#mtu 100
ZXR10(config-vpws-test)#access-point vlan2
ZXR10(config-vpws-test-ac-vlan2)#access-params ethernet
ZXR10(config-vpws-test-ac-vlan2-eth)#exit
ZXR10(config-vpws-test-ac-vlan2)#exit
ZXR10(config-vpws-test)#pseudo-wire pw1
ZXR10(config-vpws-test-pw-pw1)#neighbour 1.1.1.2 vcid 100
ZXR10(config-vpws-test-pw-pw1-neighbour-1.1.1.2)#exit
ZXR10(config-vpws-test-pw-pw1)#exit
ZXR10(config-vpws-test)#exit
ZXR10(config)#
Run the following commands on PE2:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#no shutdown
ZXR10(config-if-gei-0/1/1/1)#exit
ZXR10(config)#interface vlan1
ZXR10(config-if-vlan1)#ip address 10.1.1.2 255.255.255.0
ZXR10(config-if-vlan1)#no shutdown
ZXR10(config-if-vlan1)#exit
ZXR10(config)#interface loopback1
ZXR10(config-if-loopback1)#ip address 1.1.1.2 255.255.255.255
ZXR10(config-if-loopback1)#exit
ZXR10(config)#ip route 1.1.1.1 255.255.255.255 10.1.1.1
ZXR10(config)#mpls ldp instance 1
ZXR10(config-ldp-1)#router-id loopback1
ZXR10(config-ldp-1)#interface vlan1
ZXR10(config-ldp-1-if-vlan1)#exit
ZXR10(config-ldp-1)#exit
ZXR10(config)#pw pw1
ZXR10(config)#interface vlan2
2-29
SJ-20150114102049-016|2015-03-10 (R1.0)
ZTE Proprietary and Confidential

Advertisement

Table of Contents
loading

Table of Contents