[c-nsp] Cisco Juniper Xconnect
Mohammad Khalil
eng_mssk at hotmail.com
Sun Apr 24 06:51:33 EDT 2016
Hi all
Am trying to simulate xconnect between Cisco and Juniper using GNS3
will it work in the first manner on GNS3? if so , please check my conf below
R2 - R1 - J1 - R3
R2
interface FastEthernet0/0
no ip address
speed 100
full-duplex
interface FastEthernet0/0.23
encapsulation dot1Q 23
ip address 192.168.23.2 255.255.255.0
R3
interface FastEthernet0/0
no ip address
speed 100
full-duplex
interface FastEthernet0/0.23
encapsulation dot1Q 23
ip address 192.168.23.3 255.255.255.0
R1
router ospf 1
router-id 1.1.1.1
network 1.1.1.1 0.0.0.0 area 0
network 192.168.101.1 0.0.0.0 area 0
interface FastEthernet1/0
ip address 192.168.101.1 255.255.255.0
speed 100
duplex full
mpls ip
mpls mtu 1514
interface FastEthernet1/1
no ip address
speed 100
duplex full
interface FastEthernet1/1.23
encapsulation dot1Q 23
xconnect 10.10.10.10 23 encapsulation mpls pw-class MSSK
pseudowire-class MSSK
encapsulation mpls
interworking vlan
no control-word
J1
set version 12.1R1.9
set system root-authentication encrypted-password cisco123
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em0 mtu 1514
set interfaces em0 unit 0 family inet address 192.168.101.10/24
set interfaces em0 unit 0 family mpls mtu 1500
set interfaces em1 vlan-tagging
set interfaces em1 unit 23 encapsulation vlan-ccc
set interfaces em1 unit 23 vlan-id 23
set interfaces em1 unit 23 family ccc
set interfaces lo0 unit 0 family inet address 10.10.10.10/32
set protocols mpls interface em0.0
set protocols mpls interface lo0.0
set protocols ospf area 0.0.0.0 interface em0.0
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols ldp interface em0.0
set protocols ldp interface lo0.0
set protocols l2circuit neighbor 1.1.1.1 interface em1.23 virtual-circuit-id 23
set protocols l2circuit neighbor 1.1.1.1 interface em1.23 mtu 1500
set protocols l2circuit neighbor 1.1.1.1 interface em1.23 encapsulation-type ethernet-vlan
set protocols l2circuit neighbor 1.1.1.1 interface em1.23 ignore-encapsulation-mismatch
set protocols l2circuit neighbor 1.1.1.1 interface em1.23 ignore-mtu-mismatch
R1#sh xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP pri ac Fa1/1.23:23(Eth VLAN) UP mpls 10.10.10.10:23 UP
R1#sh mpls l2transport vc 23 detail
Local interface: Fa1/1.23 up, line protocol up, Eth VLAN 23 up
Destination address: 10.10.10.10, VC ID: 23, VC status: up
Output interface: Fa1/0, imposed label stack {299776}
Preferred path: not configured
Default path: active
Next hop: 192.168.101.10
Create time: 00:09:08, last status change time: 00:09:08
Last label FSM state change time: 00:09:08
Signaling protocol: LDP, peer 10.10.10.10:0 up
Targeted Hello: 1.1.1.1(LDP Id) -> 10.10.10.10, LDP is UP
Status TLV support (local/remote) : enabled/not supported
LDP route watch : enabled
Label/status state machine : established, LruRru
Last local dataplane status rcvd: No fault
Last BFD dataplane status rcvd: Not sent
Last BFD peer monitor status rcvd: No fault
Last local AC circuit status rcvd: No fault
Last local AC circuit status sent: No fault
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: Not sent
Last remote LDP ADJ status rcvd: No fault
MPLS VC labels: local 19, remote 299776
Group ID: local 0, remote 0
MTU: local 1500, remote 1500
Remote interface description:
Remote VLAN id: 23
Sequencing: receive disabled, send disabled
Control Word: Off
Dataplane:
SSM segment/switch IDs: 4112/4109 (used), PWID: 1
VC statistics:
transit packet totals: receive 0, send 5
transit byte totals: receive 0, send 410
transit packet drops: receive 0, seq error 0, send 0
R2#ping 192.168.23.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Thanks
BR,
Mohammad
More information about the cisco-nsp
mailing list