HP 6125XLG Installation manual

HP 6125XLG Blade Switch
MCE
Command Reference
Part number: 5998-3736
Software version: Release 2306
Document version: 6W100-20130912

Legal and notice information
© Copyright 2013 Hewlett-Packard Development Company, L.P.
No part of this documentation may be reproduced or transmitted in any form or by any means without
prior written consent of Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice.
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained
herein or for incidental or consequential damages in connection with the furnishing, performance, or
use of this material.
The only warranties for HP products and services are set forth in the express warranty statements
accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. HP shall not be liable for technical or editorial errors or omissions contained
herein.

i
Contents
MCE configuration commands···································································································································· 1
description·································································································································································1
display bgp group ipv4 vpn-instance·····················································································································1
display bgp peer ipv4 vpn-instance ·······················································································································3
display ip vpn-instance ············································································································································5
domain-id ··································································································································································6
export route-policy····················································································································································7
ext-community-type ···················································································································································8
import route-policy····················································································································································9
ip binding vpn-instance········································································································································· 10
ip vpn-instance······················································································································································· 11
ipv4-family······························································································································································ 11
route-distinguisher·················································································································································· 12
route-tag ································································································································································· 13
routing-table limit ··················································································································································· 14
vpn-instance-capability simple······························································································································ 15
vpn-target································································································································································ 15
IPv6 MCE configuration commands ·························································································································17
display bgp group ipv6 vpn-instance·················································································································· 17
display bgp peer ipv6 vpn-instance ···················································································································· 19
ipv6-family······························································································································································ 21
Support and other resources ·····································································································································23
Contacting HP ································································································································································ 23
Subscription service ·············································································································································· 23
Related information························································································································································ 23
Documents······························································································································································ 23
Websites································································································································································· 23
Conventions ···································································································································································· 24
Index ···········································································································································································26

1
MCE configuration commands
description
Use description to configure a description for a VPN instance.
Use undo description to delete the description.
Syntax
description text
undo description
Default
No description for a VPN instance is configured.
Views
VPN instance view
Predefined user roles
network-admin
Parameters
text: Specifies the description for the VPN instance, a string of 1 to 79 case-sensitive characters.
Usage guidelines
If you use this command multiple times, the most recent configuration takes effect.
Examples
# Configure a description of This is vpn1 for VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] description This is vpn1
display bgp group ipv4 vpn-instance
Use display bgp group ipv4 vpn-instance to display BGP VPNv4 peer group information.
Syntax
display bgp group ipv4 vpn-instance vpn-instance-name [ group-name ]
Views
Any view
Predefined user roles
network-admin
network-operator

2
Views
Any view
Parameters
vpn-instance vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive
characters.
group-name: Specifies the name of a BGP peer group, a string of 1 to 47 case-sensitive characters. If no
peer group is specified, this command displays information about all peer groups.
Examples
# Display information about all BGP peer groups for VPN instance vpn1.
<Sysname> display bgp group ipv4 vpn-instance vpn1
BGP peer group: grp1
Remote AS number: Not specified
Type: external
Members:
10.1.1.1
BGP peer group: grp2
Remote AS: 100
Type: internal
Members:
1.1.1.1
# Display information about the BGP VPNv4 peer group grp1 for VPN instance vpn1.
<Sysname> display bgp group ipv4 vpn-instance vpn1 grp1
BGP peer group: grp1
Remote AS number: Not specified
Type: external
Maximum allowed prefix number: 4294967295
Threshold: 75%
Configured hold timer value: 180 seconds
Keepalive timer value: 60 seconds
Minimum time between advertisements: 30 seconds
Peer preferred value: 0
Routing policy configured:
No routing policy is configured
Members:
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
10.1.1.1 10 0 0 0 0 00:01:02 Connect
Table 1 Command output
Field Descri
p
tion
BGP peer-group Name of the BGP VPNv4 peer group.
remote AS number Number of the remote AS.

3
Field Descri
p
tion
Type Peer group type, external or internal.
Maximum allowed prefix number Maximum number of routes that the VPN instance supports.
Threshold Threshold value.
If the threshold is reached, the device generates prompt information.
MsgRcvd Number of messages received.
MsgSent Number of messages sent.
OutQ Number of messages waiting to be sent to the peer.
PrefRcv Number of prefixes received.
Up/Down Duration of the BGP session in the current state.
display bgp peer ipv4 vpn-instance
Use display bgp peer ipv4 vpn-instance to display information about BGP peers.
Syntax
display bgp peer ipv4 vpn-instance vpn-instance-name [ group-name log-info | ip-address { log-info |
verbose } | verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive
characters.
ip-address: Specifies the IP address of a peer. If no peer is specified, this command displays all peers.
verbose: Displays detailed information.
group-name: Specifies the name of a peer group, a string of 1 to 47 case-sensitive characters.
log-info: Displays log information for the specified peer or peer group.
Usage guidelines
If no parameters are specified, this command displays brief information about all BGP peers in the
specified VPN.
Examples
# Display information about the BGP peers for the VPN instance vpn1.
<Sysname> display bgp peer ipv4 vpn-instance vpn1
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1 Peers in established state : 1

4
Peer AS MsgRcvd MsgSent OutQ PrefRcv Up/Down State
10.1.1.1 200 24 29 0 1 00:18:47 Established
Table 2 Command output
Field Descri
p
tion
BGP Local router ID Router ID of the local BGP router.
local AS number Local AS number.
Total number of peers Total number of peers.
Peers in established state Number of peers in Established state.
Peer IP address of the peer.
AS AS number of the peer group.
MsgRcvd Number of messages received.
MsgSent Number of messages sent.
OutQ Number of messages waiting to be sent to the peer.
PrefRcv Number of received prefixes.
Up/Down Duration of the BGP session in the current state.
State Status of the peer.
# Display detailed information about BGP peers for VPN instance vpn1.
<Sysname> display bgp peer ipv4 vpn-instance vpn1 verbose
Peer: 10.1.1.1 Local: 10.1.1.2
Type: EBGP link
BGP version 4, remote router ID 0.0.0.0
BGP current state: Connect
BGP current event: CRTimerExpired
BGP last state: Connect
Received: Total 0 messages, Update messages 0
Sent: Total 0 messages, Update messages 0
Maximum allowed prefix number: 12345
Threshold: 23%
Minimum time between advertisements is 30 seconds
Optional capabilities:
Multi-protocol extended capability has been enabled
Route refresh capability has been enabled
Peer preferred value: 0
# D i s p l a y l o g i n f o r m a t i o n f o r B G P p e e r 10 .1.1.1 i n V P N i n s t a n c e vpn1.
<Sysname> display bgp peer ipv4 vpn-instance vpn1 10.1.1.1 log-info
Peer : 10.1.1.1
Date Time State Notification
Error/SubError

5
27-Mar-2011 15:36:12 Down Receive notification with error 6/4
Cease/Administrative Reset
27-Mar-2011 15:34:29 Up
display ip vpn-instance
Use display ip vpn-instance to display information about VPN instances.
Syntax
display ip vpn-instance [ instance-name vpn-instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance-name vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31
case-sensitive characters. If no VPN is specified, the command displays brief information about all VPN
instances.
Examples
# Display information about all VPN instances.
<Sysname> display ip vpn-instance
Total VPN-Instances configured : 1
VPN-Instance Name RD Create time
abc 1:1 2011/05/18 10:48:17
Table 3 Command output
Field Descri
p
tion
VPN-Instance Name Name of the VPN instance.
RD RD of the VPN instance.
Create Time Time when the VPN instance was created.
# Display detailed information about VPN instance vpn1.
<Sysname> display ip vpn-instance instance-name vpn1
VPN-Instance Name and ID : vpn1, 1
Route Distinguisher : 100:1
Description : vpn for rd
Interfaces : Vlan-interface2
Ipv4-family:
Export VPN Targets :
3:3
Import VPN Targets :
3:3
Maximum Routes Limit : 4000
Threshold Value(%): 20

6
Ipv6-family:
Export VPN Targets :
2:2
Import VPN Targets :
2:2
Maximum Routes Limit : 2000
Threshold Value(%): 50
Table 4 Command output
Field Descri
p
tion
Interfaces Interface to which the VPN instance is bound.
Ipv4-family IPv4 VPN information.
Ipv6-family IPv6 VPN information.
Export VPN Targets Export route target attribute of the VPN.
Import VPN Targets Import route target attribute of the VPN.
Threshold Value(%)
Threshold for warning. When the percentage of the number of the received
route prefixes to the maximum number of routes supported reaches this
value, the device generates a prompt.
If no threshold is configured, this field is not displayed.
domain-id
Use domain-id to configure an OSPF domain ID.
Use undo domain-id to restore the default.
Syntax
domain-id domain-id [ secondary ]
undo domain-id [ domain-id ]
Default
The OSPF domain ID is 0.
Views
OSPF view
Predefined user roles
network-admin
Parameters
domain-id: Specifies an OSPF domain ID in one of the following formats:
•Integer, in the range of 0 to 4294967295. For example, 1.
•Dotted decimal notation. For example, 0.0.0.1.
•Dotted decimal notation:16-bit user-defined number in the range of 0 to 65535. For example,
0.0.0.1:512.
secondary: Specifies the domain ID as secondary. Without this keyword, the domain ID is primary.

7
Usage guidelines
When you redistribute OSPF routes into BGP on the MCE, BGP adds the configured OSPF domain ID to
the redistributed BGP VPN routes as a BGP extended community attribute and advertises the routes to the
BGP peer. When you redistribute the BGP VPN routes into OSPF on the BGP peer, OSPF uses the domain
ID to determine whether the routes belong to the same OSPF routing domain. If the domain ID is the same
and the routes are intra-area or inter-area routes, OSPF advertises these routes in Type-3 LSAs. If the
domain ID is the same but the routes are not intra-area or inter-area routes, OSPF advertises these routes
in Type-5 or Type-7 LSAs. If the domain ID is different, OSPF advertises the routes in Type-5 or Type-7
LSAs.
With no parameter specified, the undo domain-id command deletes all domain IDs.
Examples
# Configure the OSPF domain ID as 234 for VPN instance vpn1.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpn1
[Sysname-ospf-100] domain-id 234
export route-policy
Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a
routing policy is referred to as an export routing policy.
Use undo export route-policy to remove the application.
Syntax
export route-policy route-policy
undo export route-policy
Default
No routing policy is applied to filter the routes to be advertised.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
Usage guidelines
Use this command to apply a routing policy to a VPN instance for more precise and flexible route
advertisement of the VPN instance. When the device advertises routes of the VPN instance, it filters the
advertised routes and modifies attributes for the advertised routes according to the specified routing
policy.
If you execute this command multiple times, the most recent configuration takes effect.
A routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. A routing
policy specified in IPv4 VPN view applies only to the IPv4 VPN. A routing policy specified in IPv6 VPN
view applies only to the IPv6 VPN.

8
A routing policy specified in IPv4 VPN view or IPv6 view takes precedence over that specified in VPN
instance view. If you specify a routing policy in both IPv4 VPN view (or IPv6 VPN view) and VPN instance
view, the IPv4 VPN (IPv6 VPN) uses the policy specified in IPv4 VPN view (IPv6 VPN view).
Examples
# Apply export routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] export route-policy poly-1
# Apply export routing policy poly-2 to the IPv4 VPN of VPN instance vpn2.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] export route-policy poly-2
# Apply export routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] export route-policy poly-3
ext-community-type
Use ext-community-type to configure the type code of an OSPF extended community attribute.
Use undo ext-community-type to restore the default.
Syntax
ext-community-type { domain-id type-code1 | router-id type-code2 |route-type type-code3 }
undo ext-community-type { domain-id |router-id |route-type }
Default
The type codes for the OSPF extended community attributes of Domain ID, Router ID, and Route Type are
0x0005, 0x0107, and 0x0306.
Views
OSPF view
Predefined user roles
network-admin
Parameters
domain-id type-code1: Specifies the type code for the OSPF extended community attribute of Domain ID.
Valid values are 0x0005, 0x0105, 0x0205, and 0x8005.
router-id type-code2: Specifies the type code for the OSPF extended community attribute of Router ID.
Valid values are 0x0107 and 0x8001.
router-type type-code3: Specifies the type code for the OSPF extended community attribute of Route
Type. Valid values are 0x0306 and 0x8000.

9
Examples
# Configure the type codes of OSPF extended community attributes Domain ID, Router ID, and Route
Type as 0x8005, 0x8001, and 0x8000, for OSPF process 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] ext-community-type domain-id 8005
[Sysname-ospf-100] ext-community-type router-id 8001
[Sysname-ospf-100] ext-community-type route-type 8000
import route-policy
Use import route-policy to apply a routing policy to filter incoming routes for the VPN instance. Such a
routing policy is referred to as an import routing policy.
Use undo import route-policy to remove the application.
Syntax
import route-policy route-policy
undo import route-policy
Default
No import routing policy is applied to a VPN instance. All routes matching the import target attribute are
accepted.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
Usage guidelines
Use this command to apply a routing policy to a VPN instance for more precise and flexible route
reception of the VPN instance. When the device receives routes of the VPN instance, it filters the received
routes and modifies attributes for the received routes according to the specified routing policy.
If you execute this command multiple times, the most recent configuration takes effect.
A routing policy specified in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. A routing
policy specified in IPv4 VPN view applies only to the IPv4 VPN. A routing policy specified in IPv6 VPN
view applies only to the IPv6 VPN.
A routing policy specified in IPv4 VPN view or IPv6 view takes precedence over that specified in VPN
instance view. If you specify a routing policy in both IPv4 VPN view (or IPv6 VPN view) and VPN instance
view, the IPv4 VPN (IPv6 VPN) uses the policy specified in IPv4 VPN view (IPv6 VPN view).
Examples
# Apply import routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] import route-policy poly-1

10
# Apply import routing policy poly-2 to the IPv4 VPN of VPN instance vpn2.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] import route-policy poly-2
# Apply import routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] import route-policy poly-3
Related commands
•export route-policy
•route-policy (Layer 3—IP Routing Command Reference)
ip binding vpn-instance
Use ip binding vpn-instance to associate an interface with a VPN instance.
Use undo ip binding vpn-instance to remove the association.
Syntax
ip binding vpn-instance vpn-instance-name
undo ip binding vpn-instance
Default
No VPN instance is associated with an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive characters.
Usage guidelines
This command or its undo form clears the IP address and routing protocol configuration on the interface.
After executing this command or its undo form, use the display this command to view the current
configuration, and reconfigure the IP address and routing protocol on the interface.
The specified VPN instance must have been created by using the ip vpn-instance command in system
view.
To associate a new VPN instance with an interface, you must remove the previous association by using
the undo ip binding vpn-instance command, and then use the ip binding vpn-instance command to
associate the new VPN instance with the interface.
Examples
# Associate VLAN-interface 2 with the VPN instance vpn1.
<Sysname> system-view

11
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] ip binding vpn-instance vpn1
Related commands
ip vpn-instance (system view)
ip vpn-instance
Use ip vpn-instance to create a VPN instance and enter VPN instance view.
Use undo ip vpn-instance to delete a VPN instance.
Syntax
ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
Default
No VPN instance is created.
Views
System view
Predefined user roles
network-admin
Parameters
vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive characters.
Examples
# Create a VPN instance named vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1]
Related command
route-distinguisher
ipv4-family
Use ipv4-family to enter IPv4 VPN view.
Use undo ipv4-family to remove all the configurations in IPv4 VPN view.
Syntax
ipv4-family
undo ipv4-family
Views
VPN instance view
Predefined user roles
network-admin

12
Usage guidelines
In IPv4 VPN view, you can configure parameters such as inbound and outbound routing policies for the
VPN.
Examples
# Enter IPv4 VPN view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] ipv4-family
[Sysname-vpn-ipv4-vpn1]
route-distinguisher
Use route-distinguisher to configure a route distinguisher (RD) for a VPN instance.
Use undo route-distinguisher to delete the RD for a VPN instance.
Syntax
route-distinguisher route-distinguisher
undo route-distinguisher
Default
No RD is specified for a VPN instance.
Views
VPN instance view
Predefined user roles
network-admin
Parameters
route-distinguisher: Specifies the RD for the VPN instance, a string of 3 to 21 characters in one of the
following formats:
•16 - b i t AS n u m b e r :32-bit user-defined number. For example, 101:3.
•32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
•32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536.
For example, 65536:1.
Usage guidelines
RDs enable VPNs to use overlapping address space. By prefixing an RD to an IPv4 prefix for a VPN, you
make the VPN IPv4 prefix globally unique. On an MCE device, when multiple BGP VPN instances are
configured, you can configure RDs for the VPN instances to distinguish them.
To change the RD for a VPN instance, you must first delete the RD with the undo route-distinguisher
command, and then configure a new RD for the VPN instance with the route-distinguisher command.
Examples
# Configure an RD for VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 22:1

13
route-tag
Use route-tag to configure a route tag for redistributed VPN routes.
Use undo route-tag to restore the default.
Syntax
route-tag tag-value
undo route-tag
Default
If BGP AS number is not greater than 65535, the first two octets of the default route tag is always
0xD000 and the last two octets are the AS number of the local BGP. For example, if the local BGP AS
number is 100, the default VPN route tag is 3489661028 in decimal. If the BGP AS number is greater
than 65535, the default route tag is 0.
Views
OSPF view
Predefined user roles
network-admin
Parameters
tag-value: Specifies the VPN route tag in the range of 0 to 4294967295.
Usage guidelines
On an MCE device, you can configure a VPN route tag for a VPN instance bound to an OSPF process.
The VPN route tag must be included in Type-5 or Type-7 LSAs. HP recommends configuring the same
VPN route tag for MCEs in the same area.
The VPN route tag is not transferred in any BGP extended community attribute. It is locally significant and
needs to be configured and takes effect only on the MCEs that receive BGP routes and generate OSPF
Type-5 or Type-7 LSAs.
You can configure the same VPN route tag for different OSPF processes.
A route tag can be configured by different commands and has different priorities. The commands used
to configure the external route tag (in the descending order of tag priority) are as follows:
•import-route
•route-tag
•default tag
If the route tag carried in a Type-5 or Type-7 LSA received by an MCE is the same as the locally
configured route tag, the MCE neglects the LSA in route calculation to avoid routing loops.
Examples
# Set the route tag to 100 for OSPF process 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] route-tag 100
Related commands
import-route

14
routing-table limit
Use routing-table limit to set the maximum number of routes in a VPN instance.
Use undo routing-table limit to restore the default.
Syntax
routing-table limit number { warn-threshold | simply-alert }
undo routing-table limit
Default
No limit is set to the route number for a VPN instance.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of routes. The value range is 1 to 8192 in VPN instance view
and IPv6 VPN view, and is 1 to 16384 in IPv4 VPN view.
warn-threshold: Specifies a warning threshold, in the range of 1 to 100 in percentages. When the
percentage of the number of existing routes to the maximum number of routes exceeds the specified
threshold, the system gives an alarm message but still permits new routes. If the number of routes in the
VPN instance reaches the maximum, no more routes are added.
simply-alert: Specifies that when the maximum route number is reached, the system still accepts routes
but generates a syslog message.
Description
This command prevents the MCE from learning excessive routes.
If you execute this command multiple times, the most recent configuration takes effect.
The setting configured in VPN instance view applies to both the IPv4 VPN and IPv6 VPN. The setting
configured in IPv4 VPN view applies only to the IPv4 VPN. The setting configured in IPv6 VPN view
applies only to the IPv6 VPN.
The setting configured in IPv4 VPN view or IPv6 VPN view takes precedence over that configured in VPN
instance view. If you configure a limit in both IPv4 VPN view (or IPv6 VPN view) and VPN instance view,
the IPv4 VPN (IPv6 VPN) uses the limit configured in IPv4 VPN view (IPv6 VPN view).
Examples
# Specify that VPN instance vpn1 can still learn new routes after the maximum number of 1000 routes
is reached but generates a syslog.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert
# Specify that IPv4 VPN instance vpn1 can still learn new routes after the maximum number of 1000
routes is reached but generates a syslog.
<Sysname> system-view

15
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] route-distinguisher 100:2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] routing-table limit 1000 simply-alert
vpn-instance-capability simple
Use vpn-instance-capability simple to disable routing loop detection for a VPN OSPF process.
Use undo vpn-instance-capability to restore the default.
Syntax
vpn-instance-capability simple
undo vpn-instance-capability
Default
Routing loop detection is enabled for a VPN OSPF process.
Views
VPN OSPF process view
Predefined user roles
network-admin
Examples
# Disable routing loop detection for the OSPF process 100 in the VPN vpna.
<Sysname> system-view
[Sysname] ospf 100 vpn-instance vpna
[Sysname-ospf-100] vpn-instance-capability simple
vpn-target
Use vpn-target to configure route targets for a VPN instance.
Use undo vpn-target to remove the specified or all route targets of a VPN instance.
Syntax
vpn-target vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ]
undo vpn-target { all | vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] }
Default
No route targets are specified for a VPN instance.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
Parameters
vpn-target&<1-8>: Specifies route targets. &<1-8> means that you can specify up to eight route targets.

16
A route target is a string of 3 to 21 characters in one the following formats:
•16 - b i t AS n u m b e r :32-bit user-defined number. For example, 101:3.
•32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
•32-bit AS number:16-bit user-defined number, where the AS number must not be less than 65536.
For example, 65536:1.
both: Uses the specified route targets as both import targets and export targets. The both keyword is also
used when you do not specify any of both, export-extcommunity, or import-extcommunity.
export-extcommunity: Uses the specified route targets as export targets.
import-extcommunity: Uses the specified route targets as import targets.
all: Specifies all route targets.
Description
Route targets are used to control VPN route learning. The MCE adds the specified export targets into
VPN routes advertised a peer. The peer compares the export targets in the received VPN routes against
the local import targets. If a match is found, the peer adds the received routes to the VPN routing table.
You can configure multiple route targets for a VPN instance by executing this command multiple times.
The route targets configured in VPN instance view apply to both the IPv4 VPN and IPv6 VPN. The route
targets configured in IPv4 VPN view apply only to the IPv4 VPN. The route targets configured in IPv6
VPN view apply only to the IPv6 VPN.
Route targets configured in IPv4 VPN view or IPv6 VPN view takes precedence over that configured in
VPN instance view. If you configure route targets in both IPv4 VPN view (or IPv6 VPN view) and VPN
instance view, the IPv4 VPN (IPv6 VPN) uses the route targets configured in IPv4 VPN view (IPv6 VPN
view).
Examples
# Configure route targets for VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity
[Sysname-vpn-instance-vpn1] vpn-target 5:5 both
# Configure route targets for IPv4 VPN instance vpn2.
<Sysname> system-view
[Sysname] ip vpn-instance vpn2
[Sysname-vpn-instance-vpn2] ipv4-family
[Sysname-vpn-ipv4-vpn2] vpn-target 3:3 export-extcommunity
[Sysname-vpn-ipv4-vpn2] vpn-target 4:4 import-extcommunity
[Sysname-vpn-ipv4-vpn2] vpn-target 5:5 both

17
IPv6 MCE configuration commands
This chapter describes only IPv6 MCE specific commands. To configure IPv6 MCE, you must use some
MCE commands in VPN instance view or IPv6 VPN view. For more information, see "MCE configuration
commands."
display bgp group ipv6 vpn-instance
Use display bgp group ipv6 vpn-instance to display information about the BGP IPv6 peers in the
specified VPN instance.
Syntax
display bgp group ipv6 vpn-instance vpn-instance-name [group-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-name: Specifies a BGP IPv6 peer group by its name, a case-sensitive string of 1 to 47 characters.
If no group is specified, this command displays brief information about all BGP IPv6 peer groups.
vpn-instance vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31
characters.
Examples
# Display brief information about all BGP IPv6 peer groups in the VPN instance vpn1.
<Sysname> display bgp group ipv6 vpn-instance vpn1
BGP peer group: grp1
Remote AS number: Not specified
Type: external
Members:
3::3
BGP peer group: grp2
Remote AS: 100
Type: internal
Members:
4::4
# Display detailed information about BGP IPv6 peer group grp1 in the VPN instance vpn1.
<Sysname> display bgp group ipv6 vpn-instance vpn1 grp1
BGP peer group: grp1
Remote AS number: Not specified
Type: external
Other manuals for 6125XLG
36
Table of contents
Other HP Switch manuals

HP
HP ProCurve zl Series User manual

HP
HP 1810-24 User manual

HP
HP C-Series User manual

HP
HP ProCurve 6120G/XG User manual

HP
HP ProLiant BL p-Class GbE2 User manual

HP
HP A5120 EI Series User manual

HP
HP 5120 EI Series User manual

HP
HP PROCURVE 6120 User manual

HP
HP 6125XLG User manual

HP
HP E5412 ZL User manual

HP
HP 6400cl User manual

HP
HP FlexFabric 7900 Series Installation manual

HP
HP HPE FlexFabric 5930 User manual

HP
HP 10500 series User manual

HP
HP McDATA 4Gb SAN Switch User manual

HP
HP StorageWorks 64 - SAN Director Switch Technical manual

HP
HP 6125G User manual

HP
HP 3100 v2 Series User manual

HP
HP JC106A User manual

HP
HP 6125XLG Installation manual