Bgp no-peer community
Could an expert help me understand bgp NO-PEER community as mentioned in
http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_6-2/bgp_communities.html?
Kashish
It is basically a way to restrict who you advertise routes to. There is an RFC for it, it is quite a short document so it won't take too long to read and it explains it more clearly than i could -
https://tools.ietf.org/html/rfc3765
Jon
Similar Messages
-
Hey all,
Is there a way that the BGP VPNv4 peer table can be monitored like the global BGP table (1.3.6.1.2.1.15)
[root@lenny ~]# snmpwalk -v 2c -c snmpro 192.168.255.129 -m all 1.3.6.1.2.1.15
BGP4-MIB::bgpVersion.0 = Hex-STRING: 10
BGP4-MIB::bgpLocalAs.0 = INTEGER: 64750
BGP4-MIB::bgpPeerIdentifier.192.168.255.130 = IpAddress: 192.168.255.130
BGP4-MIB::bgpPeerIdentifier.192.168.255.131 = IpAddress: 192.168.255.131
BGP4-MIB::bgpPeerIdentifier.192.168.255.132 = IpAddress: 192.168.255.132
BGP4-MIB::bgpPeerState.192.168.255.130 = INTEGER: established(6)
BGP4-MIB::bgpPeerState.192.168.255.131 = INTEGER: established(6)
BGP4-MIB::bgpPeerState.192.168.255.132 = INTEGER: established(6)
ROUTER#show ip bgp vpnv4 all summary
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.98.128.222 4 64774 75 77 8 0 0 00:08:08 1
192.168.255.130 4 64750 145 142 8 0 0 02:15:47 0
192.168.255.131 4 64750 139 142 8 0 0 02:15:50 0
192.168.255.132 4 64750 139 142 8 0 0 02:15:43 0
Notice that the 10.98.128.222 peering is not in the global BGP table that SNMP reads?
The closest that I can get is to put a threshold on the amount of prefix recieved via a peering:
CISCO-BGP4-MIB::cbgpPeerAcceptedPrefixes.10.98.128.222.ipv4.vpn = Counter32: 1
CISCO-BGP4-MIB has no table contructs that resemble the ones in BGP4-MIB
Cheers
Adam ClarkHere you go
ROUTER#show running-config
Building configuration...
*Mar 1 06:04:07.590: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 6042 bytes
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname ROUTER
boot-start-marker
boot-end-marker
no aaa new-model
memory-size iomem 5
ip cef
ip vrf TP_CORE
rd 64750:400
route-target export 64750:400
route-target import 64750:400
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
archive
log config
hidekeys
interface Loopback0
ip address 192.168.255.130 255.255.255.255
ip ospf 1 area 0
interface Loopback100
no ip address
interface FastEthernet0/0
ip address 192.168.255.3 255.255.255.248
ip ospf 1 area 0
duplex auto
speed auto
mpls ip
interface FastEthernet0/1
ip vrf forwarding TP_CORE
ip address 10.98.128.225 255.255.255.252
duplex auto
speed auto
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
router ospf 1
log-adjacency-changes
router bgp 64750
no synchronization
bgp log-neighbor-changes
neighbor VPNv4PG peer-group
neighbor VPNv4PG remote-as 64750
neighbor VPNv4PG update-source Loopback0
neighbor VPNv4PG send-community both
neighbor 192.168.255.129 peer-group VPNv4PG
neighbor 192.168.255.131 peer-group VPNv4PG
neighbor 192.168.255.132 peer-group VPNv4PG
no auto-summary
address-family vpnv4
neighbor VPNv4PG send-community extended
neighbor VPNv4PG next-hop-self
neighbor 192.168.255.129 activate
neighbor 192.168.255.131 activate
neighbor 192.168.255.132 activate
exit-address-family
address-family ipv4 vrf TP_CORE
neighbor TPPG peer-group
neighbor TPPG remote-as 64774
neighbor TPPG send-community both
neighbor TPPG route-map BGP-VRF-Peers in
neighbor TPPG route-map TP_CORE_PEER_SECONDARY out
neighbor 10.98.128.226 peer-group TPPG
neighbor 10.98.128.226 activate
no synchronization
exit-address-family
ip forward-protocol nd
ip bgp-community new-format
ip community-list standard AS64750-Local-Pref-300 permit 64750:30
ip community-list standard AS64750-Local-Pref-400 permit 64750:40
ip community-list standard AS64750-Local-Pref-500 permit 64750:50
ip community-list standard AS64750-Local-Pref-200 permit 64750:20
ip http server
no ip http secure-server
ip access-list standard snmp-access
snmp-server community snmpro RO snmp-access
snmp-server trap-source Loopback0
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps vrrp
snmp-server enable traps ds1
snmp-server enable traps tty
snmp-server enable traps eigrp
snmp-server enable traps xgcp
snmp-server enable traps flash insertion removal
snmp-server enable traps ds3
snmp-server enable traps envmon
snmp-server enable traps icsudsu
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps isdn chan-not-avail
snmp-server enable traps isdn ietf
snmp-server enable traps ds0-busyout
snmp-server enable traps ds1-loopback
snmp-server enable traps atm subif
snmp-server enable traps bgp
snmp-server enable traps bulkstat collection transfer
snmp-server enable traps cnpd
snmp-server enable traps config-copy
snmp-server enable traps config
snmp-server enable traps dial
snmp-server enable traps dsp card-status
snmp-server enable traps entity
snmp-server enable traps event-manager
snmp-server enable traps frame-relay
snmp-server enable traps frame-relay subif
snmp-server enable traps hsrp
snmp-server enable traps ipmobile
snmp-server enable traps ipmulticast
snmp-server enable traps mpls ldp
snmp-server enable traps mpls traffic-eng
snmp-server enable traps mpls vpn
snmp-server enable traps msdp
snmp-server enable traps mvpn
snmp-server enable traps ospf state-change
snmp-server enable traps ospf errors
snmp-server enable traps ospf retransmit
snmp-server enable traps ospf lsa
snmp-server enable traps ospf cisco-specific state-change nssa-trans-change
snmp-server enable traps ospf cisco-specific state-change shamlink interface-old
snmp-server enable traps ospf cisco-specific state-change shamlink neighbor
snmp-server enable traps ospf cisco-specific errors
snmp-server enable traps ospf cisco-specific retransmit
snmp-server enable traps ospf cisco-specific lsa
snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
snmp-server enable traps pppoe
snmp-server enable traps cpu threshold
snmp-server enable traps rsvp
snmp-server enable traps rtr
snmp-server enable traps syslog
snmp-server enable traps l2tun session
snmp-server enable traps vsimaster
snmp-server enable traps vtp
snmp-server enable traps isakmp policy add
snmp-server enable traps isakmp policy delete
snmp-server enable traps isakmp tunnel start
snmp-server enable traps isakmp tunnel stop
snmp-server enable traps ipsec cryptomap add
snmp-server enable traps ipsec cryptomap delete
snmp-server enable traps ipsec cryptomap attach
snmp-server enable traps ipsec cryptomap detach
snmp-server enable traps ipsec tunnel start
snmp-server enable traps ipsec tunnel stop
snmp-server enable traps ipsec too-many-sas
snmp-server enable traps rf
snmp-server enable traps voice poor-qov
snmp-server enable traps voice fallback
snmp-server enable traps dnis
snmp-server host 10.17.10.20 snmpro
route-map TP_CORE_PEER_SECONDARY permit 10
set metric 200
route-map BGP-VRF-Peers permit 10
match community AS64750-Local-Pref-200
continue
set local-preference 200
route-map BGP-VRF-Peers permit 20
match community AS64750-Local-Pref-300
continue
set local-preference 300
route-map BGP-VRF-Peers permit 30
match community AS64750-Local-Pref-400
continue
set local-preference 400
route-map BGP-VRF-Peers permit 40
match community AS64750-Local-Pref-500
continue
set local-preference 500
route-map BGP-VRF-Peers permit 65535
mpls ldp router-id Loopback0
control-plane
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
end
ROUTER#show version
Cisco IOS Software, 3700 Software (C3725-ADVIPSERVICESK9-M), Version 12.4(23), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Sun 09-Nov-08 01:12 by prod_rel_team
ROM: ROMMON Emulation Microcode
ROM: 3700 Software (C3725-ADVIPSERVICESK9-M), Version 12.4(23), RELEASE SOFTWARE (fc1)
ANZDCMWPER2 uptime is 6 hours, 4 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].
Cisco 3725 (R7000) processor (revision 0.1) with 249856K/12288K bytes of memory.
Processor board ID XXXXXXXXXXX
R7000 CPU at 240MHz, Implementation 39, Rev 2.1, 256KB L2, 512KB L3 Cache
4 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity enabled.
55K bytes of NVRAM.
Configuration register is 0x2102 -
RTMFPTurnProxy for peer to peer communication in proxy connection
Which server ip i have to mention in mms.cfg against Rtmfpturnproxy either the fms server ip or the deployment server for peer to peer communication
For peer to peer communication, it is said to add a variable RTMFPTURNProxy in mms.cfg and assign the value the ip address of the turn server. The mms.cfg file is not in the specified location in my windows 7 system. It is mentioned that Flash Player only supports IETF BEHAVE TURN draft 8, not the current TURN RFC. So i create the mms.cfg file with the UTF-8 format in textpad and add the function RTMFPTURNProxy and assign the value of the AMS server ip. Still I could not connect to the server and received NetConnection failed message in proxy internet connection.
My doubt is which ip address the RTMFPTURNProxy should refer. The AMS server or the application deployed server or something the assigned public address. Should I need to do anything regarding the mms.cfg file. What are the conditions I need to check for peer to peer communications in proxy connection? My heartfelt gratitude for any helping mind. Thanks in advance.The provider system in soamanager must have the same name as in table BBP_BACKEND_DEST field SLD_SYS_NAME (System Landscape Directory Name).
-
Hi,
Recently came into one concenpt, " bgp slow peer " for PE or RR
In our network we have 2 no RR & all RR are having ibgp with PE router
So, in that above case the feature will give any faster convergence
What are the pros/cons of this feature
Br/subhojitHi,
Slow peer in BGP is a feature that works in conjunction with BGP update groups. Update groups are formed automatically in BGP for iBGP and eBGP neighbors. Neighbors with the same outbound policy end up in the same update group. The BGP update is then created once and replicate to all other neighbors in the update group. This is more efficient than creating one BGP update for each neighbor seperately. Slow peer feature will detect if a peer is slowing in processing received BGP messages. That peer will be moved out of the update group. The reason is that one slow peer can slow down the whole update group, which has potentially many neighbors. So, the more neighbors in an update group, the effect will be greater of the slow peer feature. In the end, slow peer feature makes convergence go faster, if there is one or more slow BGP peer. This feature can benefit BGP everywhere, on RR, PE or any BGP router. Remember, the more BGP neighbors with the same outbound policy, the greater the effect can be. Likely, the RRs do not have different or any outbound policy on the iBGP sessions, so there it can be very useful. Also, it might benefit the PE-CE sessions, if you have more than one per VRF at least.
Thanks,
Luc -
Hello,
After looking for some days, We have no more ideas how to get following behaviour, so, if someone could help us, we would be really gratefully.
Our scenario is:
- We have two peers (peerA and peerB)
- We have two networks (/24) (networkA and networkB)
- We have BGP sessions with both peers.
- peerA has priority against peerB for a specific guest (all traffic are being served by peerA, doesn't matter if it is from networkA or networkB)
How could configure our cisco to be able to do:
- peerB has more priority when guests visit networkB
- peerA has more priority when guests visit networkA
So, we cannot apply #neighbor X.X.X.X weight rule because it would affect also networkA and networkB.
We read about local-preferences, weights, metrics,... but it affects all our networks, and only modify priority of external prefixs. Also, peerA and peerB have to announce all networks, networkA and networkB, for redundancy.
How could we configure it? Which is the best way?
Thank you,Hello Collin,
Maybe I didn't explain it correctly.
My scenario is:
GUEST
| |
peerA peerB
| |
MY ROUTER
In my router I have 2 networks, networkA and networkB
For example a hosting service, if I have a webA on networkA and webB on networkB.
By default, if GUEST visit webA, data of webA will be sent by best peer (for example peerA), and if GUEST visit webB, data will be sent by peerA again (because it is my best bgp peer for this guest)
What I try to configure is that;
- if GUEST visit webA, data will be sent by peerA
- if GUEST visit webB, data will be sent by peerB
So, same GUEST would receive data of different peer.
If I use local-pref, it means that diferent GUESTS will receive data for diferent peer, but the same guest always will receive data by same peer. Am I wrong? If I am wrong, could you link me an example?
Regards, -
Hi Guys ,
how can i configure bgp soo community in IPV4 network enviorment ? i have BGP IPv4 running in my network . no vrf's no vpnv4 bgp.. Simple IPv4 BGP with some IBGP and EBGP peers.i wanna advertise a network with soo community . how could i do this. any ideas please. and how can i verify that soo community is being advertised ..
here is what i tried.
address-family ipv4
neighbor x.x.x.x activate
neighbor x.x.x.x send-community both
neighbor x.x.x.x next-hop-self
neighbor x.x.x.x activate
neighbor x.x.x.x send-community both
neighbor x.x.x.x route-map med out
no auto-summary
network 10.1.75.0 mask 255.255.255.0 route-map extendcom
exit-address-family
route-map extendcom permit 30
set extcommunity soo 1001:1001
regards
amithello Amit,
see the answers in WAN ... forum
Best Regards
Giuseppe -
I am new to p2p approach. I want example p2p between java and MS.net
I am new to p2p approach. I want example p2p between
java and MS.netAs Nanook and Ceci are telling you, each in his own colorful way, you should do your own research and come asking questions here on some specific problem(s) you're having with your code. This is not a spoon-feeding forum.
I suggest you do that now, before dizzy decides to throw some of her "great poetry" on your poor soul...then you'll wish you'd die of a quick death... -
VPLS - Which protocol, BGP, OSPF, EIGRP
Hi Community,
I am trying to figure out which protocol to use on a flat layer 2 VPLS.
We have a flat layer 2 to connect 10 offices and some other point to point links to connect to other offices. We currently use EIGRP but going forward we want to control the routnig and the path the traffic takes. I was planning on using BGP to peer between the offices using a hub and spoke topology, instead of a full mesh. I know OSFP is better for a layer 2 VPLS as it alows the full lan to be used effectively.
Can anyone suggest why we shouldn't use BGP on a VPLS from a provider?
Regards
D.Hi Dinesh
In my personal opinion using BGP in a LAN environment will not provide any benefit as it will add to the BGP Session overhead per LAN Node owing to the Full Mesh requirement which is definitely not scalable.OSPF as an IGP is good choice to be run on the LAN in broadcast Mode which will help keep optmial design using DR/BDR.As far as the Routing Control is concerned BGP should be used for external traffic outside OSPF domain and mutually controlled redistribution between the external Routing Protocol and OSPF should be used.
But if we intend to use Hub and Spoke Topology using P2MP Broadcast Ethernet ie VPLS I think this will not be possible to achieve in OSPF Broadcast Mode neither in BGP using IBGP in Hub and Spoke Fashion among the sites because of BGP Split-Horizon Rule nor using dedicated EBGP Sessions between Hub and Spokes because of 3rd Party Next-Hop feature . So in this scenario of using VPLS for any to any communication in L2 Mode between the sites and then considering Hub and Spoke topology will not be possible to achieve either in OSPF or using BGP and also it defies the basic VPLS connectivity taken to connect the diffent sites in P2MP mode.
This is my personal take on this scenario and hope this helps you something in your design considerations.
Regards
Varma -
I am compiling a small chat application in Flash CS6. I am interested to know how Flash Players communicate with one another. Specifically, how do Flash players send messages back and forth to a specific peer. I know Flash players have to know their peer IDs i think they access there peer IDs throught the getRemote.SharedObject. But in ActionScript 3.0 how can i send messages directly to a peer?
Thank Youare you using Adobe's Real-Time Media Flow Protocol for peer-to-peer communication?
-
Data communication in wifi network
Hi,
Could you let me know if it is possible to communicate [peer to peer communication] between two wi-fi devices in j2me as similar to client-sever communication in bluetooth? Please let me know if I m missing anything here.
Thanks!I have used SVN (Subversion) when there was a need for multiple users of the same design. Each can check out the model to their workstation and save changes to SVN. When one user saves a change, those changes are then visible to the other users as inbound changes. If one user makes changes to something another user also changed, they will get a conflict resolution dialog to resolve the issue. This seems a better solution than trying to share a single model folder via Citrix.
Files such as defaultdomains.xml and dr_custom_scripts.xml can also be saved and shared via SVN. I think there may be another discussion on how to do this on the forum already (I think I asked about it a year or so ago). -
TCP Communication - How can I remove the priority of which VI will run first?
Hi. I would appreciate for any advise.
I want to communicate (send data) to another PC using wireless radio. I am presently testing the shipped examples;
TCP Communicator Active.vi and TCP Communicator Passive.vi. I will run first the Passive.vi in the other pc (as
indicated in the instruction) and then Active.vi on this pc.
I want to remove or neglect the priority of which VI will run at first (either of the VI can run first).
If in the case either one of the PC is not transmitting data, it will just trigger a LED or any kind of indicator.
Can anyone helped me to do this? or is there any other example vi that will do it?
Thanks a lot.Hi Mr Christian,
i decided to use TCP/IP for peer to peer communication. I made an example VI of what i am doing but i cant make it right especially on the "Time out error". I would appreciate for any advise.
Kindly see the attached VI's. The Crane 1 will be the Master or Server and Crane 2 and 3 are Slaves or Clients. Slaves VI will pass their data to Master while Master will distribute the data to each VI.
As a rule, i have to run the Master or Server first and Slaves will follow.
But as soon as i do this i am getting this Time Out error hence data are not being passed. I tried changing the values of time out constant but not lucky so far. I know that if i can fix this time out error, all the VI can communicate properly. I should see three moving cranes on each VI.
Additional question; If all of the VI are running, and I intentionally Stop for instance Crane 3 (Slave), then it will show an error (LED) that Crane 3 data is not available. So far i can do this.
But for instance I will run again Crane 3 (Slave), is there a way to RESET the connection programatically so that Master VI will once again accept the Crane 3 VI?
Any advise I would greatly appreciate.
Thanks a lot.
Attachments:
Crane 1 (Master).vi 40 KB
Crane 2(Slave).vi 35 KB
Crane 3 (Slave).vi 35 KB -
Peer-to-peer Blocking problems
Hi folks,
I'm using WiSMs version 7.0.235.3 and WLC 7.0.230.0. I'm trying to allow peer-to-peer communication but am having some difficulty. I have "Peer to Peer Blocking" set to Disable and can ping between devices i.e. ICMP is working fine. IP however is not working which doesn't really make any sense to me. I've confirmed this using Wireshark. If I set "Peer to Peer Blocking" to Drop, all traffic is blocked.
Any assistance/recommendations would be appreciated.
Thanks. S.What are you actually trying to do? Is the issue when clients are associated to
The same WLAN on the same WLC?
Sent from Cisco Technical Support iPhone App -
My understanding is that BT do not moderate this site.
So basically does that mean any issues go un-noticed ???????????????????????????Hello,
Taken from:
http://community.bt.com/t5/Terms-Guidelines/BTCare-Community-Forums-User-Guidelines/td-p/2
If you are new to our forums – welcome. We hope that you enjoy being part of a community of people looking to help each other solve issues, ask questions, swap tips and give advice regarding BT products and services.
While we have a Community Manager and Moderators, these forums are intended to be peer-to-peer community.
There are Mods, they can and do fix problems which can't be solved by the community. There is a form to contact them here:
http://bt.custhelp.com/app/contact_email/c/4951
It's usually best to have exasperated the community first though ;-) -
Unexpected "Peer-assisted networking pop-up question"
Hi,
I disabled peer to peer communications in ly LCCS room,
but i still get "Peer-assisted networking pop-up question" when i connect to it.
Please could you tell me what can cause this, and how can i fix it?
if you need the info, my room url is: https://collaboration.adobelivecycle.com/taloshealthsolutions/officialhwe6
Thanks a lot,
Regards,
SebLook for the following:
-on NetConnection's NetStatusEvent.NET_STATUS listener:
"NetConnection.Connect.Success" - only create the netgroup after this
-on NetGroup's NetStatusEvent.NET_STATUS listener:
"NetGroup.Connect.Failed" - something bad must have happened, never had this over an open NetConnection
"NetGroup.Connect.Rejected" - "Deny" was clicked, now or earlier with "Remember" checked -
My goal is to create a turn-based, over wifi, Air deployed to iOS and Android game. The first thing I want to figure out is local Flash peer to peer communication. I found this tutorial, but when I run it on two different computers over the same wifi network, it doesn't actually communicate (as a side note, his sample of it running on his server doesn't seem to work properly either). There are no errors and each computer is connected to the Wifi so I'm not sure what the problem is. If there is a better way or better tutorial, I would greatly appreciate the advice.
http://blog.leeburrows.com/2011/10/p2p-flash-on-a-local-network-part1/
Maybe you are looking for
-
DWCS6 - can't edit in Code view {subject edited by moderator}
In the split view or the design view, I can edit text anywhere on the page but when I click on the code side the text is grey and line number bar turns blue. Is there a way to turn the editing back on in the code view? Working on a PC with a document
-
When I click on "Restore iPhone" or "Check for Update" a dialog box opens up. Equipment: MacBook Pro iPhone 5s Versioning iPhone IOS is up to date (e.g. 8.3) iTunes is up to date (e.g. 12.1.2) iPhone is synched and backed up to iTunes (verified in pr
-
How to calculate number of sundays and saturdays between two Dates
friends i want to calculate how many Sundays come in two Dates i have tried following code which is hard coded i have to impliment method which can give me number of Sundays between two Dates please help me import java.util.Date; import java.tex
-
I've recently downloaded a couple third party plug-ins and I can't seem to get them to show up when I open Final Cut. The folders are in: HD/Library/Application Support/Final Cut Pro System Support/Plug ins But when I open Final Cut they're not showi
-
Hi All, I am new to solaris and we have an installation of websphere application server running on SunOS, version 5.8. The application server has cored(stopped running) on it's own and generated OS dump. It reports that ... "An unexpected exception h