[c-nsp] l2vpn vpls w/bgp autodiscovery - me3600x to asr9k
Aaron
aaron1 at gvtc.com
Sat Jan 5 23:15:14 EST 2013
Yahoo! I had to change asr9k to "signaling-protocol ldp"
(as tshooting goes, I may had superfluous stuff in here by now, so I'll pear
back some later and see what was really needed)
l2vpn
bridge group gr1
bridge-domain bd1
interface GigabitEthernet0/0/0/10.1
!
vfi vf1
vpn-id 100
autodiscovery bgp
rd auto
route-target 64512:100
signaling-protocol ldp
!
!
Me3600 has....
l2 vfi vpls1 autodiscovery
vpn id 100
rd 10.101.12.251:32768
route-target export 64512:100
route-target import 64512:100
Aaron
-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Aaron
Sent: Saturday, January 05, 2013 9:59 PM
To: 'Pete Lumbis'
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] l2vpn vpls w/bgp autodiscovery - me3600x to asr9k
You're right on that Pete. Thanks, I just got that seconds before you told
me from a link I was reading.
That stabilized neighbor session, now I'm trying to get ce's to see each
other.
They aren't currently.
On me3600 I'm seeing. "unkn Invalid Segment"
sv-b-ME3600-test#sh xcon 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 Vl100:100(Eth VLAN) UP vfi vpls1
UP
-- pri vfi vpls1 UP unkn Invalid Segment
--
UP pri bd 100 UP vfi vpls1
UP
.and no prefix rcv'd.
sv-b-ME3600-test#sh bgp l2v vpl al su | be Neighb
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.101.0.254 4 64512 33 37 2 0 0 00:29:00
0
..on 9k I see prefix rcv'd.
RP/0/RSP0/CPU0:sv-b-9k-test1#sh bgp l2 vpls su | be Nei
Sat Jan 5 21:59:20.848 CST
Neighbor Spk AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
St/PfxRcd
10.101.12.251 0 64512 2382 1793 6 0 0 00:29:30
1
RP/0/RSP0/CPU0:sv-b-9k-test1#sh bgp l2 vpls
Sat Jan 5 21:59:42.536 CST
BGP router identifier 10.101.0.254, local AS number 64512
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0 RD version: 3889240856
BGP main routing table version 6
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Rcvd Label Local Label
Route Distinguisher: 64512:100
*>i10.101.12.251/32 10.101.12.251 nolabel nolabel
Route Distinguisher: 10.101.0.254:32768 (default for vrf gr1:bd1)
*> 10:10/32 0.0.0.0 nolabel 16180
Aaron
From: Pete Lumbis [mailto:alumbis at gmail.com]
Sent: Saturday, January 05, 2013 9:38 PM
To: Aaron
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] l2vpn vpls w/bgp autodiscovery - me3600x to asr9k
I think you need to add the "prefix-length-size 2" command when doing VPLS
Autodiscovery between IOS and XR boxes.
http://www.cisco.com/en/US/docs/ios/iproute_bgp/command/reference/irg_bgp4.h
tml#wp1154099
Try that and see if it help.
On Sat, Jan 5, 2013 at 5:50 PM, Aaron <aaron1 at gvtc.com> wrote:
This is my first time trying to get l2vpn vpls w/bgp autodiscovery to
work.please help if you know a simply scenario config that you could share
to make it work with ios xr on one side and me3600x ios vanilla on the other
side.
Trying to get it up between 3 PE nodes where I will run vpls between all 3.
2 are me3600's and 1 is asr9k. I would like the asr9k to be
route-reflector.
I tried and tried first just to get it up between asr9k and one me3600
first..initially l2vpn address family bgp neighbor session came up and
stayed up.this was ONLY after putting in the bgp neighbor and AF configs
under bgp.
BUT, once I added some l2vpn, vfi stuff on asr9k OR l2 vfi xyz auto, vpn-id
stuff on me3600, it all fell apart.
It went through a few iterations of trying various things..during that time
I saw several errors on either side.. Here are some of them incase they look
familiar to you.
Thanks, Aaron
Config.
Asr9k.
router bgp 64512
bgp router-id 10.101.0.254
bgp cluster-id 10
address-family l2vpn vpls-vpws
!
neighbor-group my-rr-clients
remote-as 64512
update-source Loopback0
address-family l2vpn vpls-vpws
route-reflector-client
!
!
neighbor 10.101.12.251
use neighbor-group my-rr-clients
!
neighbor 10.101.12.253
use neighbor-group my-rr-clients
!
l2vpn
bridge group mytestvpls
bridge-domain mytestvpls
vfi mytestvpls
vpn-id 99
autodiscovery bgp
rd 64512:99
route-target 88:99
signaling-protocol bgp
ve-id 10
me3600..
router bgp 64512
bgp router-id 10.101.12.251
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 10.101.0.254 remote-as 64512
neighbor 10.101.0.254 update-source Loopback0
!
address-family ipv4
exit-address-family
!
address-family l2vpn vpls
neighbor 10.101.0.254 activate
neighbor 10.101.0.254 send-community extended
exit-address-family
-ME3600-test#
RP/0/RSP0/CPU0:-9k-test1#sh bgp l2vpn vpls neighbors 10.101.12.251 | be
malform
Sat Jan 5 15:50:02.948 CST
Total malformed UPDATE 490
Last malformed UPDATE 00:00:11
Error subcode 10, attribute code 0, action reset session
Malformed UPDATE: 88 bytes
FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
00580200 00004140 01010240 02008004
04000000 00400504 00000064 C0101000
02FC0000 00006300 0AFC0000 00006380
0E160019 41040A65 0CFB0060 0000FC00
00000063 0A650CFB
RP/0/RSP0/CPU0:Jan 5 15:12:49.069 : bgp[1047]: [iord]: Received OPEN from
10.101.12.251, version 4, holdtime 180 secs
RP/0/RSP0/CPU0:Jan 5 15:12:49.069 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has optional parameter type: 2 (Capability) len: 6
RP/0/RSP0/CPU0:Jan 5 15:12:49.069 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has MULTIPROTOCOL_EXTENSION capability for afi/safi: 25/65
RP/0/RSP0/CPU0:Jan 5 15:12:49.069 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has optional parameter type: 2 (Capability) len: 2
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has ROUTE-REFRESH capability(old) for all address-families
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has optional parameter type: 2 (Capability) len: 2
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has ROUTE-REFRESH capability for all address-families
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has optional parameter type: 2 (Capability) len: 2
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has unrecognized capability code: 70, length 0 (ignored)
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has optional parameter type: 2 (Capability) len: 6
RP/0/RSP0/CPU0:Jan 5 15:12:49.070 : bgp[1047]: [iord]: OPEN from
10.101.12.251 has 4-byte AS capability with AS 64512
RP/0/RSP0/CPU0:Jan 5 15:12:49.071 : bgp[1047]: [iord]:
bgp_io_read_schedule_updgrp: NO updgrp scheduled after Open processing:
nbr=10.101.12.251, nbrfl=0x08314000
RP/0/RSP0/CPU0:Jan 5 15:12:49.071 : bgp[1047]: [iord]: 10.101.12.251 went
from Connect to OpenSent
RP/0/RSP0/CPU0:Jan 5 15:12:49.071 : bgp[1047]: [iord]: Sending OPEN to
10.101.12.251, version 4, my as: 64512, holdtime 180 seconds
RP/0/RSP0/CPU0:Jan 5 15:12:49.071 : bgp[1047]: [iord]: 10.101.12.251 went
from OpenSent to OpenConfirm
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: 10.101.12.251 send
message type 1, length (incl. header) 53
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: Send message dump
for 10.101.12.251:
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: ffff ffff ffff ffff
ffff ffff ffff ffff
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: 0035 0104 fc00 00b4
0a65 00fe 1802 0601
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: 0400 1900 4102 0280
0002 0202 0002 0641
RP/0/RSP0/CPU0:Jan 5 15:12:49.072 : bgp[1047]: [iowt]: 0400 00fc 00
RP/0/RSP0/CPU0:Jan 5 15:12:49.073 : bgp[1047]: [iowt]: 10.101.12.251 send
message type 4, length (incl. header) 19
RP/0/RSP0/CPU0:Jan 5 15:12:49.073 : bgp[1047]: [iowt]: Send message dump
for 10.101.12.251:
RP/0/RSP0/CPU0:Jan 5 15:12:49.073 : bgp[1047]: [iowt]: ffff ffff ffff ffff
ffff ffff ffff ffff
RP/0/RSP0/CPU0:Jan 5 15:12:49.073 : bgp[1047]: [iowt]: 0013 04
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: [iord]: Received message
from 10.101.12.251 with type 4, length (incl. header) 19
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: [iord]: Receive message dump
for 10.101.12.251:
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: [iord]: ffff ffff ffff ffff
ffff ffff ffff ffff
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: [iord]: 0013 04
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: [iord]: 10.101.12.251 went
from OpenConfirm to Established
RP/0/RSP0/CPU0:Jan 5 15:12:49.075 : bgp[1047]: %ROUTING-BGP-5-ADJCHANGE :
neighbor 10.101.12.251 Up (VRF: default)
RP/0/RSP0/CPU0:Jan 5 15:12:49.076 : bgp[1047]: [iord]: Received message
from 10.101.12.251 with type 4, length (incl. header) 19
RP/0/RSP0/CPU0:Jan 5 15:12:49.076 : bgp[1047]: [iord]: Receive message dump
for 10.101.12.251:
RP/0/RSP0/CPU0:Jan 5 15:12:49.076 : bgp[1047]: [iord]: ffff ffff ffff ffff
ffff ffff ffff ffff
RP/0/RSP0/CPU0:Jan 5 15:12:49.076 : bgp[1047]: [iord]: 0013 04
RP/0/RSP0/CPU0:Jan 5 15:12:49.077 : bgp[1047]: BGP:vpws invlaid type in TLV
- type 0
RP/0/RSP0/CPU0:Jan 5 15:12:49.077 : bgp[1047]: [rtr]: Sending NOTIFICATION
3/10 (illegal network) to 10.101.12.251 (1 bytes: )
RP/0/RSP0/CPU0:Jan 5 15:12:49.077 : bgp[1047]: [iowt]: 10.101.12.251 send
message type 3, length (incl. header) 22
RP/0/RSP0/CPU0:Jan 5 15:12:49.077 : bgp[1047]: [rtr]: 10.101.12.251 went
from Established to Closing
RP/0/RSP0/CPU0:Jan 5 15:12:49.077 : bgp[1047]: [iowt]: Send message dump
for 10.101.12.251:
RP/0/RSP0/CPU0:Jan 5 15:12:49.078 : bgp[1047]: %ROUTING-BGP-5-ADJCHANGE :
neighbor 10.101.12.251 Down - BGP Notification sent, illegal network (VRF:
default)
RP/0/RSP0/CPU0:Jan 5 15:12:49.078 : bgp[1047]: [iowt]: ffff ffff ffff ffff
ffff ffff ffff ffff
RP/0/RSP0/CPU0:Jan 5 15:12:49.078 : bgp[1047]: [iowt]: 0016 0303 0a60
RP/0/RSP0/CPU0:Jan 5 15:12:49.079 : bgp[1047]: [event]: 10.101.12.251 reset
due to BGP Notification sent
RP/0/RSP0/CPU0:Jan 5 15:12:51.081 : bgp[1047]: [event]: 10.101.12.251 went
from Closing to Idle
RP/0/RSP0/CPU0:Jan 5 15:12:51.081 : bgp[1047]: [event]: Neighbor
10.101.12.253 has advertised all L2VPN VPLS routes. No routes were purged.
..after making some changes.saw this on me3600 side.
-ME3600-test#
Jan 5 16:35:04: BGP: 10.101.0.254 active KEEPALIVE write request serviced
in BGP_IO
Jan 5 16:35:04: BGP: 10.101.0.254 active service 2 read request in BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 active KEEPALIVE write request serviced
in BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 active service 2 read request in BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 active service 2 read request in BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 active KEEPALIVE requested (rcv_open)
Jan 5 16:35:06: BGP: ses global 10.101.0.254 (0xF0BC0CC:0) act service
keepalive IO request.
Jan 5 16:35:06: BGP: 10.101.0.254 active received KEEPALIVE, length (excl.
header) 0
Jan 5 16:35:06: %BGP-5-ADJCHANGE: neighbor 10.101.0.254 Up
Jan 5 16:35:06: BGP: 10.101.0.254 KEEPALIVE write request serviced in
BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 service 1 read request in BGP_IO
Jan 5 16:35:06: BGP: 10.101.0.254 KEEPALIVE requested (bgp_tx_converged)
Jan 5 16:35:06: BGP: ses global 10.101.0.254 (0xF0BC0CC:1) service
keepalive IO request.
Jan 5 16:35:06: BGP: 10.101.0.254 KEEPALIVE write request serviced in
BGP_IO
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 32768:0:0.0.0.0/17
received - ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP(9): 10.101.0.254 rcvd UPDATE w/ attr: nexthop
10.101.0.254, origin i, localpref 100, extended community RT:88:99
0x800A:4864:98304000
Jan 5 16:35:11: BGP(9): 10.101.0.254 rcvd 10:10:656371:65.0.0.0/99 --
DENIED due to: extended community not supported;
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
.....
i deleted tons of these entries...so many just like this...
.....
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: BGP: 10.101.0.254 martian network 0:0:0.0.0.0/0 received -
ignored
Jan 5 16:35:11: %BGP-5-ADJCHANGE: neighbor 10.101.0.254 Down BGP
Notification sent
Jan 5 16:35:11: %BGP-3-NOTIFICATION: sent to neighbor 10.101.0.254 3/10
(illegal network) 1 bytes FD
Jan 5 16:35:11: BGP: 10.101.0.254 bogus update route prefix received
Jan 5 16:35:11: %BGP-4-MSGDUMP: unsupported or mal-formatted message
received from 10.101.0.254:
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0058 0200 0000 4140 0101 0040 0200
4005
0400 0000 64C0 1010 0002 0058 0000 0063 800A 1300 05DC 0000 900E 001C 0019
4104
0A65 00FE 0000 1100 00FC 0000 0000 6300 0A00 0A00 0A03 F341
Jan 5 16:35:11: BGP: 10.101.0.254 received KEEPALIVE, length (excl. header)
0
Jan 5 16:35:11: BGP: 10.101.0.254 KEEPALIVE write request serviced in
BGP_IO
-ME3600-test#
-ME3600-test#
Jan 5 16:35:15: %BGP_SESSION-5-ADJCHANGE: neighbor 10.101.0.254 L2VPN Vpls
topology base removed from session BGP Notification sent
-ME3600-test#
-ME3600-test#u all
All possible debugging has been turned off
-ME3600-test#sh bgp l2vpn vpls a su
BGP router identifier 10.101.12.251, local AS number 64512
BGP table version is 1, main routing table version 1
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
10.101.0.254 4 64512 0 0 1 0 0 00:00:13
Idle
-ME3600-test#
Jan 5 16:35:28: %BGP-5-ADJCHANGE: neighbor 10.101.0.254 Up
Jan 5 16:35:33: %BGP-5-ADJCHANGE: neighbor 10.101.0.254 Down BGP
Notification sent
Jan 5 16:35:33: %BGP-3-NOTIFICATION: sent to neighbor 10.101.0.254 3/10
(illegal network) 1 bytes FD
Jan 5 16:35:33: %BGP-4-MSGDUMP: unsupported or mal-formatted message
received from 10.101.0.254:
FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0058 0200 0000 4140 0101 0040 0200
4005
0400 0000 64C0 1010 0002 0058 0000 0063 800A 1300 05DC 0000 900E 001C 0019
4104
0A65 00FE 0000 1100 00FC 0000 0000 6300 0A00 0A00 0A03 F341
-ME3600-test#
Jan 5 16:35:38: %BGP_SESSION-5-ADJCHANGE: neighbor 10.101.0.254 L2VPN Vpls
topology base removed from session BGP Notification sent
_______________________________________________
cisco-nsp mailing list cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
More information about the cisco-nsp
mailing list