Yes you can have a peer-group that doesn't specify the remote-as.  The behavior of peer-groupings has changed over versions, as previously the peer-group determined the BGP update-group.  This was then changed with the introduction of the BGP Dynamic Update Peer-Groups, as defined in http://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/s_bgpdpg.html.  
In current versions the update-group is automatically assigned based on inbound and outbound policies on a per peer basis, so the peer-grouping no longer has restrictions in which members of the group must share identical attributes.
In other words the BGP process automatically optimized itself regardless of what you configure in the peer-groups, so you can pretty much have whatever options you want inside or outside of a peer-group.
HTH,
Brian McGahan, 4 x CCIE #8593 (R&S/SP/SC/DC), CCDE #2013::13
bmcgahan_at_INE.com
Internetwork Expert, Inc.
http://www.INE.com
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Mark Szwed
Sent: Sunday, February 16, 2014 3:33 PM
To: Cisco certification
Subject: BGP Peer Group Problem
Colleagues ,
I have a question regarding BGP peer groups , I have a router configured by  my workmate .
The only issue I have is I don't  see a remote-as defined for this particular group ,is it possible that a peer group can be configured without an AS-Number or it is just a junk without any effect :
Will the below configuration work in any way without an as-number assigned to YYYYY peer group  ?
and if not does that mean the the prefix-list ,route-map  and maximum prefix-list configured useless and thus just unecessary configs ?
router bgp 100
 bgp router-id {c.c.c.c}
neighbor  YYYYY  peer-group
 neighbor  YYYYY  description  +++ send full routes ++  neighbor  YYYYY  version 4  !
 address-family ipv4
 neighbor YYYYY activate
 neighbor YYYYY  send-community
 neighbor YYYYY  remove-private-as
 neighbor YYYYY  prefix-list send_toXXX  out  neighbor YYYYY  route-map IN_HHH  in  neighbor YYYYY route-map OUT_HHH out  neighbor YYYYY maximum-prefix 20
  no auto-summary
 no synchronization
thank you
Blogs and organic groups at http://www.ccie.net
Received on Sun Feb 16 2014 - 20:17:36 ART
This archive was generated by hypermail 2.2.0 : Sat Mar 01 2014 - 08:41:48 ART