H3C S5820V2 Mce Command Reference
Hide thumbs Also See for S5820V2:

Advertisement

Quick Links

H3C S5830V2 & S5820V2 Switch Series
MCE Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 22xx
Document version: 6W100-20131105

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5820V2 and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S5820V2

  • Page 1 H3C S5830V2 & S5820V2 Switch Series MCE Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 22xx Document version: 6W100-20131105...
  • Page 2 SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice.
  • Page 3 Preface The H3C S5830V2 & S5820V2 documentation set includes 14 command references, which describe the commands and command syntax options available for the H3C S5830V2 & S5820V2 Switch Series. The MCE Command Reference describes the MCE configuration commands. This preface includes: •...
  • Page 4 Command reference Added and modified commands Modified commands: • display bgp vpnv4 vpn-instance group changed to display bgp group ipv4 vpn-instance. • display bgp vpnv4 vpn-instance peer changed to display bgp peer ipv4 vpn-instance. • refresh bgp vpn-instance changed to refresh bgp ipv4 vpn-instance. •...
  • Page 5 An alert that provides helpful information. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your switch. About the H3C S5830V2 & S5820V2 documentation set The H3C S5830V2&S5820V2 documentation set includes:...
  • Page 6 Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
  • Page 7: Table Of Contents

    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  ...
  • Page 8: Mce Configuration Commands

    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: Description for the VPN instance, a string of 1 to 79 case-sensitive characters.
  • Page 9 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.
  • Page 10: Display Bgp Peer Ipv4 Vpn-Instance

    Field Description Type Peer group type, external or internal. Maximum allowed prefix number Maximum number of routes that the VPN instance supports. Threshold value. Threshold If the threshold is reached, the device generates prompt information. MsgRcvd Number of messages received. MsgSent Number of messages sent.
  • Page 11 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 10.1.1.1 00:18:47 Established Table 2 Output description Field Description 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...
  • Page 12: Display Ip Vpn-Instance

    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...
  • Page 13: Domain-Id

    Ipv6-family: Export VPN Targets : Import VPN Targets : Maximum Routes Limit : 2000 Threshold Value(%): 50 Table 4 Output description Field Description 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.
  • Page 14: Export Route-Policy

    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.
  • Page 15: Ext-Community-Type

    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).
  • Page 16: Import Route-Policy

    Examples # Configure the type codes of OSPF extended community attributes Domain ID, Router ID, and Route Type as 0x8005, 0x8001, and 0x8000, respectively, 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.
  • Page 17: Ip Binding Vpn-Instance

    [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] import route-policy poly-1 # 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>...
  • Page 18: Ip Vpn-Instance

    Examples # Associate VLAN-interface 2 with the VPN instance vpn1. <Sysname> system-view [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.
  • Page 19: Route-Distinguisher

    Views VPN instance view Predefined user roles network-admin 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...
  • Page 20: Route-Tag

    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. H3C recommends configuring the same VPN route tag for MCEs in the same area.
  • Page 21: Routing-Table Limit

    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>...
  • Page 22: Vpn-Instance-Capability Simple

    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.
  • Page 23 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. A route target is a string of 3 to 21 characters in one the following formats: 16-bit AS number:32-bit user-defined number.
  • Page 24 [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...
  • Page 25: Ipv6 Mce Configuration Commands

    IPv6 MCE configuration commands This chapter describes only IPv6 MCE specific commands. To configure IPv6 MCE, however, you also need to 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.
  • Page 26 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 MsgRcvd MsgSent OutQ PrefRcv Up/Down State 3::3 0 00:01:02 Connect...
  • Page 27: Display Bgp Peer Ipv6 Vpn-Instance

    Field Description State Current state of the BGP session between the local router and the peer. display bgp peer ipv6 vpn-instance Use display bgp peer ipv6 vpn-instance to display BGP IPv6 peer in the specified VPN instance. Syntax display bgp peer ipv6 vpn-instance vpn-instance-name [ group-name log-info | ipv6-address { log-info | verbose } | verbose ] Views Any view...
  • Page 28 Field Description MsgSent Number of messages sent. OutQ Number of messages to be sent. PrefRcv Number of prefixes received. Up/Down Lasting time of the current BGP session state. State Current state of the BGP session between the local router and the peer. # Display detailed information about BGP IPv6 peer 1::2 in the VPN instance vpn1.
  • Page 29: Ipv6-Family

    Field Description Percentage of received routes from the peer to maximum routes allowed Threshold to learn from the peer. If the percentage is reached, the system generates alarm messages. Minimum time between Minimum route advertisement interval in seconds. advertisements Optional capabilities Optional capabilities supported by the local end.
  • Page 30 Predefined user roles network-admin Usage guidelines In IPv6 VPN view, you can configure IPv6 VPN parameters, such as the export routing policy and import routing policy. Examples # In VPN instance view, enter IPv6 VPN view. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv6-family [Sysname-vpn-ipv6-vpn1]...
  • Page 31: Index

    Index D E I R V import route-policy,9 ip binding vpn-instance,10 description,1 vpn-instance,1 1 display bgp group ipv4 vpn-instance,1 ipv4-family,1 1 display bgp group ipv6 vpn-instance,18 ipv6-family,22 display bgp peer ipv4 vpn-instance,3 display bgp peer ipv6 vpn-instance,20 display ip vpn-instance,5 route-distinguisher,12 domain-id,6 route-tag,13...

This manual is also suitable for:

S5830v2

Table of Contents