Huawei quidway s7700 Configuration Manual page 403

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[Hub-CE-bgp-af-ipv6] peer 2004::2 enable
[Hub-CE-bgp-af-ipv6] import-route direct
[Hub-CE-bgp-af-ipv6] quit
[Hub-CE-bgp] quit
# Configure the Hub-PE.
[Hub-PE] bgp 100
[Hub-PE-bgp] ipv6-family vpn6-instance vpn_in
[Hub-PE-bgp6-vpn_in] peer 2003::1 as-number 65430
[Hub-PE-bgp6-vpn_in] import-route direct
[Hub-PE-bgp6-vpn_in] quit
[Hub-PE-bgp] ipv6-family vpn6-instance vpn_out
[Hub-PE-bgp6-vpn_out] peer 2004::1 as-number 65430
[Hub-PE-bgp6-vpn_out] peer 2004::1 allow-as-loop 1
[Hub-PE-bgp6-vpn_out] import-route direct
[Hub-PE-bgp6-vpn_out] quit
[Hub-PE-bgp] quit
After the configuration, run the display bgp vpnv6 all peer command on a PE, and you can
find that the BGP peer relation between the PE and the CE is in Established state. By running
the ping ipv6 vpn6-instance, you can see that each PE can ping its connected CE.
Take the display on Hub-PE as an example.
[Hub-PE] ping ipv6 vpn6-instance vpn_in -a 2003::2 2003::1
PING 2003::1 : 56
--- 2003::1 ping statistics ---
[Hub-PE] ping ipv6 vpn6-instance vpn_out -a 2004::2 2004::1
PING 2004::1 : 56
--- 2004::1 ping statistics ---
Issue 01 (2011-07-15)
data bytes, press CTRL_C to break
Reply from 2003::1
bytes=56 Sequence=1 hop limit=64
Reply from 2003::1
bytes=56 Sequence=2 hop limit=64
Reply from 2003::1
bytes=56 Sequence=3 hop limit=64
Reply from 2003::1
bytes=56 Sequence=4 hop limit=64
Reply from 2003::1
bytes=56 Sequence=5 hop limit=64
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/31/31 ms
data bytes, press CTRL_C to break
Reply from 2004::1
bytes=56 Sequence=1 hop limit=64
Reply from 2004::1
bytes=56 Sequence=2 hop limit=64
Reply from 2004::1
bytes=56 Sequence=3 hop limit=64
Reply from 2004::1
bytes=56 Sequence=4 hop limit=64
Reply from 2004::1
bytes=56 Sequence=5 hop limit=64
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/31/31 ms
NOTE
If multiple interfaces on a PE are bound to the same VPN, you must specify the source IPv6 address when
you run the ping ipv6 vpn6-instance command to ping the CE connected to the peer PE. That is, specify
-a source-ipv6-address in the ping ipv6 vpn6-instance vpn6-instance-name -a source-ipv6-address dest-
ipv6-address command. Otherwise, the ping operation may fail.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
time = 31 ms
388

Advertisement

Table of Contents
loading

Table of Contents