HP FlexFabric 11900 Switch Series MPLS Command Reference Part number: 5998-4079 Software version: Release 2105 and later Document version: 6W100-20130515
Legal and notice information © Copyright 2013 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 description ································································································································································· 1 display bgp group ipv4 vpn-instance·····················································································································1 di
display mpls ldp interface ···································································································································· 51 display mpls ldp lsp ·············································································································································· 52 display mpls ldp parameter·································································································································· 53 display mpls ldp peer
policy vpn-target ·················································································································································· 109 refresh bgp vpnv4 ··············································································································································· 109 reset bgp vpnv4 ··················································································································································· 110 route-dis
display l2vpn forwarding ··································································································································· 166 display l2vpn mac-address ································································································································· 170 display l2vpn pw ················································································································································· 171 display l2vpn pw-class ·
MCE commands description Use description to configure a description for a VPN instance. Use undo description 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 most recent configuration takes effect.
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 Threshold value. Threshold If the threshold is reached, the device generates prompt information. MsgRcvd Number of messages received. 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 peer ipv4 vpn-instance Use display bgp peer ipv4 vpn-instance to display information about BGP peers.
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 IP address of the peer AS AS number of the peer group MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of messages waiting to be sent to the peer PrefRcv Number of received prefixes Up/Down Duration of the BGP sess
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 instance-name vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive characters. If no VPN is specified, the command displays brief information about all VPN instances. Examples # Display information about all VPN instances.
2:2 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. Import VPN Targets Import route target attribute of the VPN. Threshold Value(%) Threshold for warning.
and the routes are intra-area or inter-area routes, OSPF advertises these routes in Type-3 LSAs. If the domain ID is the same but the routes are not intra-area or inter-area routes, OSPF advertises these routes in Type-5 or Type-7 LSAs. If the domain ID is different, OSPF advertises the routes in Type-5 or Type-7 LSAs. With no parameter specified, the undo domain-id command deletes all domain IDs. Examples # Configure the OSPF domain ID as 234 for VPN instance vpn1.
Examples # Apply export routing policy poly-1 to VPN instance vpn1. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] export route-policy poly-1 # Apply export routing policy poly-2 to the IPv4 VPN of VPN instance vpn2. system-view [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] ipv4-family [Sysname-vpn-ipv4-vpn2] export route-policy poly-2 # Apply export routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
[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. Such a routing policy is referred to as an import routing policy. Use undo import route-policy to remove the application.
[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. system-view [Sysname] ip vpn-instance vpn3 [Sysname-vpn-instance-vpn3] ipv6-family [Sysname-vpn-ipv6-vpn3] import route-policy poly-3 Related commands • export route-policy • route-policy (Layer 3—IP Routing Command Reference) ip binding vpn-instance Use ip binding vpn-instance to associate an interface with a VPN instance.
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. 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 network-admin Parameters vpn-instance-name: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive characters.
Examples # Enter IPv4 VPN view. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family [Sysname-vpn-ipv4-vpn1] route-distinguisher Use route-distinguisher to configure a route distinguisher (RD) for a VPN instance. Use undo route-distinguisher to delete the RD for a VPN instance. Syntax route-distinguisher route-distinguisher undo route-distinguisher Default No RD is specified for a VPN instance.
route-tag Use route-tag to configure a route tag for redistributed VPN routes. Use undo route-tag to restore the default. Syntax route-tag tag-value undo route-tag Default If BGP AS number is not greater than 65535, the first two octets of the default route tag is always 0xD000 and the last two octets are the AS number of the local BGP. For example, if the local BGP AS number is 100, the default VPN route tag is 3489661028 in decimal. If the BGP AS number is greater than 65535, the default route tag is 0.
routing-table limit Use routing-table limit to set the maximum number of routes in a VPN instance. Use undo routing-table limit to restore the default. Syntax routing-table limit number { warn-threshold | simply-alert } undo routing-table limit Default No limit is set to the route number for a VPN instance. Views VPN instance view, IPv4 VPN view, IPv6 VPN view Predefined user roles network-admin Parameters number: Specifies the maximum number of routes.
[Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] route-distinguisher 100:2 [Sysname-vpn-instance-vpn2] ipv4-family [Sysname-vpn-ipv4-vpn2] routing-table limit 1000 simply-alert vpn-instance-capability simple Use vpn-instance-capability simple to disable routing loop detection for a VPN OSPF process. Use undo vpn-instance-capability to restore the default. Syntax vpn-instance-capability simple undo vpn-instance-capability Default Routing loop detection is enabled for a VPN OSPF process.
• 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 AS number must not be less than 65536. For example, 65536:1. both: Uses the specified route targets as both import targets and export targets. The both keyword is also used when you do not specify any of both, export-extcommunity, or import-extcommunity.
IPv6 MCE 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 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.
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 3::3 10 0 MsgSent OutQ PrefRcv Up/Down 0 0 State 0 00:01:02 Connect Table 5 Command output Field Description BGP peer group Name of the BGP peer group. Remote AS number AS number of the peer group.
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.
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. display bgp peer ipv6 vpn-instance vpn1 verbose Peer: 1::2 Local: 1::3 Type: EBGP link BGP version 4, remote router ID 0.0.0.
Field Description Threshold Percentage of received routes from the peer to maximum routes allowed to learn from the peer. If the percentage is reached, the system generates alarm messages. Minimum time between advertisements Minimum route advertisement interval in seconds. Optional capabilities Optional capabilities supported by the local end. Peer Preferred Value Preferred value specified for the routes from the peer. # Display log information about BGP IPv6 peer 1::2 in the VPN instance vpn1.
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.
Basic MPLS commands display mpls forwarding ilm Use display mpls forwarding ilm to display Incoming Label Map (ILM) entries. Syntax In standalone mode: display mpls forwarding ilm [ label ] slot slot-number In IRF mode: display mpls forwarding ilm [ label ] chassis chassis-number slot slot-number Views Any view Predefined user roles network-admin network-operator Parameters label: Displays the ILM entry with the specified incoming label in the range of 16 to 1000000.
SWAP 0 T 1300 1024 # Display all ILM entries on slot 3.
display mpls forwarding nhlfe [ nid ] chassis chassis-number slot slot-number Views Any view Predefined user roles network-admin network-operator Parameters nid: Displays the NHLFE entry with the specified NID. The NID value range is 0 to 1000000. slot slot-number: Displays the NHLFE entries on a card. The slot-numberargument specifies the number of the slot that holds the card. (In standalone mode.) chassis chassis-number slot slot-number: Displays the NHLFE entries of a card on an IRF member device.
-------------------------------------------------------------------------------10 - TA - 2049 20 - TA - 2050 2048 LSP NA 2025 Vlan2 10.11.112.26 2049 LSP NA 3024 Vlan2 10.11.112.26 TB 3026 20 NA 3025 Vlan10 2050 LSP 10.11.113.26 Table 10 Command output Field Description Total NHLFE entries Total number of NHLFE entries. NID NHLFE entry index. Tunnel type: Tnl-Type • • • • LSP—Static LSP tunnel, or LSP tunnel signaled using LDP or BGP. GRE—GRE tunnel.
Examples # Displays all MPLS interfaces. display mpls interface Interface Status MPLS MTU GE2/0/1 Down 1500 Vlan2 Down 1500 Vlan17 Up 1500 Vlan20 Up 1500 The MPLS MTU of an interface is in bytes. Related commands • mpls enable • mpls mtu display mpls label Use display mpls label to display MPLS label usage information.
Field Description Owner Protocol that is using the label. Possible values include LDP, BGP, RSVP, and L2VPN. Usage state of the label: State • Idle—The label is idle. • Alloc—The label has been allocated. • Pending—The label has been released but is still used by an LSP entry. • Inuse—The label has been allocated and used by an LSP entry. display mpls lsp Use display mpls lsp to display LSP information.
vpn-instance vpn-instance-name: Displays LSPs for the specified VPN. The vpn-instance-name is a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays LSPs for the public network. ipv4-dest mask-length: Displays the IPv4 LSP for a FEC specified by an IPv4 address and a mask length. The mask length ranges from 0 to 32. ipv6: Displays IPv6 LSP information. If you do not specify this keyword, the command displays IPv4 LSP information.
Table 12 Command output Field Description Forwarding equivalence class: • IP address/mask—Classifies FECs by destination address. • IP address—Classifies FECs by next hop. • IP address/Out Label—Classifies FECs by next hop and outgoing label. FEC • Ingress LSR ID/Tunnel ID/LSP ID—RSVP TE FEC. • - (a hyphen)—The LSP is a static transit LSP or a static egress LSP. • Backup—If the LSP is a backup LSP of the previous LSP, this field displays "Backup.
# Display detailed information for all LSPs. display mpls lsp verbose Destination : 56.10.10.2 FEC : 56.10.10.2/32 Protocol : LDP LSR Type : Egress Service : Statistics In-Label : 1024 State : Active Destination : 56.10.10.4 FEC : 56.10.10.2/32 Protocol : LDP LSR Type : Transit Service : - In-Label : 1026 Path ID : 0x40000000.1 State : Active Out-Label : 1800 Nexthop : 10.1.1.2 Out-Interface: Vlan10 Destination : 56.10.10.4 FEC : 56.10.10.
Field Description Label distribution protocol: • • • • • • Proto LDP. BGP. RSVP. Static. StaticCR—Static CR-LSP. Local—Direct LSP. LSR type: • Ingress—The current LSR is the ingress node of the LSP. • Transit—The current LSR is a transit node of the LSP. • Egress—The current LSR is the egress node of the LSP. LSR Type Service Service deployed on the LSP. The service can only be Statistics, which indicates the MPLS forwarding statistics function. Path ID Forwarding path.
RSVP CRLSP 0/0/0 0/0/0 BGP LSP 0/0/0 0/0/0 Local LSP 2/0/0 2/0/0 ----------------------------------------------------Total 4/2/1 4/2/1 Table 15 Command output Field Description LSP types: LSP Type • • • • • • Static LSP. Static CRLSP. LDP LSP. Local LSP (direct LSP). RSVP CRLSP. BGP LSP. Total Total number of LSPs. Ingress Number of LSPs that take the local device as the ingress node. Transit Number of LSPs that take the local device as a transit node.
Examples # Display the usage information for NIDs 1028 through 1500. display mpls nid 1028 to 1500 NID alloc state: '.' means not used, '$' means used 1028 :...$.... ........ ........ ........ ........ ........ ........ ........ 1092 :........ ........ ........ ........ ........ ........ ........ ........ 1156 :........ ........ ........ ........ ........ ........ ........ ........ 1220 :........ ........ ........ ........ ........ ........ ........ ........ 1284 :........ ........ ..
Table 16 Command output Field Description Memory state: Memory State • • • • Normal—The memory is normal. Minor—The memory has a minor alarm. Severe—The memory has a severe alarm. Critical—The memory has a critical alarm. Label type that the egress assigns to the penultimate hop: Egress Label Type • Implicit-null. • Explicit-null. • Non-null. Labels Label information. Range Label range. Idle Number of idle labels in the label range.
Related commands display mpls interface mpls label advertise Use mpls label advertise to specify the type of label the egress will advertise to the penultimate hop. Use undo mpls label advertise to restore the default. Syntax mpls label advertise { explicit-null | implicit-null | non-null } undo mpls label advertise Default As an egress, the device advertises an implicit null label to the penultimate hop.
Related commands reset mpls ldp mpls lsr-id Use mpls lsr-id to configure an LSR ID for the local LSR. Use undo mpls lsr-id to delete the LSR ID of the local LSR. Syntax mpls lsr-id lsr-id undo mpls lsr-id Default An LSR has no LSR ID. Views System view Predefined user roles network-admin Parameters lsr-id: Specifies an ID for identifying the LSR, in dotted decimal notation. Usage guidelines HP recommends that you use the address of a loopback interface on the LSR as the LSR ID.
Predefined user roles network-admin Parameters value: Specifies the MPLS MTU of the interface, in the range of 46 to 65535 bytes. Usage guidelines This command is effective only when MPLS is enabled on the interface. If the MPLS MTU is larger than the interface MTU, data forwarding may fail. Examples # Set the MPLS MTU of interface VLAN-interface 2 to 1000 bytes.
mpls ttl propagate Use mpls ttl propagate to enable TTL propagation. Use undo mpls ttl propagate to disable TTL propagation. Syntax mpls ttl propagate { public | vpn } undo mpls ttl propagate { public | vpn } Default TTL propagation is enabled for public network packets and disabled for VPN packets. Views System view Predefined user roles network-admin Parameters public: Specifies public network packets. vpn: Specifies VPN packets.
Static LSP commands display mpls static-lsp Use display mpls static-lsp to display static LSP information. Syntax display mpls static-lsp [ lsp-name lsp-name ] Views Any view Predefined user roles network-admin network-operator Parameters lsp-name lsp-name: Specifies a static LSP by its name, a case-sensitive string of 1 to 15 characters. If you do not specify a static LSP, the command displays information about all static LSPs. Examples # Display information about all static LSPs.
undo static-lsp egress lsp-name Default No static LSP exists on the device. Views System view Predefined user roles network-admin Parameters lsp-name: Specifies a name for the static LSP, a case-sensitive string of 1 to 15 characters. in-label in-label: Specifies an incoming label in the range of 16 to 1023. Examples # Configure a static LSP on the egress node: specify the LSP's name as bj-sh and incoming label as 233.
Usage guidelines The next hop specified for the LSP must be consistent with the next hop of the optimal route destined for the specified address. If you configure a static IP route for the LSP, be sure to specify the same next hop for the static route and the static LSP. You must enable MPLS on the outgoing interface of the static LSP. Examples # Configure a static LSP on the ingress node: specify the LSP's name as bj-sh, destination address as 202.25.38.1/24, next hop address as 202.55.25.
Related commands display mpls static-lsp 43
LDP commands accept-label Use accept-label to configure a label acceptance policy. Use undo accept-label to remove the label acceptance policy. Syntax accept-label peer peer-lsr-id prefix-list prefix-list-name undo accept-label peer peer-lsr-id Default No label acceptance policy is configured. LDP accepts all label mappings from all peers. Views LDP view, LDP-VPN instance view Predefined user roles network-admin Parameters peer peer-lsr-id: Specifies an LDP peer by its LSR ID.
Related commands • display mpls ldp peer verbose • ip prefix-list (Layer 3—IP Routing Command Reference) advertise-label Use advertise-label to configure a label advertisement policy. Use undo advertise-label to delete a label advertisement policy. Syntax advertise-label prefix-list prefix-list-name [ peer peer-prefix-list-name ] undo advertise-label prefix-list prefix-list-name Default No label advertisement policy is configured.
Examples # Configure two label advertisement policies. One policy advertises only the label mapping for subnet 10.1.1.0/24 to the peer 3.3.3.9; the other policy advertises only the label mapping for subnet 10.2.1.0/24 to the peer 4.4.4.9. system-view [Sysname] ip prefix-list prefix-to-C permit 10.1.1.0 24 [Sysname] ip prefix-list prefix-to-D permit 10.2.1.0 24 [Sysname] ip prefix-list peer-C permit 3.3.3.9 32 [Sysname] ip prefix-list peer-D permit 4.4.4.
before the next attempt. This process continues until the maximum delay time is reached. After that, the maximum delay time always takes effect. The maximum delay time must be larger than the initial delay time. Examples # Configure LDP backoff for the public network, and set the initial delay time to 100 seconds and the maximum delay time to 300 seconds.
(T) 100.100.100.18 200.100.100.18:0 83/60 100.100.100.18:0 23/20 Table 18 Command output Field Description Type of LDP discovery. • L—Basic discovery, which sends Link Hellos to discover peers. • T—Extended discovery, which sends Targeted Hellos to discover peers. Type Discovery source. Discovery Source • If the LDP discovery type is L, this field displays the interface that discovers the peer. • If the LDP discovery type is T, this field displays the LSR ID of the peer.
Table 19 Command output Field Link Hellos Description Information about basic discovery that sends Link Hellos on interfaces. In a non-point-to-point network, an interface may discover multiple peers. Interface Interface using basic discovery. Hello Interval Hello interval in milliseconds. Hello Sent/Rcvd Number of Hellos sent or received on the interface. Transport Address Local transport address. Peer LDP ID LDP identifier of the LDP peer.
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. The command displays FEC-label mappings for the specified VPN. If you do not specify a VPN instance, the command displays FEC-label mappings for the public network. destination-address mask-length: Specifies an FEC by an IP address and a mask in the range of 0 to 32. summary: Displays summary information about all FEC-label mappings learned by LDP.
Field Description Downstream Info Downstream peer from which the local LSR received the FEC-label mapping, and current state of the LSP. Peer LDP ID of a downstream peer. Out Label Outgoing label assigned by the downstream LSR for the FEC. Current state of the LSP established with the downstream peer: • Established—Active state. • Idle—Inactive state. State If the state is marked as stale, the FEC-label mapping is under a GR process. Next Hops Next hops and outgoing interfaces.
Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about all LDP interfaces. Examples # Display information about all LDP interfaces.
Examples # Display LDP LSP information for the public network. display mpls ldp lsp Status Flags: * - stale, L - liberal Statistics: FECs: 4 Ingress LSPs: 1 Transit LSPs: 1 Egress LSPs: 3 FEC In/Out Label Nexthop OutInterface 1.1.1.1/32 -/3 10.1.1.1 Vlan17 1151/3 10.1.1.1 Vlan20 2.2.2.2/32 3/-/1151(L) 10.1.1.0/24 1149/-/1149(L) 192.168.1.
Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. The command displays the LDP running parameters for the specified VPN. If you do not specify a VPN instance, the command displays the LDP running parameters for the public network. Examples # Display LDP running parameters for the public network.
Field Description Label Retention Mode The device supports only the Liberal mode. IGP Sync Delay Delay time (in seconds) that LDP must wait before it notifies IGP of an LDP session-up event (not supported). IGP Sync Delay on Restart Delay time (in seconds) that LDP must wait before it notifies IGP of an LDP session-up event in case of LDP restart (not supported). display mpls ldp peer Use display mpls ldp peer to display the LDP peer and session information.
Field Description LAM Label advertisement mode. The device only supports the Downstream Unsolicited (DU) mode. Role of the local LSR in the session, Active or Passive. Role In a session, the LSR with a higher IP address takes the Active role. The Active LSR initiates a TCP connection to the passive LSR. Whether GR is enabled on the peer. • On—Enabled. • Off—Disabled. GR Whether MD5 authentication is enabled for the LDP session on the local device. MD5 • On—Enabled. • Off—Disabled.
Field Description TCP connection TCP connection information of the session, including the IP addresses and port numbers used by both ends of the TCP connection, and whether MD5 authentication is enabled for the TCP connection. If MD5 authentication is enabled, MD5 On is displayed. If MD5 is not enabled, this field is blank. State of the LDP session: Session State • • • • • Non Existent—No TCP connection is established. Initialized—A TCP connection has been established.
Field Description LDP peer discovered by the extended discovery mechanism. • The address before -> (100.100.100.17 in this example) is the local LSR ID. • The address after -> (100.100.100.20 in this example) is the LSR ID of the peer. Targeted Hello • (Active) indicates that the local LSR is the active end. It actively sends Targeted Hellos to its peer. • (Passive) indicates that the local LSR is the passive end. It passively responds to the Targeted Hellos from its peer.
Parameters all: Displays LDP summary information for the public network and all VPN instances. vpn-instance vpn-instance-name: Displays LDP summary information for the specified VPN. The vpn-instance-name is a case-sensitive string of 1 to 31 characters. Usage guidelines If you execute this command without any parameters, the command displays LDP summary information for the public network. Examples # Display LDP summary information for the public network.
Field Operational Description Number of peers in Operational state. GR: Number of GR-capable peers. OpenSent Number of peers in OpenSen state. OpenRecv Number of peers in OpenRecv state. Initialized Number of peers in Initialized state. Non-Existent Number of peers in Non-Existent state. graceful-restart Use graceful-restart to enable Graceful Restart (GR) for LDP. Use undo graceful-restart to disable LDP GR. Syntax graceful-restart undo graceful-restart Default LDP GR is disabled.
Syntax graceful-restart timer { forwarding-hold hold-time | reconnect reconnect-time } undo graceful-restart timer { forwarding-hold | reconnect } Default The MPLS Forwarding State Holding timer is 180 seconds and the Reconnect timer is 120 seconds. Views LDP view Predefined user roles network-admin Parameters forwarding-hold hold-time: Specifies the MPLS Forwarding State Holding time in the range of 60 to 600 seconds.
system-view [Sysname] mpls ldp [Sysname-ldp] graceful-restart timer forwarding-hold 200 [Sysname-ldp] graceful-restart timer reconnect 100 Related commands • display mpls ldp parameter • graceful-restart label-distribution Use label-distribution to configure the label distribution control mode. Use undo label-distribution to restore the default. Syntax label-distribution { independent | ordered } undo label-distribution Default The label distribution control mode is ordered.
loop-detect Use loop-detect to enable loop detection. Use undo loop-detect to disable loop detection. Syntax loop-detect undo loop-detect Default Loop detection is disabled. Views LDP view, LDP-VPN instance view Predefined user roles network-admin Usage guidelines This command enables LDP to detect and terminate LSP loops. LDP loop detection uses one of the following methods: • Hop count. For more information, see "maxhops." • Path vector. For more information, see "pv-limit.
Views LDP view, LDP-VPN instance view Predefined user roles network-admin Parameters all: Enables LDP to use all routes to generate LSPs. prefix-list prefix-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. LDP can only use the routes permitted by the IP prefix list to generate LSPs. Usage guidelines The default LSP generation policy depends on the label distribution control mode.
Predefined user roles network-admin Parameters lsr-id: Specifies an LDP LSR ID, in dotted decimal notation. Usage guidelines If you configure an LDP LSR ID by using the lsr-id command in LDP view or LDP-VPN instance view, LDP uses the LDP LSR ID. Otherwise, LDP uses the LSR-ID configured by the mpls lsr-id command. LDP uses the same LSR ID for all sessions in the same VPN instance.
Usage guidelines LDP adds a hop count in a label request or label mapping message. The hop count increments by 1 on each LSR. When the hop count reaches the maximum hop count configured by this command, LDP considers that a loop occurs and terminates LSP establishment. Set a proper maximum hop count according to the number of LSRs in your network.
The local LSR and the peer LSR must have the same key. Otherwise, they cannot establish a TCP connection. After you change the MD5 authentication key, the local LSR uses the new key to re-establish an LDP session with the specified peer. Examples # Enable LDP MD5 authentication for peer 3.3.3.3 in the public network, and set a plaintext key of pass. system-view [Sysname] mpls ldp [Sysname-ldp] md5-authentication 3.3.3.
mpls ldp enable Use mpls ldp enable to enable LDP for an interface. Use undo mpls ldp enable to disable LDP for an interface. Syntax mpls ldp enable undo mpls ldp enable Default LDP is disabled on an interface. Views Interface view Predefined user roles network-admin Usage guidelines Before you enable LDP for an interface, use the mpls ldp command in system view to enable LDP globally.
Syntax mpls ldp timer { hello-hold timeout | hello-interval interval | keepalive-hold timeout | keepalive-interval interval } undo mpls ldp timer { hello-hold | hello-interval | keepalive-hold | keepalive-interval } Default The Link Hello hold time is 15 seconds, the Link Hello interval is 5 seconds, the Targeted Hello hold time is 45 seconds, the Targeted Hello interval is 15 seconds, the Keepalive hold time is 45 seconds, and the Keepalive interval is 15 seconds.
messages at the local Keepalive interval. Otherwise, the LSR sends Keepalive messages at an interval 1/3 of the negotiated Keepalive hold time. Examples # Set the Targeted Hello hold time to 1000 seconds, Targeted Hello interval to 50 seconds, Keepalive hold time to 1000 seconds, and Keepalive interval to 50 seconds for peer 3.3.3.3. System-view [Sysname] mpls ldp [Sysname-ldp] targeted-peer 3.3.3.3 [Sysname-ldp-peer-3.3.3.3] mpls ldp timer hello-hold 1000 [Sysname-ldp-peer-3.3.3.
Predefined user roles network-admin Parameters ip-address: Specifies the LDP transport address. interface: Uses the IP address of the current interface as the LDP transport address. Usage guidelines Before two LSRs establish an LDP session, they must establish a TCP connection by using the LDP transport address. LDP sends the local LDP transport address to the peer in Link Hello or Targeted Hello messages.
Predefined user roles network-admin Parameters pv-number: Specifies the path vector limit in the range of 1 to 32. Usage guidelines LDP adds LSR ID information in a label request or label mapping message. Each LSR checks whether its LSR ID is contained in the message. If not, the LSR adds its own LSR ID into the message. If yes, the LSR considers that a loop occurs and terminates LSP establishment.
reset mpls ldp # Reset all LDP sessions in the VPN instance vpn1. reset mpls ldp vpn-instance vpn1 session protection Use session protection to enable session protection. Use undo session protection to disable session protection. Syntax session protection [ duration time ] [ peer peer-prefix-list-name ] undo session protection Default Session protection is disabled.
Related commands display mpls ldp peer targeted-peer Use targeted-peer to allow sending Targeted Hellos to and receiving Targeted Hellos from the specified peer, and to enter LDP peer view. Use undo targeted-peer to cancel the configuration. Syntax targeted-peer peer-lsr-id undo targeted-peer peer-lsr-id Default The device does not send Targeted Hellos to or receive Targeted Hellos from any peer. Views LDP view Predefined user roles network-admin Parameters peer-lsr-id: Specifies the LSR ID of a peer.
Predefined user roles network-admin Parameters vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters. Usage guidelines Enabling LDP for VPNs is used for the Carrier's Carrier network that uses LDP between the Level 1 carrier and Level 2 carrier PEs. In such a network, you must enable LDP for each VPN on each Level 1 carrier PE. The VPN instance specified by this command must have been created by the ip vpn-instance command in system view.
Tunnel policy commands display mpls tunnel Use display mpls tunnel to display tunnel information. Syntax display mpls tunnel { all | statistics | [ vpn-instance vpn-instance-name ] destination { tunnel-ipv4-dest | tunnel-ipv6-dest } } Views Any view Predefined user roles network-admin network-operator Parameters all: Displays all tunnels. statistics: Displays tunnel statistics. vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
# Display tunnel statistics. display mpls tunnel statistics LSP : 1 GRE : 0 CRLSP: 0 Table 29 Command output Field Description LSP Number of LSP tunnels. GRE Number of GRE tunnels (not supported). CRLSP Number of CR-LSP (MPLS TE) tunnels (not supported). select-seq lsp load-balance-number Use select-seq lsp load-balance-number to specify the number of tunnels for load balancing. Use undo select-seq lsp load-balance-number to restore the default.
Syntax tunnel-policy tunnel-policy-name undo tunnel-policy tunnel-policy-name Default No tunnel policy is configured. Views System view Predefined user roles network-admin Parameters tunnel-policy-name: Specifies a name for the tunnel policy, a case-insensitive string of 1 to 19 characters. Examples # Create tunnel policy policy1 and enter its view.
MPLS L3VPN commands description (VPN instance view) Use description to configure a description for a VPN instance. Use undo description to delete the description. Syntax description text undo description Predefined user roles network-admin Default No description is configured for a VPN instance. Views VPN instance view Default command level 2: System level Parameters text: Description for the VPN instance, a case-sensitive string of 1 to 79 characters.
Parameters vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, this command displays BGP VPNv4 peer group information for the public network. group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. If no peer group is specified, this command displays all peer groups. Examples # Display all BGP VPNv4 peer groups for the public network.
Field Description Threshold Warning threshold. When the percentage of received route prefixes to the maximum number of routes reaches this threshold, the device generates a prompt. Configured hold time Configured hold time in seconds. Keepalive time Keepalive interval in seconds. Minimum time between advertisements Minimum time between advertisements. Peer Preferred Value Preferred value for routes received from the peer. Routing policy configured Routing policy configured for the peer group.
Usage guidelines With no parameters specified, this command displays brief information about all BGP VPNv4 peers. Examples # Display brief information about BGP VPNv4 peers for the public network. display bgp peer vpnv4 BGP local router ID: 1.1.1.9 Local AS number: 100 Total number of peers: 2 Peer 3.3.3.
Peer support BGP route refresh capability Peer support BGP route AS4 capability Address family IPv4 Unicast: received Address family VPNv4: advertised and received Received: Total 4 messages, Update messages 1 Sent: Total 17 messages, Update messages 1 Maximum allowed prefix number: 4294967295 Threshold: 75% Minimum time between advertisements is 30 seconds Optional capabilities: Multi-protocol extended capability has been enabled Route refresh capability has been enabled Connect-interface has been configu
Field Description Received Total number of received messages and the number of received update messages. Sent Total number of sent messages and the number of sent update messages. Maximum allowed prefix number Maximum number of routes that can be learned from the peer. Threshold Warning threshold. When the percentage of the number of the received route prefixes to the maximum number of routes supported reaches this threshold, the device generates a prompt.
Usage guidelines The unicast keyword does not affect the command output. Examples # Display incoming labels for all BGP IPv4 unicast routes on the public network. display bgp routing-table ipv4 inlabel Total number of routes: 1 BGP local router ID is 3.3.3.9 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete * > Network NextHop OutLabel InLabel 2.2.2.9/32 1.1.1.
Examples # Display outgoing labels for all BGP IPv4 unicast routes on the public network. display bgp routing-table ipv4 outlabel Total number of routes: 1 BGP local router ID is 3.3.3.9 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete * > Network NextHop OutLabel 2.2.2.9/32 1.1.1.
mask-length: Length of the network mask, in the range of 0 to 32. longest-match: Displays the longest matching BGP VPNv4 route. Usage guidelines If none of network-address, mask, or mask-length is specified, the command displays brief information about all BGP VPNv4 routes. If network-address mask or network-address mask-length is specified, the command displays detailed information about the BGP VPNv4 route that exactly matches the specified address and mask.
Route distinguisher: 100:1(vpn1) Total number of routes: 6 * > * Network NextHop MED 10.1.1.0/24 10.1.1.2 0 32768 ? 10.1.1.1 0 0 65410? 32768 ? 0 ? 0 65410? 0 65420? e * > 127.0.0.1 0 * >i 10.3.1.0/24 10.1.1.2/32 3.3.3.9 0 * >e 192.168.1.0 10.1.1.1 0 * 3.3.3.9 0 i LocPrf 100 100 PrefVal Path/Ogn Table 35 Command output Field Description BGP Local router ID Router ID of the local BGP router. Route status codes: • • • • • • • • Status codes * - valid—Valid route.
Route distinguisher: 100:1(vpn1) Total number of routes: 1 Paths: 1 available, 1 best BGP routing table information of 10.3.1.0/24: From : 3.3.3.9 (3.3.3.9) Relay nexthop : 172.1.1.2 Original nexthop: 3.3.3.9 OutLabel : 1279 Ext-Community : AS-path : (null) Origin : incomplete Attribute value : MED 0, localpref 100, pref-val 0 State : valid, internal, best, Route distinguisher: 200:1 Total number of routes: 1 Paths: 1 available, 1 best BGP routing table information of 10.3.1.
Ext-Community : AS-path : (null) Origin : incomplete Attribute value : MED 0, localpref 100, pref-val 0 State : valid, internal, best, Table 36 Command output Field Description Relay Nexthop Recursive next hop. If no recursive next hop is found, "not resolved" is displayed. Original nexthop Original next hop. If the route is learned from a BGP update, it is the next hop in the update message. Ext-Community Extended community attribute.
32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536. For example, 65536:1. • network-address: Destination network address. mask: Network mask, in dotted decimal notation. mask-length: Length of the network mask, in the range of 0 to 32. Usage guidelines • If the mask and mask-length arguments are not specified, the system ANDs the specified network address with the mask of each route.
• 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. as-path-acl-number: Specifies an AS path ACL by its number in the range of 1 to 256. Examples # Display BGP VPNv4 routes permitted by AS path ACL 1. display bgp routing-table vpnv4 as-path-acl 1 BGP local router ID is 1.1.1.
Syntax display bgp routing-table vpnv4 [ route-distinguisher route-distinguisher ] community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } Views Any view Predefined user roles network-admin network-operator Parameters route-distinguisher route-distinguisher: Specifies an RD, 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.
Route distinguisher: 200:1 Total number of routes: 2 Network NextHop MED LocPrf PrefVal Path/Ogn * >i 10.3.1.0/24 3.3.3.9 0 100 0 ? * >i 192.168.1.0 3.3.3.9 0 100 0 65420? For command output, see Table 35. display bgp routing-table vpnv4 inlabel Use display bgp routing-table vpnv4 inlabel to display incoming labels for BGP VPNv4 routes.
display bgp routing-table vpnv4 outlabel Use display bgp routing-table vpnv4 outlabel to display outgoing labels for BGP VPNv4 routes. Syntax display bgp routing-table vpnv4 outlabel Views Any view Predefined user roles network-admin network-operator Examples # Display outgoing labels for all BGP VPNv4 routes. display bgp routing-table vpnv4 outlabel BGP local router ID is 1.1.1.
Field Description OutLabel Outgoing label. display bgp routing-table vpnv4 peer Use display bgp routing-table vpnv4 peer to display BGP VPNv4 routing information advertised to or received from a specified BGP peer.
BGP local router ID is 1.1.1.9 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Route distinguisher: 100:1 Total number of routes: 2 Network NextHop MED 10.1.1.0/24 10.1.1.2 0 ? * >e 192.168.1.0 10.1.1.1 0 65410? * > LocPrf Path/Ogn # Display all BGP VPNv4 routing information received from BGP peer 3.3.3.9 on the public network. display bgp routing-table vpnv4 peer 3.3.3.
display bgp routing-table vpnv4 statistics Use display bgp routing-table vpnv4 statistics to display BGP VPNv4 route statistics. Syntax display bgp routing-table vpnv4 statistics Views Any view Predefined user roles network-admin network-operator Examples # Display BGP VPNv4 route statistics for the public network.
Table 40 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.
Predefined user roles network-admin Parameters domain-id: 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, respectively, 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.
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.
Views VPN instance view Predefined user roles network-admin Usage guidelines In IPv4 VPN view, you can configure IPv4 VPN parameters including inbound and outbound routing policies. Examples # Enter IPv4 VPN view. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv4-family [Sysname-vpn-ipv4-vpn1] Related commands ipv6-family(VPN instance view) ipv4-family vpnv4 Use ipv4-family vpnv4 to enter BGP VPNv4 address family view or BGP-VPN VPNv4 address family view.
Examples # Enter BGP-VPNv4 address family view. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpnv4 [Sysname-bgp-vpnv4] # Enter BGP-VPN VPNv4 address family view. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv4-family vpnv4 [Sysname-bgp-vpnv4-vpn1] nesting-vpn Use nesting-vpn to enable the nested VPN function. Use undo nesting-vpn to disable the nested VPN function.
Syntax peer { group-name | ip-address } next-hop-invariable undo peer { group-name | ip-address } next-hop-invariable Default The device uses its address as the next hop of routes advertised to an EBGP peer or peer group. Views BGP VPNv4 address family view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ip-address: Specifies a peer by its IP address.
Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The specified peer group must have been created. ip-address: Specifies a peer by its IP address. The specified peer must have been created. Usage guidelines A UPE is a special VPNv4 peer. It can accept one default route for each related VPN instance and routes permitted by the routing policy on the SPE. An SPE is a common VPN peer. Examples # Configure peer 1.1.1.
system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 200 [Sysname-bgp] address-family vpnv4 [Sysname-bgp-vpnv4] peer 1.1.1.1 enable [Sysname-bgp-vpnv4] peer 1.1.1.1 upe [Sysname-bgp-vpnv4] peer 1.1.1.1 upe route-policy hope export Related commands • peer upe • route-policy (Layer 3—IP Routing Configuration Guide) policy vpn-target Use policy vpn-target to enable route target filtering of received VPNv4 routes.
Views User view Predefined user roles network-admin Parameters ip-address: Soft resets the BGP VPNv4 connection with the BGP peer identified by this IP address. all: Soft resets all BGP VPNv4 connections. external: Soft resets EBGP VPNv4 connections. group group-name: Soft resets BGP VPNv4 connections with the BGP peer group identified by this name, a case-sensitive string of 1 to 47 characters. internal: Soft resets IBGP VPNv4 connections. export: Soft resets outbound EBGP VPNv4 connections.
Predefined user roles network-admin Parameters as-number: Resets BGP VPNv4 connections in the AS specified by its number in the range of 1 to 4294967295. ip-address: Resets the BGP VPNv4 connection with the BGP peer identified by this IP address. all: Resets all BGP VPNv4 connections. external: Resets EBGP VPNv4 connections. group group-name: Resets BGP VPNv4 connections with the BGP peer group identified by this name, a case-sensitive string of 1 to 47 characters. internal: Resets IBGP VPNv4 connections.
Usage guidelines RDs enable VPNs to use the same address space. An RD and an IPv4 prefix comprise a unique VPN IPv4 prefix. To change the RD of a VPN instance, you must delete the RD with the undo route-distinguisher command, and then use the route-distinguisher command to configure a new RD. Examples # Configure RD 22:1 for VPN instance vpn1.
An external route tag is not transferred in any BGP extended community attribute. It is only locally significant and takes effect only on the PEs that receive BGP routes and generate OSPF Type 5 or 7 LSAs. You can configure the same external route tag for different OSPF processes. Examples # In OSPF process 100, set the external route tag for redistributed VPN routes to 100.
Examples # Specify that VPN instance vpn1 supports up to 1000 routes, and when routes exceed the upper limit, can receive new routes but generates a system log message. 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 the IPv4 VPN vpn2 supports up to 1000 routes, and when routes exceed the upper limit, can receive new routes but generates a system log message.
Examples # In BGP VPNv4 address family view, configure the RR to only reflect VPNv4 routes with an extended community number of 10. system-view [Sysname] bgp 100 [Sysname-bgp] address-family vpnv4 [Sysname-bgp-vpnv4] rr-filter 10 tnl-policy (VPN instance view/IPv4 VPN view/IPv6 VPN view) Use tnl-policy to associate a VPN instance with a tunnel policy. Use undo tnl-policy to remove the association.
[Sysname-vpn-instance-vpn1] quit # Associate the IPv4 VPN vpn2 with tunnel policy po1. [Sysname] ip vpn-instance vpn2 [Sysname-vpn-instance-vpn2] route-distinguisher 11:22 [Sysname-vpn-instance-vpn2] address-family ipv4 [Sysname-vpn-ipv4-vpn2] tnl-policy po1 [Sysname-vpn-ipv4-vpn2] quit [Sysname-vpn-instance-vpn2] quit # Associate the IPv6 VPN vpn3 with tunnel policy po1.
system-view [Sysname] bgp 100 [Sysname-bgp] undo vpn popgo 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.
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. system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 5:5 both # Configure route targets for the IPv4 VPN vpn2.
IPv6 MPLS L3VPN commands This chapter describes only IPv6 MPLS L3VPN-specific commands. For information about the commands available for both IPv4 MPLS L3VPN and IPv6 MPLS L3VPN, see "MPLS L3VPN commands." display bgp group vpnv6 Use display bgp group vpnv6 to display information about a specific BGP VPNv6 peer group or all BGP VPNv6 peer groups.
Members: Peer 2.2.2.2 AS MsgRcvd 600 0 MsgSent OutQ PrefRcv Up/Down 0 0 State 0 00:00:22 Idle Table 41 Command output Field Description BGP peer-group Name of the BGP peer group. Remote AS AS number of the peer group. Type of the BGP peer group: • External—EBGP peer group. • Internal—IBGP peer group. Type Maximum number of prefixes allowed Maximum number of routes that can be learned from the peer group. Threshold Warning threshold.
Predefined user roles network-admin network-operator Parameters group-name: Displays peers in the peer group specified by its name, a case-sensitive string of 1 to 47 characters. ip-address: Specifies a BGP VPNv6 peer. If no peer is specified, the command displays all BGP VPNv6 peers. log-info: Displays log information. verbose: Displays detailed information. If this keyword is not specified, the command displays brief information.
display bgp peer vpnv6 10.1.1.2 verbose Peer: 10.1.1.2 Local: 192.168.1.135 Type: EBGP link BGP version 4, remote router ID 192.168.1.
Field Description BGP last state State that the BGP session was in before transitioning to the current state. Port Local and remote ports of the BGP session. Configured Settings of the local timers, including the active hold interval and keepalive interval. Received Received active hold interval. Negotiated Negotiated active hold interval and keepalive interval. Peer optional capabilities Optional capabilities of the peer.
Cease/Other Configuration Change 21-Nov-2011 12:09:48 Up display bgp routing-table vpnv6 Use display bgp routing-table vpnv6 to display BGP VPNv6 routing information.
* e Network : 2001:1:: PrefixLen : 96 NextHop : 2001:1::1 LocPrf : PrefVal : 0 OutLabel : NULL MED : 0 Path/Ogn: 65410? * > Network : 2001:1::2 PrefixLen : 128 NextHop : ::1 LocPrf : PrefVal : 32768 OutLabel : NULL MED : 0 Path/Ogn: ? * >i Network : 2001:3:: PrefixLen : 96 NextHop : ::FFFF:3.3.3.9 LocPrf : 100 PrefVal : 0 OutLabel : 1279 MED : 0 Path/Ogn: ? Route distinguisher: 200:1 Total number of routes: 1 * >i Network : 2001:3:: PrefixLen : 96 NextHop : ::FFFF:3.3.3.
Field Description Network Network address. PrefixLen Prefix length. NextHop Address of the next hop. LocPrf Local preference value. PrefVal Preferred value. MED MED value. Path/Ogn AS_PATH and Origin attributes. display bgp routing-table vpnv6 advertise-info Use display bgp routing-table vpnv6 advertise-info to display advertisement information for BGP VPNv6 routes.
BGP routing table information of 2001:1::/96: Advertised to VPN peers (1 in total): 3.3.3.9 Inlabel : 1279 display bgp routing-table vpnv6 as-path-acl Use display bgp routing-table vpnv6 as-path-acl to display BGP VPNv6 routes permitted by an AS path ACL.
Path/Ogn: ? * e Network : 2001:1:: PrefixLen : 96 NextHop : 2001:1::1 LocPrf : PrefVal : 0 OutLabel : NULL MED : 0 Path/Ogn: 65410? * > Network : 2001:1::2 PrefixLen : 128 NextHop : ::1 LocPrf : PrefVal : 32768 OutLabel : NULL MED : 0 Path/Ogn: ? * >i Network : 2001:3:: PrefixLen : 96 NextHop : ::FFFF:3.3.3.
Parameters route-distinguisher route-distinguisher: Specifies an RD, 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. • 32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536. For example, 65536:1. basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99.
NextHop : ::FFFF:3.3.3.9 LocPrf : 100 PrefVal : 0 OutLabel : 1279 MED : 0 Path/Ogn: ? Route distinguisher: 200:1 Total number of routes: 1 * >i Network : 2001:3:: PrefixLen : 96 NextHop : ::FFFF:3.3.3.9 LocPrf : 100 PrefVal : 0 OutLabel : 1279 MED : 0 Path/Ogn: ? For command output, see Table 44. display bgp routing-table vpnv6 inlabel Use display bgp routing-table vpnv6 inlabel to display incoming labels for BGP VPNv6 routes.
Table 45 Command output Field Description BGP Local router ID Router ID of the local BGP router. Status codes Route status codes. See Table 35. Origin Route origin. See Table 35. display bgp routing-table vpnv6 outlabel Use display bgp routing-table vpnv6 outlabel to display outgoing labels for BGP VPNv6 unicast routes. Syntax display bgp routing-table vpnv6 outlabel Views Any view Predefined user roles network-admin network-operator Examples # Display outgoing labels for all BGP VPNv6 routes.
Field Description Status Route status codes. See Table 35. Origin Route origin codes. See Table 35. OutLabel Outgoing label. display bgp routing-table vpnv6 peer Use display bgp routing-table vpnv6 peer to display BGP VPNv6 routing information advertised to or received from a specified BGP peer.
Path/Ogn: ? # Display all BGP VPNv6 routing information received from BGP peer 3.3.3.9 on the public network. display bgp routing-table vpnv6 peer 3.3.3.9 received-routes Total number of routes: 1 BGP local router ID is 1.1.1.
network-operator Examples # Display BGP VPNv6 route statistics for the public network. display bgp routing-table vpnv6 statistics Total number of routes from all PEs: 1 Route distinguisher: 100:1(vpn1) Total number of routes: 4 Route distinguisher: 200:1 Total number of routes: 1 ipv6-family (VPN instance view) Use ipv6-family in VPN instance view to enter IPv6 VPN view. Use undo ipv6-family to remove all configurations in IPv6 VPN view.
Views BGP view Predefined user roles network-admin Usage guidelines A VPNv6 address comprises an RD and an IPv6 prefix. In IPv6 MPLS L3VPNs, PEs exchange BGP VPNv6 routes that include VPNv6 addresses. For a PE to exchange BGP VPNv6 routes with a BGP peer, you must enable that peer by executing the peer enable command in BGP VPNv6 address family view.
[Sysname-bgp-af-vpnv6] undo policy vpn-target refresh bgp vpnv6 Use refresh bgp vpnv6 to soft reset BGP VPNv6 connections. Syntax refresh bgp { ip-address | all | external | group group-name | internal } { export | import } vpnv6 Views User view Predefined user roles network-admin Parameters ip-address: Soft resets the BGP VPNv6 connection with the BGP peer identified by this IP address. all: Soft resets all BGP VPNv6 connections. external: Soft resets EBGP VPNv6 connections.
Views User view Predefined user roles network-admin Parameters as-number: Resets BGP VPNv6 connections in the AS identified by this number in the range of 1 to 4294967295. ip-address: Resets the BGP VPNv6 connection with the BGP peer identified by this IP address. all: Resets all BGP VPNv6 connections. external: Resets EBGP VPNv6 connections. group group-name: Resets BGP VPNv6 connections with the BGP peer group identified by this name, a case-sensitive string of 1 to 47 characters.
Examples # In BGP VPNv6 address family view, configure the RR to only reflect VPNv6 routes with an extended community number of 10.
MPLS L2VPN commands ac interface Use ac interface to bind an AC to a cross-connect. Use undo ac interface to remove the binding. Syntax ac interface interface-type interface-number [ service-instance instance-id ] [ access-mode { ethernet | vlan } ] undo ac interface interface-type interface-number [ service-instance instance-id ] Default No AC is bound to a cross-connect Views Cross-connect view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface.
Examples # Configure service instance 200 on the Layer 2 interface Ten-GigabitEthernet 1/0/1 to match packets with an outer VLAN tag of 200, and bind the service instance to the cross-connect actopw in the cross-connect group vpn1.
tunnel-policy tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19 characters. If no tunnel policy is specified, the default tunnel policy is used. Usage guidelines This command configures a backup PW for a PW to implement PW redundancy. The backup PW is used when the primary PW fails. To configure a static backup PW, you must specify the in-label and out-label. To configure a backup LDP PW, there is no need to specify the in-label and out-label.
Parameters connection-name: Specifies the name of the cross-connect, a case-sensitive string of 1 to 20 characters, excluding hyphens. Usage guidelines A cross-connect is a point-to-point connection. You can perform the following operations in cross-connect view: • Execute ac interface and peer to connect an AC to a PW, so the PE can forward packets between the AC and the PW. • Execute ac interface twice to connect two ACs, so the PE can forward packets between the two ACs.
display l2vpn ldp Use display l2vpn ldp to display LDP PW label information. Syntax display l2vpn ldp [ peer ip-address [ pw-id pw-id ] | xconnect-group group-name ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters peer ip-address: Displays LDP PW label information advertised by the specified peer PE. The ip-address argument specifies the LSR ID of the peer PE. If no peer PE is specified, the command displays LDP PW label information advertised by all peer PEs.
Label : 65663/65663 Control Word: Disabled/Disabled VCCV CC Type: -/VCCV CV Type: -/MTU : 1500/1500 PW Status : PW forwarding/PW forwarding Table 49 Output description Field Description Xconnect-group Cross-connect group of the PW. Connection Cross-connect of the PW. PW state communicate: PW Status Communication • Notification method—Uses notifications to communicate PW states.
slot slot-number: Displays cross-connect forwarding information on the specified card. If no card is specified, the command displays cross-connect forwarding information on the active MPU. (In standalone mode.) chassis chassis-number slot slot-number: Displays cross-connect forwarding information for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device and the slot-number argument specifies the slot number of the card.
Field Description Connection Cross-connect name. Service Instance The field is available only when the AC is a service instance on a Layer 2 Ethernet port. Access Mode AC access mode: VLAN, Ethernet. Encapsulation Match criterion of the service instance. This field is displayed only when the AC type is service instance on a Layer 2 interface. # Display brief PW forwarding information for all cross-connect groups.
Table 53 Command output Field Description PW state: Up, Down, Blocked, or BFD Defect. PW State Blocked indicates that the PW is a backup PW. BFD Defect indicates BFD has detected a defect on the PW. PW attribute: PW Attributes • Main—The PW is the primary PW. • Backup—The PW is the backup PW. VCCV CC type: VCCV CC • Control word. • Route alert. • TTL. VCCV BFD type: VCCV BFD • Fault Detection with BFD. BFD packets use IP/UDP encapsulation (with IP/UDP Headers). • Fault Detection with Raw-BFD.
Usage guidelines Without ldp and static, this command displays both LDP PW and static PW information. Examples # Display all PW information. display l2vpn pw Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon Total number of PWs: 2, 1 up, 1 blocked, 0 down Xconnect-group Name: vpna Peer PW ID In/Out Label Proto Flag Link ID State 2.2.2.2 20 65662/65660 LDP M 1 Up 3.3.3.
Table 55 Command output Field Description Xconnect-group Name Cross-connect group name. Connection Cross-connect name. Peer IP address of the peer PE on the PW. PW state: Up, Down, Blocked, or BFD Defect. PW State Wait to Restore Time Blocked indicates that the PW is a backup PW. BFD Defect indicates BFD has detected a defect on the PW. Wait time to switch traffic from the backup PW to the primary PW when the primary PW recovers, in seconds.
Parameters class-name: Displays information about the PW class specified by its name, a case-sensitive string of 1 to 19 characters. If no PW class is specified, the command displays information about all PW classes. Examples # Display information about all PW classes.
Total number of ACs: 4, 4 up, 0 down Interface SrvID Owner LinkID State Type XGE1/0/3 1 vpws1 1 Up VPWS XGE1/0/3 2 vpws2 1 Up VPWS XGE1/0/3 3 vpws3 1 Up VPWS XGE1/0/3 4 vpws4 1 Up VPWS XGE1/0/3 5 Up Table 57 Command output Field Description SrvID Service instance ID. Owner Name of the cross-connect group bound to the service instance. If no cross-connect group is bound, this field is blank. Type L2VPN type: VPLS or VPWS.
Related commands service-instance display l2vpn xconnect-group Use display l2vpn xconnect-group to display cross-connect group information. Syntax display l2vpn xconnect-group [ name group-name ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters name group-name: Displays information about the cross-connect group specified by its name, a case-sensitive sting of 1 to 31 characters.
Peer PW ID Link ID State 102.2.2.2 2002 1 Up AC Link ID State BAGG111 srv2002 0 Up ACs: Table 60 Command output Field Description Xconnect-group Cross-connect group name. Description Description for the cross-connect group. If no description is configured, this field is not displayed. Connection Cross-connect name. Connection ID Cross-connect ID. State Cross-connect group state: Up, Down, or Admin down.
this keyword is specified when the matching VLAN is the default VLAN, only packets with the default VLAN ID are matched. default: Specifies the default match criteria, which accepts all incoming packets. tagged: Matches tagged incoming packets. untagged: Matches untagged incoming packets. Usage guidelines You can choose only one of the following match criteria for a service instance: • Match all incoming packets. • Match incoming packets with any VLAN ID or no VLAN ID.
Usage guidelines You must enable L2VPN before configuring other L2VPN settings. Examples # Enable L2VPN. system-view [Sysname] l2vpn enable l2vpn switchover Use l2vpn switchover to switch traffic from the specified PW to its backup or primary PW. Syntax l2vpn switchover peer ip-address pw-id pw-id Views User view Predefined user roles network-admin Parameters peer ip-address: Specifies the LSR ID of the peer PE on the PW that must be in up state.
Predefined user roles network-admin Parameters mtu: Specifies an MTU value in the range of 300 to 65535. Usage guidelines When LDP is used to create a PW, the PEs at the two ends of the PW must have the same MTU configured for the cross-connect. Otherwise, the PW cannot come up. The MTU specifies the maximum packet length, including the control word, PW label, and network layer packet. Examples # Configure an MTU of 1400 bytes for the cross-connect ac2pw in the cross-connect group vpn1.
tunnel-policy tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19 characters. If no tunnel policy is specified, the default tunnel policy is used. Usage guidelines To create a static PW, you must specify the incoming and outgoing labels. To enter the view of an existing static PW, you do not need to specify the incoming and outgoing labels. The PW ID for a PW must be the same on the PEs at the ends of the PW.
Views System view Predefined user roles network-admin Parameters class-name: Specifies the name of the PW class, a case-sensitive string of 1 to 19 characters. Usage guidelines In PW class view, you can configure PW attributes such as the PW type and control word. PWs with the same attributes can use the same PW class to simplify configuration. Examples # Create a PW class named pw100 and enter PW view.
• Traffic sent to the PW cannot carry the P-Tag assigned by the service provider. If traffic from the AC has the P-Tag, the PE removes the P-Tag, adds the PW label and public tunnel encapsulation, and forwards the traffic through the PW. If traffic from the AC does not have the P-Tag, the PE adds the PW label and public tunnel encapsulation and forwards the traffic through the PW.
Predefined user roles network-admin Parameters wtr wtr-time: Specifies the wait time in the range of 0 to 180 seconds. When the primary PW recovers, the PE waits for the specified time before switching traffic from the backup PW to the primary PW. never: Disables backup to primary switchover. Examples # Specify the switchover wait time as 120 seconds for the cross-connect ac2pw in the cross-connect group vpn1.
Related commands display l2vpn service-instance shutdown Use shutdown to disable a cross-connect group. Use undo shutdown to restore the default. Syntax shutdown undo shutdown Default A cross-connect group is enabled. Views Cross-connect group view Predefined user roles network-admin Usage guidelines After you disable a cross-connect group, all cross-connects in the group cannot provide L2VPN services.
Views System view Predefined user roles network-admin Parameters group-name: Specifies the name of the cross-connect group, a case-sensitive string of 1 to 31 characters excluding hyphens. Examples # Create a cross-connect group named vpn1 and enter cross-connect group view.
VPLS commands backup-peer Use backup-peer to configure a backup PW for VPLS and enter backup PW view. If the specified backup PW already exists, this command places you to backup PW view. Use undo backup-peer to delete a backup PW for VPLS.
Examples # Configure a primary and a backup LDP PW for VSI vpn1: specify the peer PE address and PW ID of the primary PW as 4.4.4.4 and 100 and those of the backup PW as 5.5.5.5 and 200. system-view [Sysname] vsi vpn1 [Sysname-vsi-vpn1] pwsignaling ldp [Sysname-vsi-vpn1-ldp] peer 4.4.4.4 pw-id 100 [Sysname-vsi-vpn1-ldp-4.4.4.4-100] backup-peer 5.5.5.5 pw-id 200 [Sysname-vsi-vpn1-ldp-4.4.4.
Syntax display l2vpn ldp [ peer ip-address [ pw-id pw-id ] | vsi vsi-name ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters peer ip-address: Displays information about PW labels advertised by a peer PE through LDP. The ip-address argument specifies the LSR ID of the peer PE. If no peer PE is specified, the command displays information about LDP PWs advertised by all peer PEs.
PW Type : VLAN/VLAN Group ID : 0/0 Label : 65663/65663 Control Word: Disabled/Disabled VCCV CC Type: -/VCCV CV Type: -/MTU : 1500/1500 PW Status : PW forwarding/PW forwarding Peer: 2.2.2.
Syntax In standalone mode: display l2vpn forwarding { ac | pw } [ vsi vsi-name ] [ slot slot-number ] [ verbose ] In IRF mode: display l2vpn forwarding { ac | pw } [ vsi vsi-name ] [ chassis chassis-number slot slot-number ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters ac: Displays AC forwarding information. pw: Displays PW forwarding information.
Field Description AC type: AC • Layer 3 interface such as Vlan12. • Layer 2 interface and service instance, such as XGE6/0/3 srv1. Link ID Link ID of the AC in the VSI. # Display detailed AC forwarding information for all VSIs.
Total number of VSIs: 3 Total number of PWs: 6, 5 up, 1 blocked, 0 down VSI Name In/Out Label NID Link ID State 2001 131199/131199 132 256 Up 2003 131197/131197 131 256 Up 2004 131196/65662 131 256 Up Table 65 Command output Field Description Total number of VSIs Total number of VSIs, including VSIs containing no PW. NHLFE ID for the public tunnel that carries the PW. If equal-cost tunnels are available, this field displays multiple NIDs.
Field Description PW attribute: PW Attributes • • • • Main—The PW is the primary PW. Backup—The PW is the backup PW. No-split-horizon—Split horizon forwarding is disabled (not supported). Hub link—The PW is the hub link in the VPLS hub-spoke network (not supported). • Spoke link—The PW is a spoke link in the VPLS hub-spoke network (not supported). VCCV CC type: VCCV CC • Control-Word—Control word. • Router-Alert—MPLS router alert label. • TTL—TTL timeout.
Examples # Display MAC address table information for all VSIs. display l2vpn mac-address MAC Address State VSI Name Link ID Aging Time 0000-0000-000a dynamic vpn1 1 Aging 0000-0000-0009 dynamic vpn1 2 Aging --- 2 MAC address(es) found --- # Display the total number of MAC address entries of all VSIs. display l2vpn mac-address count 2 MAC address(es) found Table 67 Command output Field Description State MAC address type.
Examples # Display all PW information. display l2vpn pw Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon Total number of PWs: 2, 2 up, 0 blocked, 0 down VSI Name: aaa Peer PW ID In/Out Label Proto Flag Link ID State 1.1.1.9 500 131199/131199 LDP M 256 Up 2.2.2.9 500 131198/131199 LDP M 257 Up Table 68 Command output Field Description Proto Protocol used to establish the PW: LDP or Static. PW attribute flag: Flag • • • • • M—Primary PW.
Table 69 Command output Field Description Peer IP address of the peer PE to which the PW is destined. Link ID Link ID of the PW in the VSI. PW state: Up, Down, Blocked, or BFD Defect. PW State Wait to Restore Time Blocked indicates that the PW is a backup PW. BFD Defect indicates BFD has detected a defect on the PW. Wait time to switch traffic from the backup PW to the primary PW when the primary PW recovers, in seconds. If the switchover is disabled, this field displays Infinite.
Predefined user roles network-admin network-operator Parameters class-name: Displays information about the PW class specified by its name, a case-sensitive string of 1 to 19 characters. If no PW class is specified, the command displays information about all PW classes. Examples # Display information about all PW classes.
Examples # Display brief information about all service instances. display l2vpn service-instance Total number of service-instances: 8, 8 up, 0 down Total number of ACs: 4, 4 up, 0 down Interface SrvID Owner LinkID State Type XGE1/1/3 1 vpls1 1 Up VPLS XGE1/1/3 2 vpls2 1 Up VPLS XGE1/1/3 3 vpls3 1 Up VPLS XGE1/1/3 4 vpls4 1 Up VPLS XGE1/1/3 5 Up Table 71 Command output Field Description Interface Layer 2 Ethernet interface name. SrvID Service instance ID.
Table 72 Command output Field Description Interface Layer 2 Ethernet interface. Service Instance Service instance ID. Encapsulation Match criteria of the service instance. If no match criteria are configured, the field is blank. VSI Name Name of the VSI bound to the service instance. Link ID Link ID of the AC in the VSI. State Service instance state. Related commands service-instance display l2vpn vsi Use display l2vpn vsi to display VSI information.
Table 73 Command output Field Description VSI state: • Up • Down • Admin down—The VSI is manually brought down by using the shutdown State command. # Display detailed information about all VSIs.
Field Description Drop Unknown Indicates whether the VSI drops packets with unknown source MAC addresses when the MAC table limit is reached (not supported). State PW state: Up, Down, Blocked, or BFD Defect. AC AC type: Layer 2 interface and service instance, such as XGE1/0/3 srv1. Related commands vsi encapsulation Use encapsulation to configure match criteria for a service instance. Use undo encapsulation to remove match criteria for a service instance.
You can create multiple service instances on a Layer 2 Ethernet interface, but only one service instance can use the default match criteria (encapsulation default) to match packets that do not match any other service instance. If only one service instance is configured on an interface and the service instance uses the default match criteria, all packets received on the interface match the default match criteria.
Views User view Predefined user roles network-admin Parameters peer ip-address: Specifies the LSR ID of the peer PE on the PW that must be in up state. pw-id pw-id: Specifies the PW ID of a PW, in the range of 1 to 4294967295. Usage guidelines The specified LSR ID and PW ID uniquely identify the PW. If the PW has a backup PW, executing this command switches traffic from the PW to the backup PW. If the PW does not have a backup PW, this command does not perform the switchover.
mtu Use mtu to configure an MTU for a VSI. Use undo mtu to restore the default. Syntax mtu mtu undo mtu Default A VSI has an MTU of 1500 bytes. Views VSI view Predefined user roles network-admin Parameters mtu: Specifies an MTU in the range of 300 to 65535. Usage guidelines When LDP is used to create PWs, all PEs in a VSI must have the same MTU configured for the VSI. The MTU specifies the maximum length of a packet transmitted on a PW, including the control word, PW label, and network layer packet.
undo peer ip-address pw-id pw-id Default No PW is configured for VPLS. Views VSI LDP view, VSI static view Predefined user roles network-admin Parameters ip-address: Specifies the LSR ID of the peer PE. pw-id pw-id: Specifies a PW ID for the PW, in the range of 1 to 4294967295. in-label label-value: Specifies the incoming label of the PW, in the range of 16 to 1023. out-label label-value: Specifies the outgoing label of the PW, in the range of 16 to 1023.
Related commands • display l2vpn ldp • display l2vpn pw • pw-class • tunnel-policy pw-class Use pw-class to create a PW class and enter PW class view. Use undo pw-class to delete a PW class. Syntax pw-class class-name undo pw-class class-name Default No PW class is created. Views System view Predefined user roles network-admin Parameters class-name: Specifies a name for the PW class, a case-sensitive string of 1 to 19 characters.
Default The PW type is VLAN. Views PW class view Predefined user roles network-admin Parameters ethernet: Specifies the PW type as Ethernet. vlan: Specifies the PW type as VLAN. Usage guidelines When the PW type is Ethernet, the PE encapsulates packets forwarded between the AC and PW as follows: • Traffic from the AC to the PW cannot carry the P-Tag assigned by the service provider.
Use undo pwsignaling to remove the specified PW signaling protocol for a VSI. Syntax pwsignaling { ldp | static } undo pwsignaling { ldp | static } Default No PW signaling protocol is specified for a VSI. Views VSI view Predefined user roles network-admin Parameters ldp: Establishes PWs through LDP. (Martini mode.) static: Establishes PWs statically. Usage guidelines You can configure both static and LDP PWs in the same VSI.
Usage guidelines When a VSI learns wrong MAC address entries or has learned the maximum number of MAC addresses, you can use this command to clear the MAC addresses for the VSI, so the VSI can learn MAC addresses again. Examples # Clear MAC address entries of the VSI vpn1.
service-instance Use service-instance to create a service instance on a Layer 2 Ethernet interface and enter service instance view. Use undo service-instance to delete a service instance. Syntax service-instance instance-id undo service-instance instance-id Default No service instance is created on a Layer 2 Ethernet interface. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters instance-id: Specifies the ID of the service instance, in the range of 1 to 4096.
Usage guidelines After you disable a VSI, the VSI cannot provide VPLS services. Use the shutdown command when you want to temporally disable VPLS. After a VSI is disabled, all existing configurations of the VSI keep unchanged, and you can further configure the VSI. After the configuration, use the undo shutdown command to enable the VSI, which will provide VPLS services using the new settings. Examples # Disable the VSI vpn1.
Use undo xconnect vsi to remove the binding. Syntax xconnect vsi vsi-name [ access-mode { ethernet | vlan } ] undo xconnect vsi Default An interface or a service instance is not bound to any VSI. Views Layer 3 interface view, service instance view Predefined user roles network-admin Parameters vsi-name: Specifies the name of a VSI, a case-sensitive string of 1 to 31 characters. access-mode: Specifies the AC access mode.
Related commands • display l2vpn service-instance • encapsulation • vsi 190
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 ABCDEGILMNPRSTVWX display bgp routing-table vpnv6 community-list,128 A display bgp routing-table vpnv6 inlabel,130 ac interface,139 display bgp routing-table vpnv6 outlabel,131 accept-label,44 display bgp routing-table vpnv6 peer,132 advertise-label,45 display bgp routing-table vpnv6 statistics,133 B display ip vpn-instance,98 backoff,46 display ip vpn-instance,5 backup-peer,140 display l2vpn forwarding,144 backup-peer,163 display l2vpn forwarding,166 C display l2vpn ldp,164 display
domain-id,99 mpls ldp timer,68 domain-id,6 mpls ldp transport-address,70 E mpls lsr-id,37 mpls mtu,37 encapsulation,153 mpls ttl expiration enable,38 encapsulation,178 mpls ttl propagate,39 export route-policy,7 mtu,181 export route-policy,100 mtu,155 ext-community-type,101 ext-community-type,8 N G nesting-vpn,106 graceful-restart,60 P graceful-restart timer,60 peer,181 I peer,156 peer next-hop-invariable,106 import route-policy,102 peer upe,107 import route-policy,9 peer upe rout
service-instance,160 V service-instance,187 vpn popgo,116 session protection,73 vpn-instance,74 shutdown,187 vpn-instance-capability simple,15 shutdown,161 vpn-target,15 static-lsp egress,40 vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view),117 static-lsp ingress,41 static-lsp transit,42 vsi,188 Subscription service,191 W T Websites,191 targeted-peer,74 X tnl-policy (VPN instance view/IPv4 VPN view/IPv6 VPN view),115 xconnect vsi,188 xconnect-group,161 tunnel-policy,77 196