ipv4-family命令用来使能BGP的IPv4地址族并进入BGP的IPv4地址族视图。 undo ipv4-family命令用来删除BGP的相应IPv4地址族视图下的所有配置。 缺省情况下,进入BGP-IPv4单播地址族视图。 命令格式 ipv4-familyunicast ipv4-familymulticast undo ipv4-familymulticast ...
ipv4-family命令用来使能BGP的IPv4地址族并进入BGP的IPv4地址族视图。 undo ipv4-family命令用来删除BGP的相应IPv4地址族视图下的所有配置。 缺省情况下,进入BGP-IPv4单播地址族视图。 命令格式 ipv4-familyunicast ipv4-familymulticast undo ipv4-familymulticast ...
# ipv4-family unicast undo synchronization peer 1.1.1.1 enable peer 1.1.1.1 next-hop-local peer 5.5.5.5 enable peer 5.5.5.5 next-hop-local peer 10.1.34.4 enable # 配置R5跟R2和R3建立邻居,并且配置路由反射 bgp 123 peer 2.2.2.2 as-number 123 peer 2.2.2.2 connect-interface LoopBack0 peer 3.3...
# ipv4-family unicast undo synchronization peer 2.2.2.2 enable peer 2.2.2.2 reflect-client peer 5.5.5.5 enable # # 完成配置查看R2的路由表 <R2>display bgp routing-table BGP Local router ID is 10.1.12.2 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s -...
ipv4-family unicast undo synchronization peer 3.3.3.3 enable peer 4.4.4.4 enable # ipv4-family vpnv4 policy vpn-target peer 3.3.3.3 enable peer 4.4.4.4 enable # 验证邻居关系: <RR1>dis bgp vpnv4 all pee BGP local router ID : 3.3.3.3 ...
ipv4-family vpn-instance (vpn-instance-name) ipv4-family vpnv4 [ unicast ] PE-CE间路由交换的配置 1. PE和CE间通过静态路由链接的配置 ip route-static vpn-instance (vpn-instance-name) prefix mask [ next-hop-address ] [ interface { interface-number } ] [ public | preference preference | bl...
[Huawei-bgp]ipv4-family unicast //进入BGP-VPNv4地址族视图 [Huawei-bgp-af-ipv4]peer 10.1.1.1 enable //使能对等体交换VPN-IPv4路由信息的能力 [Huawei]ip vpn-instance 1 //创建VPN实例,并进入VPN实例视图 [Huawei-vpn-instance-1]description vpn1 //配置VPN实例的描述信息 ...
ipv4-familyunicast undo synchronization import-route direct import-route static peer 1.1.1.1 enable peer 1.1.1.1 next-hop-local (这里也可以修改为undo peer 1.1.1.1 enable也是可以的) ipv4-familyvpnv4 policy vpn-target peer 1.1.1.1 enable
ipv4-family unicast undo synchronization peer 2.2.2.2 enable peer 2.2.2.2 reflect-client peer 3.3.3.3 enable peer 3.3.3.3 reflect-client # 配置R1,跟R5一样 bgp 123 peer 2.2.2.2 as-number 123 peer 2.2.2.2 connect-interface LoopBack0
ipv4-familyunicast undo synchronization import-route direct import-route static peer 1.1.1.1 enable peer 1.1.1.1 next-hop-local (这里也可以修改为undo peer 1.1.1.1 enable也是可以的) ipv4-familyvpnv4 policy vpn-target peer 1.1.1.1 enable