both指定vpn-target添加到VPN实例地址族的入方向和出方向VPN-Target扩展团体属性列表中。如果用户不指定关键字“both、export-extcommunity、import-extcommunity”,则缺省为“both”。- export-extcommunity指定vpn-target添加到VPN实例地址族的出方向VPN-Target扩展团体属性列表中。- ...
-view [~HUAWEI] ip vpn-instance vrf1 [*HUAWEI-vpn-instance-vrf1] ipv4-family [*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 3:3 export-extcommunity [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 4:4 import-extcommunity...
本地PE在通过BGP的Update消息将L2VPN信息发送给远端PE时,将Update消息中携带的VPN target属性设置为Expor...
然后,我们使用vpn-target 100:1 import-extcommunity命令指定该VPN实例只导入携带了100:1 VPN Target值的路由。 指出使用该命令时可能需要注意的事项: 确保VPN Target值在整个MPLS VPN网络中是唯一的,以避免路由冲突。 在配置vpn-target时,需要同时考虑出方向(export-extcommunity)和入方向(import-extcommunity)的设置...
Device(config-route-map)# set extcommunity rt 100:4 additive Sets BGP extended community attributes. The rt keyword specifies the route target extended community attribute. The soo keyword specifies the site of origin extended community attribute. The extended-com...
set extcommunity {rt extended-community-value [additive] | soo extended-community-value} end show route-map map-name DETAILED STEPS Command or ActionPurpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted...
-view [~HUAWEI] ip vpn-instance vrf1 [*HUAWEI-vpn-instance-vrf1] ipv4-family [*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 3:3 export-extcommunity [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 4:4 import-extcommunity...
vpn-target vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] undo vpn-target { all | vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] } vpn-target auto [ both | export-extcommunity | import-extcommunity ] undo vpn-target auto [ both | exp...
vpn-target vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] undo vpn-target { all | vpn-target &<1-8> [ both | export-extcommunity | import-extcommunity ] } vpn-target auto [ both | export-extcommunity | import-extcommunity ] undo vpn-target auto [ both |...
-view [~HUAWEI] ip vpn-instance vrf1 [*HUAWEI-vpn-instance-vrf1] ipv4-family [*HUAWEI-vpn-instance-vrf1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 3:3 export-extcommunity [*HUAWEI-vpn-instance-vrf1-af-ipv4] vpn-target 4:4 import-extcommunity...