H3C S6800 Series Mce Command Reference
H3C S6800 Series Mce Command Reference

H3C S6800 Series Mce Command Reference

Hide thumbs Also See for S6800 Series:

Advertisement

Quick Links

H3C S6800 Switch Series
MCE Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 2407
Document version: 6W100-20131205

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for H3C S6800 Series

  • Page 1 H3C S6800 Switch Series MCE Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 2407 Document version: 6W100-20131205...
  • Page 2 Copyright © 2013, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S6800 documentation set includes 9 command references, which describe the commands and command syntax options available for the H3C S6800 Switch Series. The MCE Command Reference describes the MCE configuration commands. This preface includes: • Audience Conventions •...
  • Page 4 Convention Description A line that starts with a pound (#) sign is comments. GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears; click OK. > Multi-level menus are separated by angle brackets.
  • Page 5 Release notes software upgrading. 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]—Provides hardware installation, software...
  • Page 6 Technical support service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 7: Table Of Contents

    Contents MCE commands ··························································································································································· 1   address-family ipv4 (VPN instance view) ·············································································································· 1   description (VPN instance view) ····························································································································· 1   display bgp group ipv4 vpn-instance ····················································································································· 2   display bgp peer ipv4 vpn-instance ······················································································································· 4   display ip vpn-instance ············································································································································ 6  ...
  • Page 8: Mce Commands

    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...
  • Page 9: Display Bgp Group Ipv4 Vpn-Instance

    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. <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.
  • Page 10 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 MsgRcvd...
  • Page 11: Display Bgp Peer Ipv4 Vpn-Instance

    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...
  • Page 12 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. <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...
  • Page 13: Display Ip Vpn-Instance

    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. <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 27-Mar-2011 15:36:12 Down...
  • Page 14: Domain-Id

    <Sysname> display ip vpn-instance Total VPN-Instances configured : 1 VPN-Instance Name Create time 2011/05/18 10:48:17 Table 5 Command output Field Description VPN-Instance Name Name of the VPN instance. RD of the VPN instance. Create Time Time when the VPN instance was created. # Display detailed information about VPN instance vpn1.
  • Page 15: Export Route-Policy

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

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

    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.
  • Page 18: Ip Binding Vpn-Instance

    Examples # Apply import routing policy poly-1 for VPN instance vpn1. <Sysname> 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. <Sysname> 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.
  • Page 19: Ip Vpn-Instance (System View)

    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.
  • Page 20: Route-Tag

    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.
  • Page 21: Routing-Table Limit

    MCE ignores the LSA in route calculation to avoid routing loops. H3C recommends configuring the same external route tag for MCEs in the same area. An external route tag is not transferred in any BGP extended community attribute. It is only locally significant and takes effect only on the MCEs that receive BGP routes and generate OSPF Type 5 or 7 LSAs.
  • Page 22: Vpn-Id

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

    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.
  • Page 24: Vpn-Target (Vpn Instance View/Ipv4 Vpn View/Ipv6 Vpn View)

    This command is applicable only to OSPF view for a VPN instance. Examples # Disable OSPF routing loop detection for VPN instance vpna. <Sysname> 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.
  • Page 25 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.
  • Page 26: Ipv6 Mce Commands

    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...
  • Page 27 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.
  • Page 28: Display Bgp Peer Ipv6 Vpn-Instance

    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. Percentage of received routes from a peer to maximum routes allowed Threshold to learn from the peer.
  • Page 29 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.
  • Page 30 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...
  • Page 31 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. •...
  • Page 32: Index

    Index A D E I R V address-family ipv4 (VPN instance view),1 import route-policy,10 address-family ipv6 (VPN instance view),19 ip binding vpn-instance,1 1 ip vpn-instance (system view),12 description (VPN instance view),1 display bgp group ipv4 vpn-instance,2 route-distinguisher (VPN instance view),12 display bgp group ipv6 vpn-instance,19 route-tag,13...

Table of Contents