User's Manual

Table Of Contents
22-31
5. VRF configuration
(1) Create VRF instance and enter VPN view
(2) Configure RD of VRF instance (optional)
(3) Configure RT of VRF instance (optional)
(4) Configure the relation between VRF instance and the interface
Command
Explanation
Global Mode
ip vrf <vrf-name>
no ip vrf <vrf-name>
Create VRF instance; VRF instance is not
created by default.
VRF Mode
rd <ASN:nn_or_IP-address:nn>
Configure RD of VRF instance. RD is not
created by default.
route-target {import | export | both}
<rt-value>
no route-target {import | export | both}
<rt-value>
Configure RT of VRF instance
Interface Mode
ip vrf forwarding <vrf-name>
no ip vrf forwarding <vrf-name>
Configure the relation between VRF
instance and the interface.
ip address <ip-address> <mask>
no ip address <ip-address> <mask>
Configure the private IP address of direct
link interface.
22.2 IP Configuration
22.2.1 Introduction to IPv4, IPv6
IPv4 is the current version of global universal Internet protocol. The practice has proved that IPv4 is simple,
flexible, open, stable, strong and easy to implement while collaborating well with various protocols of upper
and lower layers. Although IPv4 almost has not been changed since it was established in 1980’s, it has kept
growing to the current global scale with the promotion of Internet. However, as Internet infrastructure and
Internet application services continue boosting, IPv4 has shown its deficiency when facing the present scale
and complexity of Internet.
IPv6 refers to the sixth version of Internet protocol which is the next generation Internet protocol designed by
IETF to replace the current Internet protocol version 4 (IPv4). IPv6 was specially developed to make up the
shortages of IPv4 addresses so that Internet can develop further.