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] –...
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.
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...
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...
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.
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...
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.
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.
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...