HP FlexFabric 5930 Switch Series MCE Command Reference Part number: 5998-4624 Software version: Release 2406 & Release 2407P01 Document version: 6W101-20140404
Legal and notice information © Copyright 2014 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.
Contents MCE commands ··························································································································································· 1 address-family ipv4 (VPN instance view) ·············································································································· 1 description (VPN instance view) ····························································································································· 1 display bgp group i
MCE commands address-family ipv4 (VPN instance view) Use address-family ipv4 in VPN instance view to enter IPv4 VPN view. Use undo address-family ipv4 to remove all configurations from IPv4 VPN view. Syntax address-family ipv4 undo address-family ipv4 Views VPN instance view Predefined user roles network-admin Usage guidelines In IPv4 VPN view, you can configure IPv4 VPN parameters such as inbound and outbound routing policies. Examples # Enter IPv4 VPN view.
Predefined user roles network-admin Parameters text: Specifies a description for the VPN instance, a case-sensitive string of 1 to 79 characters. Examples # Configure a description of "This is vpn1" for VPN instance vpn1. 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.
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 10.1.1.1 10 0 MsgSent OutQ PrefRcv Up/Down 0 0 State 0 00:01:02 Connect Table 1 Command output Field Description Peer group type: Type • external—EBGP peer group.
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.
Field Description State Current state of the BGP session between the local device and the peer. # Display detailed information about BGP peers for VPN instance vpn1. 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.
Field Description Peer Preferred Value Preferred value specified for the routes from the peer. # Display log information for BGP peer 10.1.1.1 in VPN instance vpn1. display bgp peer ipv4 vpn-instance vpn1 10.1.1.1 log-info Peer : 10.1.1.1 Date Time State Notification Error/SubError 27-Mar-2011 15:36:12 Down Receive notification with error 6/4 Cease/Administrative Reset 27-Mar-2011 15:34:29 Up Table 4 Command output Field Description Peer IP address of the peer.
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 5 Command output Field Description 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.
Views OSPF view Predefined user roles network-admin Parameters domain-id: Specifies an OSPF domain ID, in one of these 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 a secondary domain ID. Without this keyword, the command specifies a primary domain ID.
Parameters route-policy: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines You can specify an export routing policy to filter advertised routes or modify their route attributes for the VPN instance. An export routing policy specified in VPN instance view applies to both IPv4 VPN and IPv6 VPN. An export routing policy specified in IPv4 VPN view or IPv6 VPN view applies to only IPv4 VPN or IPv6 VPN.
Predefined user roles network-admin Parameters domain-id type-code1: Specifies the type code for domain ID. Valid values are 0x0005, 0x0105, 0x0205, and 0x8005. router-id type-code2: Specifies the type code for router ID. Valid values are 0x0107 and 0x8001. router-type type-code3: Specifies the type code for route type. Valid values are 0x0306 and 0x8000. Examples # Configure the type codes of domain ID, router ID, and route type as 0x8005, 0x8001, and 0x8000, for OSPF process 100.
Examples # Apply import routing policy poly-1 for VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] import route-policy poly-1 # Apply import routing policy poly-2 for IPv4 VPN vpn2. system-view [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] address-family ipv4 [Sysname-vpn-ipv4-vpn2] import route-policy poly-2 # Apply import routing policy poly-3 for IPv6 VPN vpn3.
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 interface VLAN-interface 1 with VPN instance vpn1.
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 these formats: • 16-bit AS number: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.
Views OSPF view Predefined user roles network-admin Parameters tag-value: Specifies an external route tag for redistributed VPN routes, 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. An external route tag can be configured by different commands and has different priorities.
Predefined user roles network-admin Parameters number: Specifies the maximum number of active routes. In VPN instance view or IPv6 VPN view, the value range is 1 to 8192. In IPv4 VPN view, the value range is 1 to 16384. warn-threshold: Specifies a warning threshold in the range of 1 to 100 in percentage. When the percentage of the number of existing active routes to the maximum number of active routes exceeds the specified threshold, the system gives an alarm message but still allows new active routes.
Syntax vpn-id undo vpn-id Default No VPN ID is configured for a VPN instance. Views VPN instance view Predefined user roles network-admin Parameters vpn-id: Specifies a VPN ID for the VPN instance, in the form of OUI:Index. Both OUI and Index are hex numbers. The OUI is in the range of 0 to FFFFFF, and the index is in the range of 0 to FFFFFFFF. Usage guidelines The VPN ID uniquely identifies the VPN instance. Different VPN instances must have different VPN IDs. The VPN ID cannot be 0:0.
This command is applicable only to OSPF view for a VPN instance. Examples # Disable OSPF routing loop detection for VPN instance vpna. system-view [Sysname] ospf 100 vpn-instance vpna [Sysname-ospf-100] vpn-instance-capability simple vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view) 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.
Route targets configured in IPv4 VPN view or IPv6 VPN view are applicable to only the IPv4 VPN or IPv6 VPN. Route targets configured in IPv4 VPN view or IPv6 VPN view take precedence over those 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 or IPv6 VPN uses the route targets configured in IPv4 VPN view or IPv6 VPN view. Examples # Configure route targets for VPN instance vpn1.
IPv6 MCE commands For information about the commands available for both MCE and IPv6 MCE, see "MCE commands." address-family ipv6 (VPN instance view) Use address-family ipv6 to enter IPv6 VPN view. Use undo address-family ipv6 to remove all configurations from IPv6 VPN view. Syntax address-family ipv6 undo address-family ipv6 Views VPN instance view Predefined user roles network-admin Usage guidelines In IPv6 VPN view, you can configure IPv6 VPN parameters such as inbound and outbound routing policies.
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.
Field Description Type of the peer groups: Type • external—EBGP peer group. • internal—IBGP peer group. Maximum allowed prefix number Maximum number of routes allowed to learn from a peer in the group. Threshold Percentage of received routes from a peer to maximum routes allowed to learn from the peer. If the percentage is reached, the system generates alarm messages. Configured hold time value Configured Hold Interval in seconds. Keepalive timer value Keepalive interval in seconds.
Parameters vpn-instance vpn-instance-name: Specifies the name of a VPN instance, a case-sensitive string of 1 to 31 characters. group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ipv6-address: Specifies a peer by its IPv6 address. log-info: Displays log information. verbose: Displays detailed information. Usage guidelines If no parameter is specified, the command displays brief information about all BGP IPv6 peers in the specified VPN instance.
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 Table 8 Command output Field Description Peer IP address of the peer. Local Local router ID. BGP connection type between the local device and the peer: Type • IBGP link—IBGP connection. • EBGP link—EBGP connection.
Table 9 Command output Field Description Peer IP address of the peer. Date Date on which the notification was sent or received. Time Time at which the notification was sent or received. State BGP session state. Error code of the notification, indicating the cause of why the BGP session is down. Notification Error/SubError • Error—Refers to the error code, which identifies the type of the notification.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ADEIRV A I address-family ipv4 (VPN instance view),1 import route-policy,10 address-family ipv6 (VPN instance view),19 ip binding vpn-instance,11 D ip vpn-instance (system view),12 description (VPN instance view),1 R display bgp group ipv4 vpn-instance,2 route-distinguisher (VPN instance view),12 display bgp group ipv6 vpn-instance,19 route-tag,13 display bgp peer ipv4 vpn-instance,4 routing-table limit,14 display bgp peer ipv6 vpn-instance,21 V display ip vpn-instance,6 vpn-id,15