Ignore-First-As - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Description
Use group to create a peer group.
Use undo group to delete a peer group.
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 into the group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[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
# In BGP-VPN instance view, create an EBGP peer group test with AS number 200, and add EBGP peers
10.1.1.1 and 10.1.2.1 into the group. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] group test external
[Sysname-bgp-ipv4-vpn1] peer test as-number 200
[Sysname-bgp-ipv4-vpn1] peer 10.1.1.1 group test
[Sysname-bgp-ipv4-vpn1] peer 10.1.2.1 group test

ignore-first-as

Syntax
ignore-first-as
undo ignore-first-as
View
BGP view
Parameters
None
Description
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.
By 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.
Examples
# Configure BGP to ignore the first AS number of EBGP route updates.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ignore-first-as
164

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents