27Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Associate the current interfacewith a VPN instance.ip binding vpn-instancevpn-instance-nameBy default, no VPN instance isassociated with an interface.NOTE:The ip binding vpn-instance command deletes the IPv6 address of the current interface. You mustreconfigure an IPv6 address for the interface after configuring the command.Configuring route attributes for a VPN instanceThe MCE controls VPN route advertisement as follows:• When a VPN route learned from a site gets redistributed into BGP, BGP associates it with a routetarget extended community attribute list, which is usually the export target attribute list of the VPNinstance associated with the site.• The VPN instance determines which routes it can accept and redistribute according to theimport-extcommunity in the route target.• The VPN instance determines how to change the route target attributes for routes to be advertisedaccording to the export-extcommunity in the route target.To configure route attributes for a VPN instance:Step Command Remarks1. Enter system view. system-view N/A2. Enter VPN instance view. ip vpn-instance vpn-instance-name N/A3. (Optional.) Enter IPv6 VPNview. ipv6-family N/A4. Configure route targets for theVPN instance.vpn-target vpn-target&<1-8>[ both | export-extcommunity |import-extcommunity ]By default, no route target isconfigured for the VPN instance.5. (Optional.) Configure themaximum number of routes forthe VPN instance.routing-table limit number{ warn-threshold | simply-alert }By default, the maximum routenumber is not configured.Setting the maximum number ofroutes for a VPN instance is forpreventing too many routes frombeing redistributed into the PE.6. (Optional.) Apply an importrouting policy. import route-policy route-policyBy default, all routes matching theimport target attribute areaccepted.Make sure the routing policyalready exists. Otherwise, thedevice does not filter receivedroutes.