[c-nsp] l2vpn vpls w/bgp autodiscovery - me3600x to asr9k

Aaron aaron1 at gvtc.com
Sat Jan 5 17:50:55 EST 2013


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

 

 



More information about the cisco-nsp mailing list