R2511-HP MSR Router Series IP Multicast Command Reference(V5)

261
peer group (BGP-MDT sub-address family view)
Use peer group to add a peer to the BGP MDT peer group.
Use undo peer group to delete a specified peer from the peer group.
Syntax
peer ip-address group group-name
undo peer ip-address group group-name
Default
A peer belongs to no peer groups.
Views
BGP-MDT sub-address family view
Default command level
2: System level
Parameters
ip-address: IP address of a BGP MDT peer.
group-name: Name of a BGP MDT peer group, a case-sensitive string of 1 to 47 characters. A peer
group name must not contain any space.
Usage guidelines
The BGP MDT peer and peer group must be configured and enabled before this command can take
effect.
Examples
# Configure and enable the BGP MDT peer 10.1.1.1 and the peer group test, and then add the peer to the
peer group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test
[Sysname-bgp] peer test as-number 2004
[Sysname-bgp] peer 10.1.1.1 group test
[Sysname-bgp] ipv4-family mdt
[Sysname-bgp-af-mdt] peer test enable
[Sysname-bgp-af-mdt] peer 10.1.1.1 enable
[Sysname-bgp-af-mdt] peer 10.1.1.1 group test
Related commands
peer enable
peer reflect-client (BGP-MDT sub-address family view)
Use peer reflect-client to configure the router as a route reflector and specify a peer or peer group as its
client.
Use undo peer reflect-client to remove the configuration.