Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

AS 编号限制

设置 AS 路径中 AS 编号出现的次数。allow-as 参数将许可 BGP 扬声器允许在从对等方收到的更新中配置的次数的 AS 编号。

如果本地 AS 编号显示的次数超过命令中的次数,则会检测到 AS-PATH 循环。

  1. 在 ROUTER-BGP 模式下输入要使用 AS 路径的邻居 IP 地址。
    neighbor ip address
  2. 在 ROUTER-NEIGHBOR 模式下输入地址系列模式。
    address-family {{ipv4 | ipv6} unicast | l2vpn evpn}
  3. 允许邻居 IP 地址以在 ROUTER-BGP-NEIGHBOR-AF 模式中使用 AS 路径的指定次数(1 到 10)。
    allowas-in number

配置 AS 数字外观

OS10(config)# router bgp 10
OS10(conf-router-bgp-10)# neighbor 1.1.1.2
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# allowas-in 5

查看 AS 路径中的 AS 编号

OS10# show running-configuration bgp
!
router bgp 101
 no fast-external-fallover
 !
 address-family ipv4 unicast
  dampening
 !
 neighbor 17.1.1.2
  remote-as 102
  no shutdown
  !
  address-family ipv4 unicast
   allowas-in 4

显示 IP BGP

OS10(config)# router bgp 100
OS10(config-router-bgp-100)# neighbor 172:16:1::2
OS10(config-router-neighbor)# remote-as 100
OS10(config-router-neighbor)# no shutdown
OS10(config-router-neighbor)# address-family ipv6 unicast
OS10(config-router-bgp-neighbor-af)# activate 
OS10(config-router-bgp-neighbor-af)# allowas-in 1
OS10(config-router-bgp-neighbor-af)# end
OS10# show running-configuration bgp
!
router bgp 100
 !
 neighbor 172:16:1::2
  remote-as 100
  no shutdown
  !
  address-family ipv6 unicast
   activate
   allowas-in 1
OS10# show ip bgp
BGP local RIB : Routes to be Added , Replaced , Withdrawn 
BGP local router ID is 100.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
          Network         Next Hop      Metric     LocPrf     Weight     Path           
*>I       55::/64         172:16:1::2   0          0          0          100 200 300 400 i
*>I       55:0:0:1::/64   172:16:1::2   0          0          0          100 200 300 400 i
*>I       55:0:0:2::/64   172:16:1::2   0          0          0          100 200 300 400 i

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\