Switch 7700 Command reference Guide, v2.0

Table Of Contents
BGP Configuration Commands 209
View
BGP view
Parameter
group-name: Specify the name of the peer group.
Description
Use the group group_name command to establish a peer group.
Use the undo group group_name command to cancel the configured peer
group.
The use of BGP peer group is for the convenience of the user’s configuration.
When the user starts several peers with the same configuration, a peer group can
be established first and be configured. Then add all the peers to the peer group so
that they have the same configuration as this peer group.
The default IBGP peer will be added to the default peer group without any
configuration. The configuration of the route update policy for any IBGP peer is
valid for the other IBGP peers in its group. To be specific, if the router is not a route
reflector, all the IBGP peers are in the same group.
The external peer group members must be in the same network segment.
Otherwise, some EBGP peers may discard the transmitted route update.
Example
Create a BGP group named test.
[SW7700-bgp]group test
import-route Syntax
import-route protocol [ med med_value ] [ route-policy
route_policy_name ]
undo import-route protocol
View
BGP view
Parameter
protocol: Specify source routing protocols which can be imported, which include
direct, ospf, ospf-nssa , ospf-ase, rip, isis and static at present.
med med_value: Specify the MED value loaded by a redistributes route, ranging
from 0 to 4294967295.
route-policy route_policy_name: Specify a route-policy.
Description
Use the import-route command to import routes of other protocols.
Use the undo import-route command to cancel redistributing routes of other
protocols.