F3215-HP Load Balancing Module Network Management Command Reference-6PW101

276
To deny/permit a route with the specified destination and mask, use rule [ rule-id ] { deny | permit }
ip source sour-addr sour-wildcard destination dest-addr dest-wildcard.
The source keyword specifies the destination address of a route, and the destination keyword specifies
the subnet mask of the route. (The subnet mask must be valid; otherwise, the configuration is ineffective.)
Examples
# In BGP view, reference ACL 2000 to filter incoming routing information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] filter-policy 2000 import
# Configure ACL 3000 to permit only route 113.0.0.0/16 to pass, and reference ACL 3000 to filter
incoming route information.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0
[Sysname-acl-adv-3000] rule 100 deny ip
[Sysname-acl-adv-3000] quit
[Sysname] bgp 100
[Sysname-bgp] filter-policy 3000 import
group (BGP view)
Use group to create a peer group.
Use undo group to delete a peer group.
Syntax
group group-name [ external | internal ]
undo group group-name
Views
BGP view
Default command level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
external: Creates an EBGP peer group, which can be the group of another sub AS in a confederation.
internal: Creates an IBGP peer group.
Usage guidelines
An IBGP peer group is created if neither internal nor external is specified.
Examples
# In BGP view, create an EBGP peer group test with AS number 200, and add EBGP peers 10.1.1.1 and
10 .1. 2.1 i n t o t h e g r o u p .
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external