H3C S5830V2 Series Mce Command Reference

H3C S5830V2 Series Mce Command Reference

Hide thumbs Also See for S5830V2 Series:

Advertisement

Quick Links

H3C S5830V2 & S5820V2 Switch Series
MCE Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release2108
Document version: 6W101-20120531

Advertisement

Table of Contents
loading

Summary of Contents for H3C S5830V2 Series

  • Page 1 H3C S5830V2 & S5820V2 Switch Series MCE Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release2108 Document version: 6W101-20120531...
  • 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 10 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 An alert that calls attention to essential information. IMPORTANT An alert that contains additional or supplementary information. NOTE An alert that provides helpful information. About the H3C S5830V2 & S5820V2 documentation set The H3C S5830V2&S5820V2 documentation set includes: Category Documents...
  • Page 5 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 6: Table Of Contents

    Contents MCE configuration commands ···································································································································· 1   description ································································································································································· 1   display bgp vpnv4 vpn-instance group ·················································································································· 1   display bgp vpnv4 vpn-instance peer ···················································································································· 3   display bgp vpnv4 vpn-instance routing-table ······································································································· 5   display ip vpn-instance ············································································································································ 6  ...
  • Page 7: Mce Configuration Commands

    MCE configuration commands description Use the description command to configure a description for a VPN instance. Use the undo description command to delete the description. Syntax description text undo description 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. Usage guidelines If you perform this command multiple times, the last configuration takes effect.
  • Page 8 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.
  • Page 9: Display Bgp Vpnv4 Vpn-Instance Peer

    Field Description 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 vpnv4 vpn-instance peer Use the display bgp vpnv4 vpn-instance peer command to display information about BGP VPNv4 peers. Syntax display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name log-info | ip-address { log-info | verbose } | verbose ]...
  • Page 10 Field Description 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 number of the peer group MsgRcvd Number of messages received MsgSent Number of messages sent OutQ...
  • Page 11: Display Bgp Vpnv4 Vpn-Instance Routing-Table

    display bgp vpnv4 vpn-instance routing-table Use the display bgp vpnv4 vpn-instance routing-table command to display the BGP VPNv4 routing information for a VPN instance. Syntax display bgp vpnv4 vpn-instance vpn-instance-name routing-table [ network-address [ mask | mask-length ] [ advertise-info ] ] Views Any view Predefined user roles...
  • Page 12: Display Ip Vpn-Instance

    Table 3 Output description Field Description Total number of routes Total number of routes BGP local router ID Router ID of the local BGP router Status codes Route status code Origin Route origin code Network Network address in the BGP routing table NextHop Address of the next hop LocPrf...
  • Page 13: Domain-Id

    # Display detailed information about VPN instance vpn1. <Sysname> display ip vpn-instance instance-name vpn1 VPN-Instance Name and ID : vpn1, 2 Route Distinguisher : 100:1 Description : vpn1 Interfaces : Vlan-interface100 Ipv4-family: Export VPN Targets : Import VPN Targets : Maximum Routes Limit : 5000 domain-id Use the domain-id command to configure an OSPF domain ID.
  • Page 14: Ip Binding Vpn-Instance

    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 ip binding vpn-instance Use the ip binding vpn-instance command to associate an interface with a VPN instance. Use the undo ip binding vpn-instance command to remove the association.
  • Page 15: Ip Vpn-Instance

    ip vpn-instance Use the ip vpn-instance command to create a VPN instance and enter VPN instance view. Use the undo ip vpn-instance command 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...
  • Page 16: Refresh Bgp Vpn-Instance

    <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family [Sysname-vpn-ipv4-vpn1] refresh bgp vpn-instance Use the refresh bgp vpn-instance command to soft reset BGP connections in a VPN instance. Syntax refresh bgp vpn-instance vpn-instance-name { ip-address | all | external | group group-name | internal } { export | import } Views User view...
  • Page 17: Route-Distinguisher

    Syntax reset bgp vpn-instance vpn-instance-name { as-number | ip-address | all | external | group group-name | internal } Views User view Predefined user roles network-admin Parameters vpn-instance-name: VPN instance name, a string of 1 to 31 case-sensitive characters. as-number: AS number, in the range of 1 to 4294967295. ip-address: IP address of a peer.
  • Page 18: Routing-Table Limit

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

    The setting configured in IPv4 VPN view takes precedence over that configured in VPN instance view. If you configure a limit in both IPv4 VPN view and VPN instance view, the IPv4 VPN uses the limit configured in IPv4 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.
  • Page 20 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 Predefined user roles network-admin Parameters...
  • Page 21 [Sysname-vpn-ipv4-vpn2] vpn-target 5:5 both...
  • Page 22: Index

    Index D I R V ipv4-family,9 description,1 display bgp vpnv4 vpn-instance group,1 refresh bgp vpn-instance,10 display bgp vpnv4 vpn-instance peer,3 reset bgp vpn-instance,10 display bgp vpnv4 vpn-instance routing-table,5 route-distinguisher,1 1 display ip vpn-instance,6 routing-table limit,12 domain-id,7 vpn-instance-capability simple,13 ip binding vpn-instance,8 vpn-target,13 vpn-instance,9...

This manual is also suitable for:

S5820v2 series

Table of Contents