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

277
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] peer 10.1.1.1 group test
[Sysname-bgp] peer 10.1.2.1 group test
ignore-first-as
Use ignore-first-as to configure BGP to ignore the first AS number of EBGP route updates.
Use undo ignore-first-as to configure BGP to check the first AS number of EBGP route updates.
Syntax
ignore-first-as
undo ignore-first-as
Default
BGP checks the first AS number of a received EBGP route update. If the first AS number is not that of the
BGP peer, the BGP router discards the route update.
Views
BGP view
Examples
# Configure BGP to ignore the first AS number of EBGP route updates.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ignore-first-as
import-route (BGP view)
Use import-route to configure BGP to redistribute routes from the specified IGP protocol.
Use undo import-route to disable route redistribution from a routing protocol.
Syntax
import-route protocol [ { process-id | all-processes } [ allow-direct | med med-value | route-policy
route-policy-name ] * ]
undo import-route protocol [ process-id | all-processes ]
Default
BGP does not redistribute routes from other protocols.
Views
BGP view
Default command level
2: System level
Parameters
protocol: Redistributes routes from the specified routing protocol, which can be direct, ospf, rip, or static.
process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol
is ospf or rip.