ipv4-family命令用来使能BGP的IPv4地址族并进入BGP的IPv4地址族视图。 undo ipv4-family命令用来删除BGP的相应IPv4地址族视图下的所有配置。 缺省情况下,进入BGP-IPv4单播地址族视图。 命令格式 ipv4-familyunicast ipv4-familymulticast undo ipv4-familymulticast ...
ipv4-family命令用来使能VPN实例的IPv4地址族,并进入VPN实例IPv4地址族视图。 undo ipv4-family命令用来去使能VPN实例的IPv4地址族。 缺省情况下,未使能VPN实例的IPv4地址族。 命令格式 ipv4-family[unicast] undo ipv4-family[unicast] 参数说明 参数参数说明取值 ...
# 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...
[Huawei-bgp]ipv4-family unicast //进入BGP-IPv4单播地址族视图 [Huawei-bgp]ipv4-family vpn-instance 1 //进入BGP-VPN实例IPv4地址族视图 [Huawei-bgp]ipv4-family multicast //进入BGP-IPv4组播地址族视图 reset bgp all //复位BGP连接, 会导致交换机之间的BGP Peer关系中断 reset bgp 100 //复位与指定AS...
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...
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-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
华为三层交换机配置实例一例服务器1双网卡,内网IP:192.168.0.1,其它计算机通过其代理上网PORT1属于VLAN1PORT2属于VLAN2PORT3属于VLAN3VLAN1的机器可以正常上网配置VLAN2的计算机的网关为:192.168.1.254配置VLAN3的计算机的网关为:192.168.2.254即可实现VLAN间互联如果VLAN2和VLAN3的计算机要通过服务器1上网则需在三层交换...
配置SwitchB和SwitchC的动态路由OSPF接入M-LAG的IPv4地址。 # 配置SwitchB。 [~SwitchB]vlan 100[*SwitchB-vlan100]quit[*SwitchB]interface vlanif 100[*SwitchB-Vlanif100]ip address 10.100.0.1 255.255.255.0[*SwitchB-Vlanif100]m-lag ip address 10.100.0.3 255.255.255.0[*SwitchB-Vlanif100]ospf sou...
ipv4-family unicast undo synchronization import-route static peer 1.1.12.2 enable peer 1.1.12.2 capability-advertise orf cisco-compatible ip-prefix receive R2: ip ip-prefix 1 index 10 deny 192.168.2.0 24 ip ip-prefix 1 index 20 permit 0.0.0.0 0 less-equal 32 ...