background image

HP 5820X & 5800 Switch Series 
MPLS 

Command Reference 

Abstract 

This document describes the commands and command syntax options available for the HP 5820X & 
5800 Series products. 
This document is intended for network planners, field technical support and servicing engineers, and 

network administrators who work with HP 5820X & 5800 Series products. 

Part number: 5998-1633 
Software version: Release 1211 
Document version: 6W101-20121123

 

 

Summary of Contents for 5800

Page 1: ...yntax options available for the HP 5820X 5800 Series products This document is intended for network planners field technical support and servicing engineers and network administrators who work with HP 5820X 5800 Series products Part number 5998 1633 Software version Release 1211 Document version 6W101 20121123 ...

Page 2: ...MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Hewlett Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing performance or use of this material The only warranties for HP products and services are set forth in the express warranty statements accompan...

Page 3: ...pn instance 25 reset bgp vpn instance dampening 26 reset bgp vpn instance flap info 27 route distinguisher 27 routing table limit 28 vpn instance capability simple 29 vpn target 29 IPv6 MCE configuration commands 31 display bgp vpnv6 all routing table 31 display bgp vpnv6 route distinguisher routing table 33 display bgp vpnv6 vpn instance peer 34 display bgp vpnv6 vpn instance routing table 37 dis...

Page 4: ...lsp 84 du readvertise 86 du readvertise timer 86 graceful restart MPLS LDP view 87 graceful restart mpls ldp 87 graceful restart timer neighbor liveness 88 graceful restart timer reconnect 89 graceful restart timer recovery 89 hops count 90 label advertise 91 label distribution 91 loop detect 92 lsp trigger 93 lsr id 94 md5 password 94 mpls 95 mpls ldp system view 96 mpls ldp interface view 97 mpl...

Page 5: ...p 140 display mpls te cspf tedb 141 display mpls te link administration admission control 144 display mpls te tunnel 145 display mpls te tunnel path 148 display mpls te tunnel statistics 149 display mpls te tunnel interface 150 display ospf mpls te 152 display ospf traffic adjustment 154 display tunnel info 155 enable traffic adjustment 156 enable traffic adjustment advertise 157 explicit path 157...

Page 6: ...rface view 185 mpls te reoptimization user view 186 mpls te resv style 186 mpls te retry 187 mpls te route pinning 187 mpls te signal protocol 188 mpls te timer fast reroute 189 mpls te timer retry 189 mpls te tunnel id 190 mpls te vpn binding 190 mpls te 191 next hop 192 opaque capability 192 ping lsp te 193 reset mpls rsvp te statistics 194 static cr lsp egress 195 static cr lsp ingress 195 stat...

Page 7: ...terface vc type 243 display mpls l2vc 244 display mpls l2vpn 246 display mpls l2vpn connection 249 display mpls l2vpn fib ac vpws 252 display mpls l2vpn fib pw vpws 253 display mpls static l2vc 255 display pw class 257 l2vpn 258 l2vpn family 258 mpls l2vc 259 mpls l2vpn 259 mpls l2vpn vpn name 260 mpls static l2vc 261 mtu MPLS L2VPN view 262 ping lsp pw for MPLS L2VPN 262 pw class 264 pw tunnel po...

Page 8: ...r as path acl BGP VPNv4 subaddress family view 314 peer capability advertise orf ip prefix BGP VPNv4 subaddress family view 314 peer default route advertise vpn instance 315 peer enable 316 peer filter policy BGP VPNv4 subaddress family view 317 peer group 318 peer ip prefix BGP VPNv4 subaddress family view 319 peer label route capability BGP view BGP VPN instance view 319 peer next hop invariable...

Page 9: ... subaddress family view 361 filter policy import BGP VPNv6 subaddress family view 362 import route policy 362 ipv6 family BGP view 363 ipv6 family VPN instance view 364 peer enable 365 peer filter policy BGP VPNv6 subaddress family view 366 peer ipv6 prefix BGP VPNv6 subaddress family view 366 peer preferred value BGP VPNv6 subaddress family view 367 peer public as only BGP VPN6 subaddress family ...

Page 10: ...tion command to configure a description for the current VPN instance Use the undo description command to delete the description Syntax description text undo description View VPN instance view Default level 2 System level Parameters text Describes the VPN instance which is a string of 1 to 80 characters Examples Configure a description for VPN instance vpn1 Sysname system view Sysname ip vpn instan...

Page 11: ...es a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about the BGP VPNv4 peer group a for VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 group a BGP peer group is a remote AS number not specified Type external Maximum allowed prefix number 150000 Threshold 75 Configured hold timer value 180 Keepalive timer value 60 Minimum time...

Page 12: ...red with a routing policy 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 prefixes received Up Down Duration of the BGP session in the current state State Status of the peer display bgp vpnv4 vpn instance network Description Use the display bgp vpn...

Page 13: ...licy Short cut 10 0 0 0 255 0 0 0 Table 2 Command output Field Description BGP Local Router ID Router ID of the local BGP router Local AS Number Local AS number Network Advertised network route Mask Mask of the advertised network route Route policy Routing policy configured Short cut Whether this route is a short cut route display bgp vpnv4 vpn instance paths Description Use the display bgp vpnv4 ...

Page 14: ...E0 1 2 0 Table 3 Command output Field Description Address Routing address in the local database Hash Hash bucket for storing routes Refcount Number of times that the path is referenced MED Metric for routes Path Origin AS_PATH attribute Route origin code display bgp vpnv4 vpn instance peer Description Use the display bgp vpnv4 vpn instance peer command to display information about the BGP VPNv4 pe...

Page 15: ...rs 1 Peers in established state 1 Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 10 1 1 1 200 24 29 0 1 00 18 47 Established Table 4 Command output 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 the state of established Peer IP address of the peer A...

Page 16: ...routing policy is configured Table 5 Command output Field Description Peer IP address of the peer Local IP address of the local router Type BGP type BGP version Version of BGP that the peer runs remote router ID Router ID of the remote router BGP current state Current status of the BGP session Up for Duration since the peer is established BGP current event Current event of the BGP session BGP last...

Page 17: ...mation Negotiated ORF capability negotiated by the local and remote peers The value can be Send The local peer can send Route refresh messages with the ORF information and the remote peer can receive Route refresh messages with the ORF information Receive The local peer can receive Route refresh messages with the ORF information and the remote peer can send Route refresh messages with the ORF info...

Page 18: ...p to 13 times no export subconfed Specifies a route with this attribute is neither advertised out of the local AS nor advertised to the other sub ASs in the confederation no advertise Specifies a route with this attribute is not advertised to any other BGP peer no export A route with this attribute is not advertised out of the local AS or if existing confederation However it is advertised to the o...

Page 19: ...s Examples Display the BGP VPNv4 routing information of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 routing table Total Number of Routes 5 BGP Local router ID is 2 2 2 2 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn i 10 0 0 0 1 1 1 1 0 100 0 i 10 1 1 0 24 0 0 0 0 0 0 20 0 0 0 1...

Page 20: ...to 19 characters If the specified IP prefix does not exist the command displays all FIB information of the VPN instance Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that ...

Page 21: ...lag OutInterface InnerLabel Token 10 2 0 0 16 10 2 1 1 U Eth1 1 Null Invalid 10 2 1 1 32 127 0 0 1 UH InLoop0 Null Invalid Display the FIB information of VPN instance vpn1 that is permitted by the IP prefix abc0 Sysname system view Sysname ip ip prefix abc0 permit 10 2 0 0 16 Sysname display fib vpn instance vpn1 ip prefix abc0 FIB entry count 1 Flag U Useable G Gateway H Host B Blackhole D Dynami...

Page 22: ...ich is a case sensitive string of 1 to 31 characters ip address Specifies the destination IP address in dotted decimal format mask Specifies the mask of the IP address in dotted decimal format mask length Specifies the length of the IP address mask ranging from 0 to 32 Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Conf...

Page 23: ... regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1...

Page 24: ...ameters instance name vpn instance name Displays information about the specified VPN vpn instance name is the instance name of a VPN which is a case sensitive string of 1 to 31 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular e...

Page 25: ... Routes 500 Threshold Value 100 Interfaces Vlan interface10 Table 10 Command output Field Description VPN Instance Name and ID Name and ID of the VPN instance CreateTime Time when the VPN instance was created Up time Duration of the VPN instance Route Distinguisher RD of the VPN instance Export VPN Targets Export target attribute of the IPv4VPN Import VPN Targets Import target attribute of the IPv...

Page 26: ...rent destinations in the same OSPF domain must be advertised as Type 3 LSAs Therefore using the same domain ID is required for an OSPF domain Syntax domain id domain id secondary undo domain id domain id View OSPF view Default level 2 System level Parameters domain id Specifies the OSPF domain ID which can be in one of the following formats Integer ranging from 0 to 4 294 967 295 For example 1 Dot...

Page 27: ...he IPv4 VPN Syntax export route policy route policy undo export route policy View VPN instance view IPv4 VPN view Default level 2 System level Parameters route policy Specifies the name of the export routing policy for the VPN instance which is a string of 1 to 63 characters Examples Apply export routing policy poly 1 to VPN instance vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vp...

Page 28: ...omain id 8005 Sysname ospf 100 ext communityroute type router id 8001 Sysname ospf 100 ext communityroute type route type 8000 filter policy export Description Use the filter policy export command to configure BGP to filter all or certain types of routes to be advertised Use the undo filter policy export command to remove the configuration If you do not specify routing protocol parameters for the ...

Page 29: ...ame system view Sysname bgp 100 Sysname bgp ipv4 family vpn instance vpn1 Sysname bgp vpn1 filter policy 2555 export filter policy import Description Use the filter policy import command to configure BGP to filter received routes Use the undo filter policy import command to remove the configuration By default BGP does not filter received routes Only routes that survive the filtering are added into...

Page 30: ... Default level 2 System level Parameters route policy Specifies the name of the import routing policy for the VPN instance which is a string of 1 to 63 characters Examples Apply import routing policy poly 1 to VPN instance vpn1 Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 import route policy poly 1 ip binding vpn instance Description Use the ip binding vpn instance co...

Page 31: ...iate Tunnel 0 with the VPN instance vpn2 Sysname system view Sysname interface Tunnel 0 Sysname Tunnel0 ip binding vpn instance vpn2 Associate the management Ethernet interface with the VPN instance vpn3 Sysname system view Sysname interface M GigabitEthernet 0 0 0 Sysname M Ethernet0 0 0 ip binding vpn instance vpn3 ip vpn instance Description Use the ip vpn instance command to create a VPN insta...

Page 32: ...me undo ipv4 family vpn instance vpn instance name View BGP view Default level 2 System level Parameters vpn instance vpn instance name Associates a VPN instance with an IPv4 address family and enters BGP VPN instance view The vpn instance name parameter represents the VPN instance name which is a case sensitive string of 1 to 31 characters Examples Enter BGP VPN instance view Sysname system view ...

Page 33: ...ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer 1 1 1 1 allow as loop 2 peer group Description Use the peer group command to add a peer to a peer group Use the undo peer group command to remove a peer from a peer group Syntax peer ip address group group name as number as number undo peer ip address group group name View BGP VPN instance view Default level 2 System level Parameters ip address S...

Page 34: ... address of a peer all Performs a soft reset of all BGP VPN instance connections external Performs a soft reset of EBGP sessions group group name Performs a soft reset of the connections with the specified BGP peer group The group name parameter is a string of 1 to 47 characters export Performs a soft reset in the outbound direction import Performs a soft reset in the inbound direction Examples Pe...

Page 35: ...et bgp vpn instance dampening Description Use the reset bgp vpn instance dampening command to clear the route flap dampening information of a VPN instance Syntax reset bgp vpn instance vpn instance name dampening network address mask mask length View User view Default level 1 Monitor level Parameters vpn instance name Specifies the name of the VPN instance which is a case sensitive string of 1 to ...

Page 36: ... Specifies the AS_PATH filtering list The as path acl number parameter ranging from 1 to 256 regexp as path regexp Specifies the AS_PATH regular expression Examples Clear route flap history information about BGP peer 2 2 2 2 of VPN instance vpn1 Sysname reset bgp vpn instance vpn1 2 2 2 2 flap info route distinguisher Description Use the route distinguisher command to configure an RD for a VPN ins...

Page 37: ...outes from being accepted by a PE Use the undo routing table limit command to restore the default The default maximum number of routes that a VPN instance supports varies by device A limit configured in IPv4 VPN view is applicable to only the IPv4 VPN A limit configured in IPv4 VPN view takes precedence over that configured in VPN instance view If you configure a limit in both IPv4 VPN view and VP...

Page 38: ...apability simple Description Use the vpn instance capability simple command to enable multi VPN instance CE Use the undo vpn instance capability command to disable the function By default the function is disabled Syntax vpn instance capability simple undo vpn instance capability View OSPF multi instance view Default level 2 System level Parameters None Examples Enable multi VPN instance CE Sysname...

Page 39: ...ibute can be a string of 3 to 21 characters in one the following 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 AS number must not be less than 65 536 For example 65536 1 both Uses the specified VPN targets as both import targets and export targets ...

Page 40: ... length Specifies the length of the prefix ranging from 0 to 128 longer prefixes Displays each routing entry that meets the following conditions Its destination IPv6 address ANDed with the specified prefix equals the specified destination IPv6 address ANDed with the specified prefix Its prefix length is shorter than or equal to the specified prefix length Its prefix length is the longest among the...

Page 41: ...istinguisher 100 1 i Network 30 30 PrefixLen 64 NextHop FFFF 101 102 LocPrf 100 PrefVal 0 Label 1024 MED 0 Path Ogn Total routes of vpn instance vpn1 1 Network 30 30 PrefixLen 128 NextHop FFFF 101 102 LocPrf 100 PrefVal 0 Label 1024 MED 0 Path Ogn Table 11 Command output Field Description BGP Local router ID Router ID of the local BGP router Status codes Route status codes Origin Route origin code...

Page 42: ...clude include regular expression View Any view Default level 1 Monitor level Parameters route distinguisher Specifies the RD network address Specifies the IPv6 address of the destination segment prefix length Specifies the prefix length ranging from 0 to 128 Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration G...

Page 43: ...ddress NextHop IPv6 address of the next hop LocPrf Local preference value PrefVal Preference value of the route Label Received label MED Metric associated with the destination network Path Ogn AS_PATH attribute route origin of the route display bgp vpnv6 vpn instance peer Description Use the display bgp vpnv6 vpn instance peer command to display information about the IPv6 BGP peers in the specifie...

Page 44: ...v6 BGP peers in the VPN instance vpn1 Sysname display bgp vpnv6 vpn instance vpn1 peer BGP local router ID 2 2 2 2 Local AS number 100 Total number of peers 1 Peers in established state 1 Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 2001 1 200 4 6 0 2 00 00 09 Established Table 14 Command output Field Description BGP local router ID Router ID of the local BGP router Peer IPv6 address of the ...

Page 45: ... configured No routing policy is configured Table 15 Command output Field Description BGP Peer IPv6 address of the BGP peer remote AS AS number of the peer Type BGP type BGP version Version of BGP that the peer runs remote router ID Router ID of the peer BGP current state Current state of the BGP session Up for Duration since the peer is established BGP current event Current event of the BGP sessi...

Page 46: ...pecified for routes from the peer display bgp vpnv6 vpn instance routing table Description Use the display bgp vpnv6 vpn instance routing table command to display the BGP VPNv6 routing information of the specified VPN Syntax display bgp vpnv6 vpn instance vpn instance name routing table network address prefix length longer prefixes peer ipv6 address advertised routes received routes begin exclude ...

Page 47: ...ession regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display the BGP VPNv6 routing information of VPN instance vpn1 Sysname display bgp vpnv6 vpn instance vpn1 routing table BGP Local router ID is 1 1 1 1 Status codes valid VPN best best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Total routes...

Page 48: ...of the VPN instance permitted by the specified prefix list ipv6 prefix name is the name of the IPv6 prefix list which is a case sensitive string of 1 to 19 characters If the specified IPv6 prefix list does not exist the command displays all IPv6 FIB information of the VPN instance Filters command output by specifying a regular expression For more information about regular expressions see the Funda...

Page 49: ...gth the command displays the matched IPv6 FIB information that has the exact prefix length Syntax display ipv6 fib vpn instance vpn instance name ipv6 address prefix length begin exclude include regular expression View Any view Default level 1 Monitor level Parameters vpn instance name Specifies the VPN instance name which is a case sensitive string of 1 to 31 characters ipv6 address Specifies the...

Page 50: ...Label Label value added to a packet Token LSP index used to associate an NHLFE entry Interface Outgoing interface of packets export route policy Description Use the export route policy command to apply an export routing policy to a VPN instance an IPv4 VPN or an IPv6 VPN Use the undo export route policy command to remove the application By default no policy is applied to filter the routes to be ad...

Page 51: ...licy export BGP VPNv6 subaddress family view Description Use the filter policy export command to filter all or certain types of routes to be advertised Use the undo filter policy export command to remove the configuration By default MP BGP does not filter routes to be advertised Only routes that survive the filtering are advertised by MP BGP If you do not specify routing protocol parameters for th...

Page 52: ...ised by MP BGP Sysname system view Sysname bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 filter policy 2555 export filter policy import BGP VPNv6 subaddress family view Description Use the filter policy import command to filter received routes Use the undo filter policy import command to remove the configuration By default received routes are not filtered Only routes that survive the ...

Page 53: ...VPN view and VPN instance view the policy specified in IPv6 VPN view is applied to the IPv6 VPN Syntax import route policy route policy undo import route policy View VPN instance view IPv6 VPN view Default level 2 System level Parameters route policy Specifies the name of an import routing policy which is a case sensitive string of 1 to 63 characters Examples Apply import routing policy poly 1 to ...

Page 54: ...ort import View User view Default level 1 Monitor level Parameters vpn instance name Specifies the name of the VPN instance which is a case sensitive string of 1 to 31 characters ipv6 address Soft resets the BGP connection with the BGP peer identified by this IPv6 address all Soft resets all IPv6 BGP connections in the specified VPN instance external Soft resets EBGP sessions export Performs a sof...

Page 55: ... IPv6 BGP connections in VPN instance vpn1 Sysname reset bgp ipv6 vpn instance vpn1 all routing table limit Description Use the routing table limit command to limit the maximum number of routes in a VPN instance an IPv4 VPN or an IPv6 VPN thus preventing too many routes from being accepted by a PE Use the undo routing table limit command to restore the default The default maximum number of routes ...

Page 56: ...vpn3 supports up to 1000 routes and can receive new routes after the number of existing routes exceeds the limit Sysname system view Sysname ip vpn instance vpn3 Sysname vpn instance vpn3 route distinguisher 100 3 Sysname vpn instance vpn3 ipv6 family Sysname vpn ipv4 vpn3 routing table limit 1000 simply alert vpn target VPN instance view IPv6 VPN view Description Use the vpn target command to con...

Page 57: ...import targets and export targets The both keyword is used also when you do not specify any of both export extcommunity and import extcommunity export extcommunity Uses the specified VPN targets as export targets import extcommunity Uses the specified VPN targets as import targets all Removes all VPN targets Examples Configure VPN targets for VPN instance vpn1 Sysname system view Sysname ip vpn in...

Page 58: ...ers A label acceptance control policy is for filtering the FEC label bindings received With such a policy configured an upstream LSR filters the label bindings received from the specified downstream LSR by the specified IP prefix list and accepts and saves only bindings with the FEC destinations permitted by the specified address prefix list When the label acceptance control configuration on an LS...

Page 59: ...ding to be advertised passes the IP prefix checking and you specify a peer list the LSR will advertise the label binding to the peers that pass the peer list checking If the IP prefix of a label binding to be advertised passes the checking of more than one IP prefix lists which are specified by executing the advertise label command for multiple times the LSR will advertise the label binding based ...

Page 60: ...MPLS LSR ID The BFD packets will use the MPLS LSR ID as the source address Therefore before enabling BFD for an LSP configure an IP address for the loopback interface and configure the MPLS LSR ID as the IP address of the loopback interface You can also configure BFD session parameters for the loopback interface as needed Syntax bfd enable destination address mask length nexthop nexthop address di...

Page 61: ...ual device The slot number parameter is the number of the member device in the IRF virtual device The value range for the slot number parameter depends on the number of members and numbering conditions in the current IRF virtual device Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the...

Page 62: ...e POP POPGO SWAPGO or NULL Swap Label Label for swapping Display the detailed information of all ILM entries Sysname display mpls ilm verbose Total ILM Entry 2 In Label 60 LSP Type STATIC LSP In Interface Vlan2 VRF Index 0 Operation NULL Swap Label Out Interface Create Time 07 55 06 921 Last Change Time 07 55 06 921 Tunnel ID 0xc0001 Done GrCount 0 In Label 80 LSP Type STATIC LSP In Interface Vlan...

Page 63: ... with MPLS enabled Related commands display mpls statistics interface and mpls Syntax display mpls interface interface type interface number verbose include text begin exclude include regular expression View Any view Default level 1 Monitor level Parameters interface type interface number Specifies an interface by its type and number verbose Displays detailed information Filters command output by ...

Page 64: ... LSP Count LSPCount Number of LSPs on the interface CR LSP Count CR LSPCount Number of CR LSPs on the interface FRR Whether FRR is enabled on the interface If FRR is enabled the output will also include the bound tunnels NOTE For information about FRR see the MPLS Configuration Guide display mpls label Description Use the display mpls label command to display usage information about specified labe...

Page 65: ...pression which is a case sensitive string of 1 to 256 characters Examples Display information about labels ranging from 900 to 1500 Sysname display mpls label 900 to 1500 Label alloc state means not used means used Static Label 900 964 Dynamic Label 1024 1088 1152 1216 1280 1344 1408 1472 display mpls ldp Description Use the display mpls ldp command to display information about LDP If you do not s...

Page 66: ...ce Instance Status Active LSR ID 1 1 1 1 Hop Count Limit 32 Path Vector Limit 32 Loop Detection Off DU Re advertise Timer 30 Sec DU Re advertise Flag On DU Explicit Request Off Request Retry Flag On Label Distribution Mode Ordered Label Retention Mode Liberal Table 22 Command output Field Description Protocol Version Version of the LDP protocol Neighbor Liveness Setting of the GR neighbor liveness...

Page 67: ... Monitor level Parameters lspid lsr id lsp id Displays information about the specified CR LSP lsr id is the LSR ID of the ingress in the form of IP address lsp id is the local LSP ID of the ingress ranging from 0 to 65 535 Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line t...

Page 68: ... addr is the destination address of the FEC mask length is the mask length of the FEC destination address ranging from 0 to 32 Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all line...

Page 69: ...Received MTU 1500 OutIfCount 2 OutGoing Info Interface Nexthop Vlan200 21 21 21 2 Vlan100 12 12 12 2 Table 23 Command output Field Description Label Advertisement Policy Information about the label advertisement control policy FEC IP prefix IP prefix list for checking FEC destination addresses Peer IP prefix IP prefix list for checking LSR IDs of LDP peers Stale Whether the device is in GR process...

Page 70: ... the command will display the brief LDP information of all LDP enabled interfaces Related commands mpls ldp interface view and mpls ldp system view Syntax display mpls ldp interface all verbose vpn instance vpn instance name interface type interface number verbose begin exclude include regular expression View Any view Default level 1 Monitor level Parameters all Displays all information verbose Di...

Page 71: ...Name Vlan interface2 LDP ID 1 1 1 1 0 Transport Address 1 1 1 1 Entity Status Active Interface MTU 1500 Configured Hello Timer 15 Sec Negotiated Hello Timer 15 Sec Configured Keepalive Timer 45 Sec Label Advertisement Mode Downstream Unsolicited Hello Message Sent Rcvd 591 1033 Message Count Table 24 Command output Field Description LDP ID LDP identifier It identifies the label space of an LSR An ...

Page 72: ...n For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is ...

Page 73: ...ys information about a peer peer id is the LSR ID of the peer Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Disp...

Page 74: ... 1 1 1 0 Peer Max PDU Length 4096 Peer Transport Address 168 1 1 1 Peer Loop Detection Off Peer Path Vector Limit 0 Peer FT Flag Off Peer Keepalive Timer 45 Sec Recovery Timer Reconnect Timer Peer Label Advertisement Mode Downstream Unsolicited Peer Discovery Source Vlan interface2 Peer LDP ID 100 10 1 1 0 Peer Max PDU Length 4096 Peer Transport Address 100 10 1 1 Peer Loop Detection Off Peer Path...

Page 75: ...he Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 80 characters Examples...

Page 76: ...vpn instance vpn instance name Displays information about all LDP sessions of a VPN instance vpn instance name indicates the name of the VPN instance which is a case sensitive string of 1 to 31 characters peer id Displays the LDP session information of a peer peer id indicates the LSR ID of the peer Filters command output by specifying a regular expression For more information about regular expres...

Page 77: ... Rcv Counts of keepalive messages sent by received on the local LSR Display detailed information about all public network LDP sessions Sysname display mpls ldp session verbose LDP Session s in Public Network Peer LDP ID 1 1 1 1 0 Local LDP ID 3 3 3 3 0 TCP Connection 3 3 3 3 1 1 1 1 Session State Operational Session Role Active Session FT Flag Off MD5 Flag Off Reconnect Timer Recovery Timer Negoti...

Page 78: ...See Table 24 for detailed description of LDP ID Session State See Table 29 to view the session states Session Role Role of the current LSR in the session Active or Passive Session FT Flag Whether GR FT is enabled on the peer of the session MD5 Flag Whether MD5 authentication is enabled on the peer Label Resource Status Peer Local Whether free labels exist on the local and remote peers Peer Discove...

Page 79: ... Display statistics about all LDP sessions Sysname display mpls ldp session all statistics Total number of sessions 1024 Session s in Non Existent state 100 Session s in Initialized state 200 Session s in Open Received state 400 Session s in Open Sent state 300 Session s in Operational state 24 display mpls lsp Description Use the display mpls lsp command to display information about LSPs With no ...

Page 80: ... 31 characters protocol Specifies LSPs established by a given protocol bgp Specifies BGP LSPs bgp ipv6 Specifies IPv6 BGP LSPs or BGP4 LSPs crldp Specifies CR LSPs established by CR LDP This is not supported by HP 5800 series now ldp Specifies LDP LSPs rsvp te Specifies CR LSPs established by RSVP TE static Specifies static LSPs static cr Specifies static CR LSPs egress Specifies LSPs taking the c...

Page 81: ...n Out IF Vrf Name 100 10 1 0 24 3 NULL 100 10 1 0 24 3 NULL 168 1 0 0 16 3 NULL 172 17 0 0 16 3 NULL Table 31 Command output Field Description FEC Forwarding equivalence class in either of the following two forms IP address mask Assigning labels based on destination addresses IP address Assigning labels based on the addresses of the next hops Display detailed information about all LSPs Sysname dis...

Page 82: ...labels based on destination addresses IP address Assigning labels based on the addresses of the next hops Tunnel ID Tunnel ID the public network LsrType Role of the LSR for the LSP which can be Ingress Transit or Egress Outgoing Tunnel ID Tunnel ID inter AS VPN Label Operation Label operation performed which can be POP PUSH or SWAP display mpls lsp bfd ipv4 Description Use the display mpls lsp bfd...

Page 83: ...egular expression which is a case sensitive string of 1 to 256 characters Examples Display the BFD check information of the LSPs for destination 1 1 1 9 32 Sysname display mpls lsp bfd ipv4 1 1 1 9 32 MPLS BFD Session s Information FEC 1 1 1 9 32 Type LSP Local Discr 1 Remote Discr 1 Tunnel ID 0xd2007 NextHop 11 1 1 2 Session State Up Source IP 1 1 1 1 Session Role Active FEC 1 1 1 9 32 Type LSP L...

Page 84: ...ession For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression whic...

Page 85: ...s NHLFE entries including a specified string slot slot number Displays the NHLFE entries on a member device in the IRF virtual device The slot number parameter is the number of the member device in the IRF virtual device The value range for the slot number parameter depends on the number of members and numbering conditions in the current IRF virtual device Filters command output by specifying a re...

Page 86: ...or GO Deep Depth of the MPLS label stack Stack MPLS label Display the detailed information of all NHLFE entries Sysname display mpls nhlfe verbose Total NHLFE Entry 1 Token 1 Tunnel ID 0x7600001 VRF Index 0 Next Hop 1 1 1 1 Out Interface Vlan10 AT Index 1 Label Stack 1024 Operation PUSH LSP Type LDP LSP Tunnel State Done FRR Tunnel ID 0x0 FRR Flag False FRR Inner Label FRR Tunnel State Waiting Nex...

Page 87: ...in exclude include regular expression View Any view Default level 1 Monitor level Parameters token Specifies the NHLFE entry index Its value ranges from 0 to 102 399 include text Displays the usage information of the NHLFE entries that contains a specified string text is the specified string slot slot number Displays the usage information of the NHLFE entries on a member device in the IRF virtual ...

Page 88: ...leted Table 38 Types of associated nodes and their key parameters Node type Description Key parameter FTN FEC to NHLFE mapping VPN ID VPN instance ID Address prefix mask ILM Incoming label mapping In Label Incoming label In If Incoming interface LPW Sending entries of VPWS PW SRV ID Service instance ID Private If Private network interface VPW Sending entries of VPLS PW VSI ID Virtual switching ins...

Page 89: ...ion and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display LSP related information about all routes Sysname display mpls route state DEST MASK NEXT HOP OUT I...

Page 90: ...n and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display brief information about all static LSPs Sysname display mpls static lsp total statics lsp 1 Name FEC...

Page 91: ...terface all Displays MPLS statistics for all interfaces Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays a...

Page 92: ...4 End Time 2010 04 28 10 24 04 Statistics for Interface IN Incoming Interface Vlan interface53 Octets 0 Packets 0 Errors 0 Disables 0 Failed Label Lookup 0 Start Time 2010 04 28 10 24 10 End Time 2010 04 28 10 24 10 Statistics for Interface OUT Outgoing Interface Vlan interface73 Octets 0 Packets 0 Errors 0 Disables 0 Start Time 2010 04 28 10 24 10 End Time 2010 04 28 10 24 10 Table 41 Command out...

Page 93: ...sion View Any view Default level 1 Monitor level Parameters index Specifies an LSP by the index of the LSP The LSP index is ranging from 0 to 4 294 967 295 all Specifies all LSPs name lsp name Specifies an LSP by its name which is a string of 1 to 15 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuratio...

Page 94: ... 00 00 00 Statistics for Lsp OUT LSP Name LSP Index DynamicLsp 9218 OutSegment Octets 0 Packets 0 Errors 0 Down 0 Start Time 2006 05 20 15 52 30 End Time 2006 05 20 15 52 30 Table 42 Command output Field Description Statistics for Lsp IN Statistics for LSP in the incoming direction InSegment Information about the LSP in the incoming direction OutSegment Information about the LSP in the outgoing di...

Page 95: ... Sysname system view Sysname mpls ldp Sysname mpls ldp du readvertise Enable DU mode label re advertisement for LDP instance vpn1 Sysname system view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 du readvertise du readvertise timer Description Use the du readvertise timer command to set the interval for label re advertisement in DU mode Use the undo du readvertise timer com...

Page 96: ...ful restart MPLS LDP view Description Use the graceful restart command to enable MPLS LDP GR Use the undo graceful restart command to disable MPLS LDP GR By default MPLS LDP GR is disabled Enabling or disabling GR will cause all LDP sessions and all LSPs based on the sessions to be removed and then reestablished Syntax graceful restart undo graceful restart View MPLS LDP view Default level 2 Syste...

Page 97: ...l restart timer neighbor liveness command to restore the default By default the LDP neighbor liveness time is 120 seconds Modifying the LDP neighbor liveness time will cause all LDP sessions and all LSPs based on the sessions to be removed and then reestablished For LDP sessions with MD5 authentication configured you need to give the LDP neighbor liveness time a greater value so that the TCP conne...

Page 98: ...onnect View MPLS LDP view Default level 2 System level Parameters timer Specifies the FT reconnect time ranging from 60 to 300 seconds Examples Set the FT reconnect time to 100 seconds Sysname system view Sysname mpls ldp Sysname mpls ldp graceful restart timer reconnect 100 graceful restart timer recovery Description Use the graceful restart timer recovery command to set the LDP recovery time Use...

Page 99: ...s how fast LDP detects a loop Adjust this parameter as required Related commands loop detect and path vectors You should configure this command before you enable LDP on any interface Syntax hops count hop number undo hops count View MPLS LDP view MPLS LDP VPN instance view Default level 2 System level Parameters hop number Specifies the hop count ranging from 1 to 32 Examples Set the maximum hop c...

Page 100: ...l advertise explicit null implicit null non null undo label advertise View MPLS view Default level 2 System level Parameters explicit null Specifies the egress to distribute to the penultimate hop an explicit null label whose value is 0 implicit null Specifies that the egress supports PHP and distributes to the penultimate hop an implicit null label whose value is 3 non null Specifies that the egr...

Page 101: ...e label distribution control mode to independent for the public network LDP instance Sysname system view Sysname mpls ldp Sysname mpls ldp label distribution independent Set the label distribution control mode to independent for LDP instance vpn1 Sysname system view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 label distribution independent loop detect Description Use the ...

Page 102: ...ou specify the vpn instance vpn instance name combination the command configures an LSP establishment triggering policy for the specified VPN instance Otherwise the command configures an LSP establishment triggering policy for the public network routes For information about IP prefix list see the Layer 3 IP Routing Configuration Guide Syntax lsp trigger vpn instance vpn instance name all ip prefix...

Page 103: ...of the public network LDP instance as 2 2 2 3 Sysname system view Sysname mpls ldp Sysname mpls ldp lsr id 2 2 2 3 Configure the LDP LSR ID of LDP instance vpn1 as 4 2 2 3 Sysname system view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 lsr id 4 2 2 3 md5 password Description Use the md5 password command to enable LDP MD5 authentication and set the password Use the undo md...

Page 104: ...de as plain text Sysname system view Sysname mpls ldp Sysname mpls ldp md5 password plain 3 3 3 3 pass Enable MD5 authentication for LDP instance vpn1 configuring the password used for the MD5 authentication with peer 3 3 3 3 as pass and setting the password display mode as plain text Sysname system view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 md5 password plain 3 3 3...

Page 105: ... view Description Use the mpls ldp command to enable LDP globally and enter MPLS LDP view Use the undo mpls ldp command to disable LDP globally and remove all LDP instances By default MPLS LDP is disabled Configure the mpls ldp command after configuring the MPLS LSR ID and enabling MPLS globally for the LSR Syntax mpls ldp undo mpls ldp View System view Default level 2 System level Parameters None...

Page 106: ... LDP globally Use the mpls command in interface view to enable MPLS for the interface If the interface is bound to a VPN instance you need to use the mpls ldp vpn instance command to enable LDP for the VPN instance This command supports only VLAN interfaces and Layer 3 Ethernet interfaces Syntax mpls ldp undo mpls ldp View Interface view Default level 2 System level Parameters None Examples Enable...

Page 107: ...er Use the undo mpls ldp timer hello hold command to restore the default In interface view you set the link hello timer In MPLS LDP remote peer view you set the targeted hello timer By default the value of the link hello timer is 15 seconds and that of the targeted hello timer is 45 seconds Changing the values of the hello timers does not affect any existing session Related commands mpls ldp inter...

Page 108: ...set to 45 seconds If more than one link with LDP enabled exists between two LSRs for example when the two LSRs are connected through multiple interfaces the keepalive timers of all the links must be identical for the sessions to be stable Changing the values of the keepalive timers will cause all LDP sessions and the LSPs based on the sessions to be removed and then reestablished Syntax mpls ldp t...

Page 109: ...eer view mpls ldp transport address ip address undo mpls ldp transport address View Interface view MPLS LDP remote peer view Default level 2 System level Parameters ip address Specifies the IP address for LDP to use as the LDP transport address interface Specifies that LDP use the IP address of the current interface as the LDP transport address Examples On interface VLAN interface 1 configure the ...

Page 110: ...cation and enter MPLS LSPV view Sysname system view Sysname mpls lspv Sysname mpls lspv mpls lsr id Description Use the mpls lsr id command to configure the ID of an LSR Use the undo mpls lsr id command to remove the ID of an LSR By default no LSR ID is configured Configure the LSR ID of an LSR before configuring any other MPLS commands HP recommends that you use the address of a loopback interfac...

Page 111: ...rs pv number undo path vectors View MPLS LDP view MPLS LDP VPN instance view Default level 2 System level Parameters pv number Specifies the path vector length ranging from 1 to 32 Examples Set the maximum hops of the path vector to 3 for the public network LDP instance Sysname system view Sysname mpls ldp Sysname mpls ldp path vectors 3 Set the maximum hops of the path vector to 3 for LDP instanc...

Page 112: ...messages By default the MPLS LSR ID is used as the source address of MPLS echo request messages exp exp value Specifies the EXP value of the label exp value ranges from 0 to 7 and defaults to 0 h ttl value Specifies the TTL value to be carried by MPLS echo request messages ttl number is ranging from 1 to 255 and defaults to 30 m wait time Specifies the interval for performing LSP tracert wait time...

Page 113: ...aults to 100 bytes t time out Specifies the timeout interval for the response to an echo request message The time out parameter ranges from 0 to 65 535 milliseconds and defaults to 2000 milliseconds v Displays detailed response information ipv4 dest addr mask length Specifies to check the validity and reachability of the LSPs for a FEC dest addr is the destination address of the FEC The mask lengt...

Page 114: ...oing interface is the MPLS TE tunnel interface The destination address of the MPLS TE tunnel the remote peer address specified through the remote ip command and the LSR ID of the remote peer are the same The MPLS TE tunnel interface is enabled with the MPLS capability Syntax prefix label advertise undo prefix label advertise View MPLS LDP remote peer view Default level 2 System level Parameters No...

Page 115: ...te ip bfd command to enable BFD for an LDP remote peer Use the undo remote ip bfd command to disable BFD for an LDP remote peer By default BFD is not enabled for detecting the reachability to a remote peer Syntax remote ip bfd undo remote ip bfd View MPLS LDP remote peer view Default level 2 System level Parameters None Examples Configure a remote peer named bji and enable BFD for it Sysname syste...

Page 116: ...c network LDP instance Sysname reset mpls ldp Reset the sessions of all LDP instances Sysname reset mpls ldp all Reset the sessions of LDP instance vpn1 Sysname reset mpls ldp vpn instance vpn1 Reset the sessions of a specified FEC Sysname reset mpls ldp 2 2 2 2 24 Reset the session with a specified peer Sysname reset mpls ldp peer 2 2 2 9 reset mpls statistics interface Description Use the reset ...

Page 117: ...ecifies an LSP by the LSP name which is a string of 1 to 15 characters Examples Clear MPLS statistics for LSP lsp1 Sysname reset mpls statistics lsp lsp1 static lsp egress Description Use the static lsp egress command to configure a static LSP taking the current LSR as the egress Use the undo static lsp egress command to remove a static LSP taking the current LSR as the egress Related commands dis...

Page 118: ...s of the next hop cannot be any local public network IP address Related commands display mpls static lsp static lsp egress and static lsp transit Syntax static lsp ingress lsp name destination dest addr mask mask length nexthop next hop addr out label out label undo static lsp ingress lsp name View System view Default level 2 System level Parameters lsp name Specifies the name for the LSP which is...

Page 119: ...which is a string of 1 to 15 characters incoming interface interface type interface number Specifies an incoming interface by its type and number in label in label Specifies the incoming label ranging from 16 to 1023 next hop addr Specifies the address of the next hop out label out label Specifies the outgoing label which can be a 0 3 or a value ranging from 16 to 1023 Examples Configure a static ...

Page 120: ...ource ip Specifies the source address for the echo request messages exp exp value Specifies the EXP value for the echo request messages The exp value parameter ranges from 0 to 7 and defaults to 0 h ttl value Specifies the TTL value for the echo request messages The ttl value parameter ranges from 1 to 255 and defaults to 30 r reply mode Specifies the reply mode of the receiver in response to the ...

Page 121: ... device to send back an ICMP TTL exceeded message when it receives an MPLS TTL expired packet Use the undo ttl expiration enable command to disable sending back of ICMP TTL exceeded messages for MPLS TTL expired messages By default this function is enabled Related commands ttl expiration pop Syntax ttl expiration enable undo ttl expiration enable View MPLS view Default level 2 System level Paramet...

Page 122: ...piration pop undo ttl expiration pop View MPLS view Default level 2 System level Parameters None Examples Specify that ICMP TTL exceeded messages for MPLS TTL expired packets travel along the LSPs Sysname system view Sysname mpls Sysname mpls undo ttl expiration pop ttl propagate Description Use the ttl propagate command to enable MPLS IP TTL propagation for public network packets or VPN packets U...

Page 123: ...114 vpn Specifies VPN packets Examples Enable MPLS IP TTL propagation for VPN packets Sysname system view Sysname mpls Sysname mpls ttl propagate vpn ...

Page 124: ...er ID of the node to be inserted in the explicit path in dotted decimal notation include Includes the specified IP address in the explicit path loose Indicates that the next hop is a loose node which is not necessarily directly connected to the specified node strict Indicates that the next hop is a strict node which must be directly connected to the specified node exclude Excludes the node identif...

Page 125: ...on about all explicit paths is displayed Syntax display explicit path pathname begin exclude include regular expression View Any view Default level 1 Monitor level Parameters pathname Specifies a path name which is a string of 1 to 31 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Di...

Page 126: ...eld Description Path Name Explicit path name Path Status Explicit path status display isis traffic eng advertisements Description Use the display isis traffic eng advertisements command to display the latest TE information advertised by IS IS TE If you do not specify an IS IS level the TE information of IS IS Level 1 2 routers is displayed Syntax display isis traffic eng advertisements level 1 lev...

Page 127: ... exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display the latest TE information advertised by IS IS TE Sysname display isis traffic eng advertisements TE information for ISIS 1 Leve...

Page 128: ...servable BW 6250 Bytes sec Unreserved BW for Class Type 0 BW Unresrv 0 6250 Bytes sec BW Unresrv 1 6250 Bytes sec BW Unresrv 2 6250 Bytes sec BW Unresrv 3 6250 Bytes sec BW Unresrv 4 6250 Bytes sec BW Unresrv 5 6250 Bytes sec BW Unresrv 6 6250 Bytes sec BW Unresrv 7 6250 Bytes sec Unreserved BW for Class Type 1 BW Unresrv 0 0 Bytes sec BW Unresrv 1 0 Bytes sec BW Unresrv 2 0 Bytes sec BW Unresrv 3...

Page 129: ...s ID ranging from 1 to 65 535 vpn instance vpn instance name Displays the IS IS TE link information of the specified VPN The vpn instance name parameter specifies an MPLS L3VPN by its instance name which is a case sensitive string of 1 to 31 characters To display the IS IS TE link information of the public network do not specify this keyword and parameter combination Filters command output by spec...

Page 130: ...sis traffic eng network level 1 level 1 2 level 2 process id vpn instance vpn instance name begin exclude include regular expression View Any view Default level 1 Monitor level Parameters level 1 Displays the TE information of IS IS Level 1 routers level 1 2 Displays the TE information of IS IS Level 1 2 routers level 2 Displays the TE information of IS IS Level 2 routers process id Specifies the ...

Page 131: ...89 2 2 2 Nbr 1111 1111 1113 00 Link State 1 Total Number of TE Networks in Level 1 Area 1 Num Active 1 Level 2 Network Information DIS Router ID 89 1 1 1 DIS s Ip Address 86 1 1 1 Status In CSPF ACTIVE Attached Router Count 2 List of Attached Routers RouterId 89 1 1 1 Nbr 1111 1111 1111 00 Link State 1 RouterId 89 2 2 2 Nbr 1111 1111 1113 00 Link State 1 Total Number of TE Networks in Level 2 Area...

Page 132: ...ify this keyword and parameter combination Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that...

Page 133: ...egular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 t...

Page 134: ...ion View Any view Default level 1 Monitor level Parameters interface Displays RSVP TE configuration for interfaces interface type interface number Specifies an interface for which RSVP TE configuration is displayed Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matc...

Page 135: ...GR restart interval in seconds Recovery Time GR recovery interval in seconds Display the RSVP TE configuration on interface VLAN interface 3 Sysname display mpls rsvp te interface ethernet 1 1 Interface Vlan interface3 Interface state UP BFD feature ENABLE Total BW 80 Used BW 20 Hello configured NO Num of Neighbors 1 SRefresh feature ENABLE SRefresh Interval 30sec Authentication DISABLE Reliabilit...

Page 136: ...nterface interface type interface number Specifies an interface by its type and number If you do not specify an interface the command displays the RSVP TE tunnel information of all interfaces Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regul...

Page 137: ...Specifies an interface by its type and number Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines t...

Page 138: ... State of hello extension enabled or disabled This field is displayed only when hello extension is enabled on the interface SRefresh Enable State of summary refresh YES for enabled and NO for disabled Reliability Enable State of the reliability function YES for enabled and NO for disabled Graceful Restart State Neighbor s GR status Not Ready Ready Restart or Recovery Displayed as when not supporte...

Page 139: ...29 29 29 29 The PSB Content Tunnel Dest 29 29 29 29 Session Tunnel ID 0 Tunnel ExtID 19 19 19 19 Ingress LSR ID 19 19 19 19 Local LSP ID 1 Previous Hop 101 101 101 1 Next Hop Incoming Outgoing Interface Vlan interface3 InLabel 3 OutLabel NULL Send Message ID 1 Recv Message ID 0 Session Attribute SetupPrio 7 HoldPrio 7 SessionFlag SE Style desired ERO Information L Type ERO IPAddr ERO PrefixLen ERH...

Page 140: ...ng RRO C Type Type of route recording RRO IP Address IP address of recorded route in the format of X X X X RRO IPPrefixLen IP prefix length of recorded route Sender Tspec Information Information about sender s service specifications Token Bucket rate Token bucket rate in kbps a traffic parameter Token Bucket size Token bucket size a traffic parameter Peak Data Rate Peak data rate in kbps a traffic...

Page 141: ...regular expression Specifies a regular expression which is a case sensitive string of 1 to 80 characters Examples Display information about RSVP TE requests on all interfaces Sysname display mpls rsvp te request Interface Vlan interface3 Tunnel Dest 2 2 2 2 Ingress LSR ID 3 3 3 3 Local LSP ID 4 Session Tunnel ID 4 NextHopAddr 80 4 1 1 SessionFlag SE Style desired Token bucket rate 0 00 Token bucke...

Page 142: ...ied regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 80 characters Examples Display information about RSVP TE reservations on interface VLAN interface 3 Sysname display mpls rsvp te reservation interface vlan interface 3 Interface Vlan interface3 Tunnel Dest 29 29 29 ...

Page 143: ... ranging from 1 to 65 535 tunnel id Specifies the tunnel ID ranging from 0 to 65 535 egress lsr id Specifies the egress LSR ID nexthop address Next hop address Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that...

Page 144: ... Tunnel destination in the format of X X X X Tunnel Ext ID Tunnel extension ingress LSR ID in the format of X X X X Next Hop Next hop address in the format of X X X X Reservation Style Reservation style SE or FF Reservation Interface Reservation interface name Reserve Incoming Interface Incoming interface where the Resv message was received Message ID Message ID of the Refresh Reduction message Fi...

Page 145: ...begin exclude include regular expression View Any view Default level 1 Monitor level Parameters interface interface type interface number Specifies an interface by its type and number Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expre...

Page 146: ...at of X X X X Previous Hop Address Previous hop address in the format of X X X X Token Bucket rate Token bucket rate a traffic parameter Token Bucket Size Token bucket size a traffic parameter display mpls rsvp te statistics Description Use the display mpls rsvp te statistics command to display statistics about RSVP TE Syntax display mpls rsvp te statistics global interface interface type interfac...

Page 147: ... 2 SendPathErrCounter 0 RecPathErrCounter 0 SendResvErrCounter 0 RecResvErrCounter 0 SendPathTearCounter 0 RecPathTearCounter 0 SendResvTearCounter 0 RecResvTearCounter 0 SendSrefreshCounter 0 RecSrefreshCounter 0 SendAckMsgCounter 0 RecAckMsgCounter 0 SendErrMsgCounter 0 RecErrMsgCounter 0 RecReqFaultCounter 0 Display the RSVP TE statistics of interface VLAN interface 3 Sysname display mpls rsvp ...

Page 148: ...ter Number of received Hello messages SendAckCounter Number of transmitted Ack messages RecAckCounter Number of received Ack messages SendPathErrCounter Number of transmitted PathErr messages RecPathErrCounter Number of received PathErr messages SendResvErrCounter Number of transmitted ResvErr messages RecResvErrCounter Number of received ResvErr messages SendPathTearCounter Number of transmitted ...

Page 149: ...ix length ranging from 0 to 32 verbose Displays detailed information Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression inclu...

Page 150: ...name LSR Type Role of the LSR in the LSP ingress transit or egress FEC FEC In Label Incoming label Out Label Outgoing label In Interface Incoming interface Out Interface Outgoing interface NextHop Next hop address Lsp Status Status of the LSP display mpls te cspf tedb Description Use the display mpls te cspf tedb command to display information about CSPF based TEDB by specified criteria Syntax dis...

Page 151: ...ular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 80 characters Examples Display TEDB information in network LSAs Sysname display mpls te cspf tedb network lsa Maximum Network LSA Supported 2048 Current Total Network LSA Number 2 Id DR MPLS LSR Id DR Address IGP Process Id Area Neighbor 1 104 4 4 4 45 1 1 4 OSPF 1 0 105 5 5 5 104 4 4 4 2 104...

Page 152: ... 100 1 1 3 2 2 2 2 ISIS 100 Level 1 1 4 3 3 3 3 ISIS 100 Level 1 1 Network LSA Information for Area 1 Id DR MPLS LSR Id DR Address IGP Process Id Area Neighbor 1 3 3 3 3 20 1 1 2 OSPF 100 1 2 2 2 2 3 3 3 3 2 3 3 3 3 20 1 1 2 ISIS 100 Level 1 3 3 3 3 2 2 2 2 Table 63 Command output Field Description Id Number MPLS LSR Id MPLS LSR ID in dotted decimal notation IGP Interior gateway protocol OSPF or I...

Page 153: ... 44 2 0 0 45 2 0 0 46 2 0 0 47 2 0 0 32 2 0 0 33 Neighbor MPLS LSR Id 1 1 1 2 IGP Area Level 0 Link Type point to point Link Status Active IGP Metric 10 TE Metric 10 Color 0x11 Table 64 Command output Field Description MPLS LSR Id MPLS LSR ID of node Process Id IGP process ID MPLS TE Link Count Number of MPLS TE links Link 1 Information of the first link DR Address IP address of the DR IGP Metric ...

Page 154: ...string of 1 to 256 characters Examples Display information about the CR LSPs carried on the links of all interfaces Sysname display mpls te link administration admission control LspID In Out IF S H Prio CT BW kbps 1 1 1 9 1024 Vlan3 7 7 0 0 1 1 1 9 2048 Vlan4 7 7 0 0 Table 65 gives the description on the fields of the display mpls te link administration admission control command Table 65 Command o...

Page 155: ...ntified by the interface type interface number parameters as the incoming interface outgoing interface Displays all tunnels that use the interface identified by the interface type interface number parameters as the outgoing interface interface Displays all tunnels that use the interface identified by the interface type interface number parameters as the incoming or outgoing interface interface typ...

Page 156: ...ority 7 Hold Priority 7 Sign Protocol RSVP TE Resv Style SE IncludeAnyAff 0x0 ExcludeAllAff 0x0 IncludeAllAff 0x0 Created Time 2004 10 18 16 05 17 Table 67 Command output Field Description No Number LSP Id LSP ID of tunnel Tunnel Name Tunnel name configured on the ingress node Destination Destination router ID In Interface Incoming interface Out Interface Outgoing interface Ingress LSR Id Ingress ...

Page 157: ...ranging from 1 to 65 535 tunnel name tunnel name Specifies the tunnel name which is a string of 1 to 63 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do no...

Page 158: ...the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Exampl...

Page 159: ... command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular ex...

Page 160: ...nel 120 Backup Tunnel Group Status Oam Status Table 70 Command output Field Description Tunnel Desc Tunnel description Tunnel State Desc Tunnel state description Admin State Administrative state Oper State Operation state Signaling Prot Signaling protocol Resv Style Reservation style Class Type Service class type Setup Priority Setup priority of LSP Hold Priority Hold priority of LSP Affinity Prop...

Page 161: ...the binding VPN or ACL VPN Bind Value Value of the binding the VPN instance name or ACL number Car Policy Whether CAR policy is enabled Tunnel Group Whether the tunnel is the primary tunnel or backup tunnel in the group Primary Tunnel Tunnel ID of the primary tunnel If the tunnel is the primary tunnel is displayed for this field Backup Tunnel Tunnel ID of the backup tunnel If the tunnel is the bac...

Page 162: ...t follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display all TE LSAs in the LSDB Sysname display ospf mpls te OSPF Process 100 with Router ID 10 0 0 1 Area ID Traffic Engineeri...

Page 163: ...rocess or all OSPF processes Syntax display ospf process id traffic adjustment begin exclude include regular expression View Any view Default level 1 Monitor level Parameters process id Specifies the OSPF process ID ranging from 1 to 65 535 Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Display...

Page 164: ...ID ranging from 1 to FFFFFFFE If you specify a tunnel only information about this tunnel is displayed all Display information about all tunnels statistics Displays statistics about tunnels Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular ...

Page 165: ...llocated LSP Number of LSP tunnels GRE Number of GRE tunnels CRLSP Number of CR LSP tunnels LOCAL IFNET Number of CE side interfaces in MPLS L2VPN MPLS LOCAL IFNET Number of outgoing interfaces in CCC remote mode in MPLS L2VPN enable traffic adjustment Description Use the enable traffic adjustment command to enable IGP shortcut Use the undo enable traffic adjustment command to disable IGP shortcut...

Page 166: ...cy allows OSPF to include static LSP tunnels in SPF calculation but not advertise them to OSPF neighbors Syntax enable traffic adjustment advertise undo enable traffic adjustment advertise View OSPF view Default level 2 System level Parameters None Examples Enable forwarding adjacency when the IGP protocol is OSPF Sysname system view Sysname ospf 100 Sysname ospf 100 enable traffic adjustment adve...

Page 167: ...ist hop ip address View Explicit path view Default level 2 System level Parameters ip address Specifies the IP address of a node on the explicit path If you do not specify an IP address information about all the nodes on the explicit path is displayed Examples Display information about all nodes on an MPLS TE explicit path Sysname system view Sysname explicit path path1 Sysname explicit path path1...

Page 168: ...udes the IP address specified by the ip address2 parameter from subsequent path calculations Examples Replace IP address 10 0 0 125 on explicit path named p1 with IP address 10 0 0 200 and exclude this new IP address from subsequent path calculations Sysname system view Sysname explicit path path1 Sysname explicit path path1 modify hop 10 0 0 125 10 0 0 200 exclude mpls rsvp te Description Use the...

Page 169: ...icate received RSVP messages For the two interfaces at the two ends of a link to exchange RSVP messages they must share the same authentication key This hop by hop authentication of RSVP is to prevent fake resource reservation requests from occupying network resources The RSVP message authentication and Fast Reroute are mutually exclusive Syntax mpls rsvp te authentication cipher plain auth key un...

Page 170: ...e View Interface view Default level 2 System level Parameters None Examples Enable BFD link detection on RSVP TE enabled interface VLAN interface 100 Sysname system view Sysname interface vlan interface 100 Sysname Vlan interface100 mpls rsvp te bfd enable mpls rsvp te blockade multiplier Description Use the mpls rsvp te blockade multiplier command to configure the blockade multiplier Use the undo...

Page 171: ...he blockade multiplier ranging from 3 to 255 Examples Set the blockade multiplier to five Sysname system view Sysname mpls Sysname mpls mpls rsvp te blockade multiplier 5 mpls rsvp te graceful restart Description Use the mpls rsvp te graceful restart command to enable the GR capability for MPLS RSVP TE Use the undo mpls rsvp te graceful restart command to disable MPLS RSVP TE GR By default GR capa...

Page 172: ... extension is disabled RSVP TE uses the hello mechanism to detect whether an RSVP neighbor is still alive To enable RSVP hello extension in interface view enable RSVP TE in interface view and RSVP hello extension in MPLS view Syntax mpls rsvp te hello undo mpls rsvp te hello View MPLS view interface view Default level 2 System level Parameters None Examples Enable RSVP hello extension in MPLS view...

Page 173: ...on in MPLS view Related commands mpls rsvp te timer hello Syntax mpls rsvp te hello lost times undo mpls rsvp te hello lost View MPLS view Default level 2 System level Parameters times Specifies the maximum number of consecutive hello losses before an RSVP neighbor is considered dead ranging from 3 to 10 Examples Set the maximum number of consecutive hello losses before an RSVP neighbor is conside...

Page 174: ...ls mpls rsvp te keep multiplier 5 mpls rsvp te reliability Description Use the mpls rsvp te reliability command to enable the reliability mechanism of RSVP TE the Message_ID extension mechanism Use the undo mpls rsvp te reliability command to disable the reliability mechanism Syntax mpls rsvp te reliability undo mpls rsvp te reliability View Interface view Default level 2 System level Parameters N...

Page 175: ...w MPLS view Default level 2 System level Parameters None Examples Enable reservation confirmation on your device Sysname system view Sysname mpls Sysname mpls mpls rsvp te resvconfirm mpls rsvp te srefresh Description Use the mpls rsvp te srefresh command to enable summary refresh Use the undo mpls rsvp te srefresh command to restore the default By default summary refresh is disabled Srefresh mess...

Page 176: ...raceful restart recovery View MPLS view Default level 2 System level Parameters recovery time Specifies the RSVP TE GR recovery interval in seconds ranging from 60 to 300 Examples Set the RSVP TE GR recovery interval to 100 seconds Sysname system view Sysname mpls Sysname mpls mpls rsvp te timer graceful restart recovery 100 mpls rsvp te timer graceful restart restart Description Use the mpls rsvp...

Page 177: ... enable the hello mechanism in MPLS view Related commands mpls rsvp te hello and mpls rsvp te hello lost Syntax mpls rsvp te timer hello timevalue undo mpls rsvp te timer hello View MPLS view Default level 2 System level Parameters timevalue Specifies the hello interval ranging from 1 to 60 seconds Examples Set the hello interval to five seconds Sysname system view Sysname mpls Sysname mpls mpls r...

Page 178: ...n RSVP message it waits for an acknowledgement If no ACK is received before the initial retransmission interval Rf seconds for example expires the interface resends the message After that the interface resends the message at an exponentially increased retransmission interval equivalent to 1 Delta Rf seconds either until an acknowledgement is received or the retransmission attempt limit RI is reach...

Page 179: ...e command enables MPLS TE globally and its undo form disables MPLS TE and removes all CR LSPs When performed in interface view the mpls te command enables MPLS TE on an interface and its undo form disables MPLS TE and removes all CR LSPs on the interface Enable MPLS TE globally before you enable MPLS TE on an interface Syntax mpls te undo mpls te View MPLS view interface view Default level 2 Syste...

Page 180: ...value Specifies the 32 bit mask comprising 0s and 1s ranging from 0x0 to 0xFFFFFFFF This mask is used when ANDing the link affinity attribute with the link administrative group attribute The affinity bits corresponding to the 1s in the mask are do care bits which must be considered Those corresponding to the 0s in the mask are don t care bits Examples Configure the link affinity attribute of tunne...

Page 181: ...e bypass tunnel The bandwidth value specified with this command is used only for calculating and determining the bandwidth protection relationship No bandwidth is reserved in the bypass tunnel The specified bandwidth value must be less than the actual bandwidth of the bypass tunnel Otherwise the bypass tunnel may be overwhelmed after FRR switchover causing the protected tunnel to be torn down Synt...

Page 182: ... using the mpls lspv command first before executing the mpls te bfd enable command For details of the mpls lspv command see the chapter MPLS basics configuration commands BFD session parameters are those configured on the TE tunnel interface The source address of the BFD session is the MPLS LSR ID Before enabling BFD for an MPLS TE tunnel make sure that a route exists on the peer device to the MPL...

Page 183: ...ne Examples Configure an MPLS TE tunnel and submit the configuration Sysname system view Sysname interface tunnel 0 Sysname Tunnel0 tunnel protocol mpls te Sysname Tunnel0 destination 2 2 2 9 Sysname Tunnel0 mpls te commit mpls te cspf Description Use the mpls te cspf command to enable CSPF on current node Use the undo mpls te cspf command to disable CSPF on current node By default CSPF is disable...

Page 184: ...te cspf timer failed link View MPLS view Default level 2 System level Parameters timer interval Specifies the failed link timer setting ranging from 0 to 300 seconds The default is 10 seconds Examples Set the failed link timer to 50 seconds Sysname system view Sysname mpls Sysname mpls mpls te cspf timer failed link 50 mpls te failure action teardown Description Use the mpls te failure action tear...

Page 185: ... te failure action teardown mpls te fast reroute Description Use the mpls te fast reroute command to enable FRR Use the undo mpls te fast reroute command to disable FRR By default FRR is disabled After FRR is enabled the record route flag is set automatically to record reroute with label whether the mpls te record route label command is configured or not Disable FRR before configuring the mpls te ...

Page 186: ...e A maximum of three bypass tunnels can be specified for a protected interface When specifying a bypass tunnel consider the following The state of the tunnel must be up The protected interface is not the outgoing interface in the route entries for the LSP of the bypass tunnel A bypass tunnel cannot be used for services like VPN at the same time Syntax mpls te fast reroute bypass tunnel tunnel tunn...

Page 187: ...em level Parameters hold time value Sets the delay that IGP waits to notify IGP neighbors of the down event of the TE tunnel It ranges from 0 to 4 294 967 295 milliseconds The default is 0 milliseconds Examples Set the hold time to 10 000 milliseconds Sysname system view Sysname interface tunnel 0 Sysname Tunnel0 mpls te igp advertise hold time 10000 mpls te igp metric Description Use the mpls te ...

Page 188: ...to consider the MPLS TE tunnel in its enhanced SPF calculation when the tunnel is up If you do not specify an IGP protocol the command applies to both OSPF and IS IS Use the undo mpls te igp shortcut command to restore the default By default IGP does not consider MPLS TE tunnels in its enhanced SPF calculation The mpls te igp shortcut command cannot be used together with the mpls te igp advertise ...

Page 189: ... value of 0 or 1 By ANDing the administrative group attribute bits with the link affinity attribute bits of an MPLS TE tunnel MPLS TE identifies the properties of the links that the MPLS TE tunnel can use Examples Assign VLAN interface 1 the link administrative group attribute of 0x00000101 Sysname system view Sysname interface vlan interface 1 Sysname Vlan interface1 mpls te link administrative g...

Page 190: ...the link ranging from 0 to 4 294 967 295 Examples Assign a TE metric of 20 to the link on VLAN interface 1 Sysname system view Sysname interface vlan interface 1 Sysname Vlan interface1 mpls te metric 20 mpls te path Description Use the mpls te path command to specify a path for the tunnel to use and set the preference of the path Use the undo mpls te path command to remove a path used by the tunn...

Page 191: ...the mpls te path metric type command in MPLS view to specify the link metric type used for path calculation when a metric type was not explicitly configured for a tunnel Use the mpls te path metric type command in tunnel interface view to specify the link metric type used for path calculation of the current tunnel Use the undo mpls te path metric type command to restore the default This undo form ...

Page 192: ...y default periodic LSP tracert is disabled for MPLS TE tunnels The periodic LSP tracert function for an MPLS TE tunnel is for locating faults of the MPLS TE tunnel periodically It detects the consistency of the forwarding and control plane and records detection results into logs You can know whether an MPLS TE tunnel has failed by checking the logs This is what happens if you configure BFD as well...

Page 193: ... periodic LSP tracert for the MPLS TE tunnels on tunnel interface Tunnel 0 Sysname system view Sysname interface tunnel 0 Sysname Tunnel0 mpls te periodic tracert mpls te priority Description Use the mpls te priority command to assign a setup priority and holding priority to the MPLS TE tunnel Use the undo mpls te priority command to restore the default By default both setup and holding priorities...

Page 194: ...abels in the route record Examples Enable route recording on MPLS TE tunnel 0 Sysname system view Sysname interface tunnel 0 Sysname Tunnel0 mpls te record route mpls te reoptimization tunnel interface view Description Use the mpls te reoptimization command to enable reoptimization on the tunnel Use the undo mpls te reoptimization command to disable reoptimization on the tunnel Reoptimization is d...

Page 195: ...mizing all reoptimization enabled TE tunnels Syntax mpls te reoptimization View User view Default level 2 System level Parameters None Examples Start reoptimizing all reoptimization enabled TE tunnels Sysname mpls te reoptimization mpls te resv style Description Use the mpls te resv style command to set the resource reservation style for the MPLS TE tunnel Use the undo mpls te resv style command t...

Page 196: ...ple times until it is established successfully or until the number of attempts reaches the upper limit Related commands mpls te timer retry Syntax mpls te retry times undo mpls te retry View Tunnel interface view Default level 2 System level Parameters times Specifies the number of tunnel setup retries ranging from 1 to 4 294 967 295 Examples Set the maximum number of tunnel setup retries to 20 Sy...

Page 197: ...AUTION To use RSVP TE as the signaling protocol for setting up the MPLS TE tunnel you must enable both MPLS TE and RSVP TE on the interface for the tunnel to use Syntax mpls te signal protocol crldp rsvp te static View Tunnel interface view Default level 2 System level Parameters rsvp te Sets the signaling protocol for MPLS TE tunnel establishment to RSVP TE crldp Sets the signaling protocol for M...

Page 198: ...r the best one It ranges from 0 to 604 800 seconds with 0 disabling the PLR to poll available bypass tunnels regularly for the best one The default is 300 seconds or 5 minutes Examples Set the FRR polling timer to 120 seconds or 2 minutes Sysname system view Sysname mpls Sysname mpls mpls te timer fast reroute 120 mpls te timer retry Description Use the mpls te timer retry command to configure the...

Page 199: ...nnel ID remove the tunnel and then reconfigure the tunnel giving it a new tunnel ID Syntax mpls te tunnel id tunnel id View Tunnel interface view Default level 2 System level Parameters tunnel id Specifies the tunnel ID The value ranges from 1 to 1024 Examples Configure the tunnel ID as 100 Sysname system view Sysname interface tunnel 0 Sysname Tunnel0 mpls te tunnel id 100 mpls te vpn binding Des...

Page 200: ...pn instance vpn1 Configure tunnel 0 to forward only the VPN traffic that matches ACL 3001 Sysname system view Sysname acl number 3001 Sysname acl adv 3001 rule 0 permit ip vpn instance vpn1 Sysname acl adv 3001 quit Sysname interface tunnel 0 Sysname Tunnel0 mpls te vpn binding acl 3001 Sysname Tunnel0 mpls te commit mpls te Description Use the mpls te command to enable the MPLS TE capability in t...

Page 201: ...uter ID in dotted decimal notation In the strict routing approach this IP address must be a link IP address In the loose routing approach this IP address can be either a link IP address or a router ID include Includes the specified IP address on the explicit path loose Indicates that the next hop is a loose node that is not necessarily directly connected to current node strict Indicates that the n...

Page 202: ...lue h ttl value m wait time r reply mode s packet size t time out v te interface type interface number View Any view Default level 0 Visit level Parameters a source ip Specifies the source IP address of the Echo Request messages to be sent c count Specifies the number of Echo Request messages to be sent The count parameter ranges from 1 to 4 294 967 295 and defaults to 5 exp exp value Specifies th...

Page 203: ...IPV4 SESSION QUERY Tunnel1 100 data bytes press CTRL_C to break Reply from 100 1 2 1 bytes 100 Sequence 0 time 31 ms Reply from 100 1 2 1 bytes 100 Sequence 1 time 62 ms Reply from 100 1 2 1 bytes 100 Sequence 2 time 62 ms Reply from 100 1 2 1 bytes 100 Sequence 3 time 62 ms Reply from 100 1 2 1 bytes 100 Sequence 4 time 62 ms FEC TE TUNNEL IPV4 SESSION QUERY Tunnel1 ping statistics 5 packet s tra...

Page 204: ...er Specifies the incoming interface in label in label value Specifies the incoming label which can be a value of 0 3 or 16 through 1023 Examples Configure a static CR LSP on the egress node setting its name to tunnel34 incoming interface to VLAN interface 3 and incoming label to 233 Sysname system view Sysname static cr lsp egress tunnel34 incoming interface vlan interface 3 in label 233 static cr...

Page 205: ...iption Use the static cr lsp transit command to configure a static CR LSP on a transit node Use the undo static cr lsp transit command to remove the static CR LSP The next hop address cannot be a local public address when configuring the static CR LSP on the ingress or a transit node Syntax static cr lsp transit tunnel name incoming interface interface type interface number in label in label value...

Page 206: ... exp value parameter ranges from 0 to 7 and defaults to 0 h ttl value Specifies the TTL value for the Echo Request messages The ttl value parameter ranges from 1 to 255 and defaults to 30 r reply mode Specifies the reply mode of the receiver in response to an Echo Request message The reply mode parameter can be 1 or 2 where 1 means Do not respond and 2 means Respond using a UDP packet The default ...

Page 207: ...st use the cost style command to configure the cost style of the IS IS packet to wide compatible or wide compatible For more information about the cost style command see the Layer 3 IP Routing Command Reference Syntax traffic eng level 1 level 1 2 level 2 undo traffic eng level 1 level 1 2 level 2 View IS IS view Default level 2 System level Parameters level 1 Enables Level 1 IS IS TE level 1 2 En...

Page 208: ...el Parameters text Describes a VPLS instance which is a string of 1 to 80 characters Examples Set the description of VPLS instance aaa to Aaa_Technologies_Co _Ltd Sysname system view Sysname vsi aaa Sysname vsi aaa description Aaa_Technologies_Co _Ltd display bgp vpls Description Use the display bgp vpls command to display the VPLS information in a BGP routing table Syntax display bgp vpls all gro...

Page 209: ... regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display all VPLS information in the BGP routing table Sysname display bgp vpls all BGP Loc...

Page 210: ... Peer support bgp route refresh capability Graceful Restart Capability received Restart Timer Value of Peer 150 seconds Forwarding State preserved by Peer for following Address families IPv4 Unicast VPLS Address family IPv4 Unicast advertised and received Address family VPLS advertised and received Received Total 26 messages Update messages 2 Sent Total 28 messages Update messages 2 Maximum allowe...

Page 211: ...y capability Address family VPLS VPLS address family Received Counts of received messages including the total number of received messages and the number of received update messages Sent Counts of sent messages including the total number of sent messages and the number of sent update messages Maximum allowed prefix number Maximum number of routes allowed Threshold Threshold value When the number of...

Page 212: ... Display the VPLS information for specified RD CE number and label offset in the BGP routing table Sysname display bgp vpls route distinguisher 100 1 site id 4 label offset 0 BGP Local router ID 2 2 2 9 local AS number 100 Origin codes i IGP e EGP incomplete Nexthop 3 3 3 9 Locpref 100 Metric 133 Flag 0x85 LB Base 132096 LB NewBase 0 LB Size 10 Label Offset 0 MTU 0 Encap Type Unknown or Reserved P...

Page 213: ... count MED Cost value AS Path AS path of the route MTU Maximum transmission unit at Layer 2 Encap Type Encapsulation type display mac address vsi Description Use the display mac address vsi command to display the MAC address table information of a specified VPLS instance or all VPLS instances Related commands vsi mac address Layer 2 LAN Switching Command Reference Syntax display mac address vsi vs...

Page 214: ...VSI ID PEER IP AGING TIME 0000 0000 000a dynamic 1 Vlan 300 AGING 0000 0000 0009 dynamic 1 LinkId 1 AGING 2 mac address es found Display the total number of entries in the MAC address table Sysname display mac address vsi count 2 mac address es found Table 79 Command output Field Description MAC ADDR MAC address STATE Status of the MAC address MACTYPE MAC address type of the VPLS instance Vsilndex...

Page 215: ... number of members and numbering conditions in the current IRF virtual device Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular express...

Page 216: ...es Total AC Entry Total number of VPLS AC entries which is displayed only when you display all VPLS AC entries In Interface Incoming interface the interface bound to an L2VPN VSI Name VPLS instance name VSI Index VPLS instance index Link ID Link ID of an AC in the VPLS instance Access Mode Access mode at the AC side CE Type Interface encapsulation type at the AC side which can be PortVlan or Indep...

Page 217: ...irst line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display the VPLS PW information Sysname display mpls l...

Page 218: ...number of VPLS PW entries which is displayed only when you display all VPLS PW entries VSI Name VPLS instance name VSI Index VPLS instance index Link ID Link ID of a PW in the VPLS instance In Interface Incoming interface the interface bound to an L2VPN In VC Label Incoming VC label Out VC Label Outgoing VC label MTU Maximum transmission unit Role PW role which can be Main Backup or Normal State P...

Page 219: ...pecified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about all PW class templates Sysname display pw class Total 3 ...

Page 220: ...nd all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about VPLS connections of VPLS instance aaa Sysname display vpls connection vsi aaa Total 1...

Page 221: ...ng PW signaling protocol used by the VPLS instance Remote Vsi ID ID of the VPLS instance VC State Status of the virtual circuit Encapsulation Encapsulation type of the VPLS instance MTU Maximum transmission unit of the VPLS instance Peer Ip Address IP address of the peer of the VPLS instance PW Type PW type which can be label NPW the PW with a PE MEHVPLS UPW the PW with a UPE Link ID ID of the PW ...

Page 222: ...splays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about VPLS instance aaa Sysname display vsi aaa Vsi Vsi Mem Mac Mtu Vsi Name Index Disc Learn Value State 3001 1 static unqualify 1500 up Table 86 Command output Field Description Vsi Name Name of the VSI...

Page 223: ...008 Display detailed configuration information about VPLS instance bbb which uses BGP as the PW signaling protocol Sysname display vsi bbb verbose VSI Name bbb VSI Index 1 PW Signaling bgp Member Discovery Style auto PW MAC Learn Style unqualify Encapsulation Type vlan MTU 1500 Bandwidth 102400 kbps BroadcastRestrain 5 MacTabLimit 128 MacLearnEnable enable Wait to Restore Time Invalid VSI State do...

Page 224: ...ance VSI ID ID of the VPLS instance Peer Router ID ID of the peer VC Label Label of the VC Session Status of the session BGP RD BGP router distinguisher SiteID Range Offset Site ID site range CE offset of a site in the VPLS instance Import vpn target Incoming routing information from the destination VPN extended community Export vpn target Outgoing routing information to the destination VPN extend...

Page 225: ...ide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about remo...

Page 226: ...figuration and set the switchback delay time to 1 minute Sysname system view Sysname vsi vpna static Sysname vsi vpna pwsignal ldp Sysname vsi vpna ldp dual npe revertive wtr time 1 encapsulation service instance view Description Use the encapsulation command to configure a packet matching rule for the current service instance Use the undo encapsulation command to delete the packet matching rule o...

Page 227: ... system view Sysname interface GigabitEthernet 1 0 1 Sysname GigabitEthernet1 0 1 service instance 100 Sysname GigabitEthernet1 0 1 srv100 encapsulation port based Sysname GigabitEthernet1 0 1 srv100 quit Sysname GigabitEthernet1 0 1 quit On port GigabitEthernet 1 0 2 configure service instance 101 to match packets carrying the VLAN tag of 200 Sysname GigabitEthernet1 0 2 service instance 101 Sysn...

Page 228: ... type to Ethernet Sysname system view Sysname vsi aaa Sysname vsi aaa encapsulation ethernet mac learning Description Use the mac learning command to enable or disable MAC address learning for a VPLS instance With MAC address learning disabled for a VPLS instance the system does not learn source MAC addresses from the packets received from the VPLS instance By default MAC address learning is enabl...

Page 229: ...ame vsi aaa undo mac move enable mac table limit Description Use the mac table limit command to specify the maximum number of MAC addresses that can be learned in the VPLS instance Use the undo mac table limit command to restore the default By default up to 524 288 MAC addresses can be leaned in the VPLS instance Syntax mac table limit mac limit number undo mac table limit View VSI view Default le...

Page 230: ...that the peer PE is a UPE in the H VPLS model backup peer ip address Specifies the IP address of the backup VPLS remote peer NPE If you specify this parameter you create a primary NPE and a backup NPE on the UPE backup pw id pw id Specifies the ID of the PW to the backup VPLS remote peer NPE The pw id parameter is ranging from 1 to 4 294 967 295 and the default is the VSI ID pw class class name Sp...

Page 231: ... The wait time parameter ranges from 1 to 10 000 and defaults to 200 in milliseconds r reply mode Specifies the reply mode of the receiver in response to an Echo Request message The reply mode parameter can be 1 or 2 where 1 means Do not respond and 2 means Respond using a UDP packet The default is 2 s packet size Specifies the payload length of the Echo Request message The packet size parameter r...

Page 232: ...s command to delete an existing PW class template By default no PW class template is created Syntax pw class pw class name undo pw class pw class name View System view Default level 2 System level Parameters pw class name Specifies the name of the PW class template which is a case insensitive string of 1 to 19 characters Examples Create PW class template pw100 and enter its view Sysname system vie...

Page 233: ...ng policy specified by the tnl policy command in VSI view is used If you specify a non existent tunneling policy in the pw tunnel policy command the tunneling policy specified by the tnl policy command in VSI view is used For how to configure a tunneling policy see the chapter MPLS L3VPN configuration Related commands tnl policy tunnel policy Syntax pw tunnel policy policy name undo pw tunnel poli...

Page 234: ...all Resets all VPLS BGP connections external Resets VPLS EBGP session internal Resets VPLS IBGP session Examples Reset all VPLS BGP connections Sysname reset bgp vpls all reset mac address vsi Description Use the reset mac address vsi command to clear the MAC address table of a specified VPLS instance or all VPLS instances Syntax reset mac address vsi vsi name View User view Default level 1 Monito...

Page 235: ...ers in the format of nn nn or IP_address nn An RD can be 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 AS number must be equal to or greater than 65 536 For example 65536 1 Examples Set the RD to 1 1 1 1 Sysname system view Sysname vsi...

Page 236: ...ommand to shut down the VPLS service of a VPLS instance Use the undo shutdown command to restart the VPLS service of a VPLS instance By default the VPLS service of a VPLS instance is started When a VPLS instance is disabled the system does not handle any service of the VPLS instance Syntax shutdown undo shutdown View VSI view Default level 2 System level Parameters None Examples Shut down the VPLS...

Page 237: ...ts to 0 Examples Create sites for VPLS instance aaa and set the site range to 20 Sysname system view Sysname vsi aaa Sysname vsi aaa pwsignal bgp Sysname vsi aaa bgp site 1 range 20 tnl policy Description Use the tnl policy command to specify a tunneling policy for a VPLS instance Use the undo tnl policy command to remove the configuration By default if you do not specify a tunneling policy for a ...

Page 238: ...rwards the packet For a packet to be sent downstream your configuration determines whether the PE adds the service delimiter into the packet However you cannot rewrite and remove existing tags In VLAN mode every packet to the PW must carry a P TAG If a packet from a CE contains the service delimiter the PE keeps the P TAG unchanged or changes the P TAG to either the VLAN tag expected by the peer P...

Page 239: ... instance Use the undo vpn target command to remove the specified or all VPN targets of a VPLS instance By default no VPN targets are configured and you must configure VPN targets when creating a VPLS instance Syntax vpn target vpn target 1 16 both export extcommunity import extcommunity undo vpn target all vpn target 1 16 both export extcommunity import extcommunity View VSI BGP view Default leve...

Page 240: ...ystem view Sysname vsi aaa Sysname vsi aaa pwsignal bgp Sysname vsi aaa bgp vpn target 100 1 Sysname vsi aaa bgp vpn target export extcommunity 1 1 2 2 Sysname vsi aaa bgp vpn target import extcommunity 1 2 3 4 11 12 12 vsi Description Use the vsi command to create a VSI and enter VSI view If the specified VSI already exits you enter the VSI view directly Use the undo vsi command to remove a VSI T...

Page 241: ... Sysname vsi aaa Sysname vsi aaa pwsignal ldp Sysname vsi aaa ldp vsi id 100 xconnect vsi Description Use the xconnect vsi command to associate a VPLS instance with the service instance on a specific interface Use the undo xconnect vsi command to remove the association By default a service instance is not associated with any VPLS instance The access mode of a service instance can be VLAN or Ethern...

Page 242: ... characters Hyphens are not allowed access mode Specifies the access mode of the service instance as Ethernet or VLAN The default access mode is VLAN ethernet Specifies the Ethernet access mode vlan Specifies the VLAN access mode Examples Associate service instance 200 of GigabitEthernet 1 0 2 with VPLS instance vsi200 and specify the matching external VLAN tag as 200 Sysname system view Sysname i...

Page 243: ...P switch is connected with a PE you must configure static LSPs between them Syntax ccc ccc connection name interface interface type interface number in label in label value out label out label value nexthop ip address control word no control word undo ccc ccc connection name View System view Default level 2 System level Parameters ccc connection name Specifies the name for the CCC connection which...

Page 244: ...Parameters ce name Specifies the unique name for a CE in the current VPN of the current PE which is a string of 1 to 20 characters that cannot include the character of id ce id Specifies a CE in the VPN by its ID The value ranges from 0 to 199 range ce range Specifies the maximum number of CEs to which the specified CE can connect The value ranges from 1 to 200 and the default is 10 default offset...

Page 245: ...E view Default level 2 System level Parameters ce offset id Specifies the ID of the peer CE of the L2VPN connection The value ranges from 0 to 199 interface interface type interface number Specifies the interface connecting the CE by its type and number The encapsulation type must be same as that of the VPN tunnel policy tunnel policy name Specifies a tunneling policy for the VC which is a string ...

Page 246: ...splays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display all information about L2VPN in the...

Page 247: ...e state of established Peer IP address of the peer V BGP version that the peer is using AS AS number 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 that the BGP session is in the current status State Status of the peer Display detailed information about L2VPN peer 3 3 3 ...

Page 248: ...nt of the BGP session BGP last state Last status of the BGP session Port Local and remote ports used by the BGP session Configured Settings of the local timers Received Settings of the remote timers Negotiated Negotiated settings of the timers Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp route refresh capability Optional peer capabilities including the suppo...

Page 249: ...GP L2VPNs CE ID CE number in the VPN nexthop IP address of the next hop pref Preference as path AS PATH of the route Display L2VPN information with the RD being 100 1 and the CE ID being 4 in the BGP routing table Sysname display bgp l2vpn route distinguisher 100 1 ce id 4 BGP Local router ID 2 2 2 9 local AS number 100 Origin codes i IGP e EGP incomplete CE ID Label Offset Label Base nexthop pref...

Page 250: ...t Field Description Origin codes Route origin codes which can be i IGP Indicates that the network layer reachability information is from within the AS e EGP Indicates that the network layer reachability information is learned through EGP incomplete Indicates that the network layer reachability information is learned through other ways nexthop IP address of the next hop pref Preference as path AS P...

Page 251: ...s all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about CCC connection c1 Sysname display ccc ccc name c1 Name c1 Type remote State down Intf Vlan interface2 up In label 100 Out lab...

Page 252: ...ew Default level 1 Monitor level Parameters all Specifies all CCC interfaces regardless of the VC type bgp vc Specifies CCC interfaces with the VC type of Kompella ccc Specifies CCC interfaces with the VC type of CCC ldp vc Specifies CCC interfaces with the VC type of Martini static vc Specifies CCC interfaces with the VC type of SVC up Specifies CCC interfaces in the state of UP down Specifies CC...

Page 253: ...e in the state of UP Sysname display l2vpn ccc interface vc type svc vc up Total ccc interface of SVC VC 1 up 1 down 0 Interface Encap Type State VC Type Vlan4 VLAN up static vc Table 96 Command output Field Description Total ccc interface of XXX VC Total interface number of L2VPN VCs of type xxx Interface Name of the interface Encap Type Encapsulation type of the interface State Status of the int...

Page 254: ...ular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about all Martini VCs configured on the router Sysname display mpls l2vc Total ldp vc 2 0 up 2 down Transport Client Service VC Local Remote VC ID Intf ID State VC Label VC Label 100 Vlan2 down 1027 200 Vlan2 down 1028 Table 97 Command output Field Description Total l...

Page 255: ...o total remote ldp vc 1 Transport Group Peer Remote Remote C Remote VC ID ID Addr Encap VC Label Bit MTU 100 0 3 3 3 9 ethernet 1025 0 1500 Table 99 Command output Field Description total remote ldp vc Total number of remote LDP VCs Transport VC ID Remote VC ID Group ID Remote VC group ID used for the L2VPN VC FEC TLV field of LDP messages Peer Addr IP address of the peer Remote Encap Encapsulatio...

Page 256: ... the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examp...

Page 257: ...e number s Number of local CEs Remote ce number s Number of remote CEs MTU Maximum transmission unit Import vpn target Incoming VPN target Export vpn target Outgoing VPN target Display information about local CEs of L2VPN vpn1 Sysname display mpls l2vpn vpn name vpn1 local ce ce name ce id range conn num LB ce1 1 10 0 132096 0 10 LB stands for label block Table 103 Command output Field Description...

Page 258: ...emote CE for the L2VPN connection ranging from 0 to 249 down Displays detailed information about the connections that are down up Displays detailed information about the connections that are up If you specify neither the down nor the up keyword the command displays detailed information about connections that are either up or down verbose Displays detailed information This keyword is valid only whe...

Page 259: ...ocal connections the number of remote connections and the number of unknown connections VPN name Name of the VPN CE name Name of the CE id ID of the CE Rid ID of the remote CE type Type of the connection status Status of the connection peer id IP address of the peer intf Interface for the connection Display information about Kompella L2VPN connections for VPN vpn1 Sysname display mpls l2vpn connec...

Page 260: ...on type Peer id IP address of the peer Local vc label Local VC label Remote vc label Remote VC label Tunnel policy Name of the tunneling policy Tunnel type Type of the tunnel Tunnel ID ID of the tunnel Display summary information about all Kompella L2VPN connections Sysname display mpls l2vpn connection summary 1 total connections connections 1 up 0 down 0 local 1 remote 0 unknown No vpn name loca...

Page 261: ...ervice instanceid is the service instance ID ranging from 1 to 4094 slot slot number Displays the VPWS AC information on a member device in the IRF virtual device The slot number parameter is the member number of the device in the IRF virtual device The value range for the slot number parameter depends on the number of members and numbering conditions in the current IRF virtual device Filters comm...

Page 262: ...interface type interface number Specifies the interface connecting a CE by its type and number service instance service instanceid Specifies a service instance service instanceid is the service instance ID ranging from 1 to 4094 verbose Displays the detailed information slot slot number Displays the VPWS PW information on a member device in the IRF virtual device The slot number parameter is the m...

Page 263: ...ce Incoming interface which is bound to L2VPN ServiceID Service instance ID InVCLabel Incoming VC label OutVCLabel Outgoing VC label TunnelID ID of the public tunnel Display the detailed MPLS L2VPN PW information Sysname display mpls l2vpn fib pw vpws verbose Total PW Entry 1 In Interface Vlan interface 2 Service Instance ID 1000 In VC Label 1000 Out VC Label 1002 Out Interface Encapsulation Type ...

Page 264: ...ne or Waiting GrCount Number of times that GR occurs display mpls static l2vc Description Use the display mpls static l2vc command to display information about static VCs configured on the router If you specify an interface the command displays only information about static VCs configured on the CE interface Syntax display mpls static l2vc interface interface type interface number begin exclude in...

Page 265: ... of connections that are up and number of connections that are down ce intfe CE interface State Status of the VC destination Destination IP address tr label Outgoing label rcv label Incoming label tnl policy Name of the tunneling policy Display information about static VCs configured on interface Vlan interface 2 Sysname display mpls static l2vc interface vlan interface 2 CE interface Vlan interfa...

Page 266: ...aracters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expre...

Page 267: ... Enable L2VPN and enter L2VPN view Sysname system view Sysname l2vpn Sysname l2vpn l2vpn family Description Use the l2vpn family command to enter BGP L2VPN address family view Use the undo l2vpn family command to delete all configurations for the BGP L2VPN address family Syntax l2vpn family undo l2vpn family View BGP view Default level 2 System level Parameters None Examples Enter BGP L2VPN addres...

Page 268: ...d no control word undo mpls l2vc View Interface view Default level 2 System level Parameters destination Specifies the IP address of the peer PE vc id Specifies the VC ID of the L2VPN connection ranging from 1 to 4 294 967 295 tunnel policy name Specifies the tunneling policy for the VC which is a string of 1 to 19 characters control word Enables the control word option no control word Disables th...

Page 269: ...to delete a VPN The encapsulation type specified here must match that of the CE interface Syntax mpls l2vpn vpn name encapsulation ethernet vlan control word no control word undo mpls l2vpn vpn name View System view MPLS L2VPN view Default level 2 System level Parameters vpn name Specifies the name for the VPN which is a case insensitive string of 1 to 31 characters that cannot include the charact...

Page 270: ...licy for a VC or the specified tunneling policy is not configured the VC selects tunnels by using the default tunneling policy The default tunneling policy selects only one tunnel no load balancing in this order LSP tunnel CR LSP tunnel Syntax mpls static l2vc destination destination router id transmit vpn label transmit label value receive vpn label receive label value tunnel policy tunnel policy...

Page 271: ... the default HP does not recommend using the mtu command because it affects only possible protocol parameter negotiations and does not instruct traffic forwarding Syntax mtu mtu undo mtu View MPLS L2VPN view Default level 2 System level Parameters mtu value Specifies the MTU for the L2VPN It ranges from 128 to 1500 and defaults to 1500 Examples Set the MTU for Kompella connections to 1000 Sysname ...

Page 272: ...th of the Echo Request messages The packet size parameter ranges from 65 to 8100 and defaults to 100 in bytes t time out Specifies the timeout interval for waiting for the response to an echo request message The time out parameter ranges from 0 to 65 535 and defaults to 2000 in milliseconds v Displays detailed response information pw ip address Specifies the IP address of the peer PE pw id pw id S...

Page 273: ...pw class pw100 Sysname pw pw100 pw tunnel policy Description Use the pw tunnel policy command to specify the tunneling policy for a PW class template Use the undo pw tunnel policy command to restore the default By default only one tunnel is selected no load balancing in this order LSP tunnel CR LSP tunnel If you specify a nonexistent tunneling policy by using the pw tunnel policy command the defau...

Page 274: ...ers as number Resets L2VPN BGP connections with the peers in the AS with this number The AS number must be ranging from 1 to 4 294 967 295 ip address Resets the L2VPN BGP connection to the peer with this IP address all Resets all L2VPN BGP connections external Resets L2VPN EBGP sessions internal Resets L2VPN IBGP sessions Examples Reset all L2VPN BGP connections Sysname reset bgp l2vpn all route d...

Page 275: ...ode Use the undo trans mode command to restore the default By default the PW transport mode is VLAN The packet encapsulation type on an Ethernet PW can be either Ethernet or VLAN In Ethernet mode P Tag is not transferred on the PW If a packet from a CE contains the service delimiter the PE removes the service delimiter and adds a PW label and a tunnel label into the packet before sending the packe...

Page 276: ...nsport mode as Ethernet Sysname system view Sysname pw class pw100 Sysname pw pw100 trans mode ethernet vpn target MPLS L2VPN view Description Use the vpn target command to configure VPN targets for a VPN Use the undo vpn target command to remove the specified or all VPN targets of a VPN By default no VPN targets are configured and you must configure VPN targets when creating a VPN Syntax vpn targ...

Page 277: ...ate a Martini MPLS L2VPN connection for a service instance Use the undo xconnect peer command to delete the MPLS L2VPN connection of a service instance The access mode of a service instance can be VLAN or Ethernet VLAN The Ethernet header of a packet sent from a CE to a PE or from a PE to a CE includes a VLAN tag that is added in the header as a service delimiter for the service provider network t...

Page 278: ... no load balancing in this order LSP tunnel CR LSP tunnel For how to configure a tunneling policy see the chapter MPLS L3VPN configuration mtu mtu value Specifies the MTU which ranges from 0 to 65 535 and defaults to 1500 access mode Specifies the access mode of the service instance as Ethernet or VLAN The default access mode is VLAN ethernet Specifies the access mode of Ethernet vlan Specifies th...

Page 279: ...ress family view Default level 2 System level Parameters value Specifies the default value for the local preference ranging from 0 to 4 294 967 295 A greater value represents a higher priority Examples Devices A and B are connected to the outside AS In BGP VPNv4 subaddress family view of Device B set the default local preference of Device B to 180 so that when a destination in the outside AS can b...

Page 280: ... family view Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 default med 10 description VPN instance view Description Use the description command to configure a description for a VPN instance Use the undo description command to delete the description Syntax description text undo description View VPN instance view Default level 2 System level Parameters text D...

Page 281: ...formation community Displays routing information of the specified BGP community in the routing table aa nn 1 13 Specifies the community number Both the aa and nn parameters ranging from 0 to 65 535 1 13 means that you can enter the parameter combination up to 13 times no advertise Specifies a route with this attribute is not advertised to any other BGP peer no export Specifies a route with this at...

Page 282: ...tching the specified AS_PATH regular expression Examples Display all BGP VPNv4 routing information Sysname display bgp vpnv4 all routing table BGP Local router ID is 2 2 2 2 Status codes valid VPNv4 best best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Total number of routes from all PE 2 Route Distinguisher 100 1 Network NextHop In Out Label MED LocPrf i 10 0 ...

Page 283: ...on of 1 1 1 2 32 From 1 1 1 9 1 1 1 9 Relay Nexthop 0 0 0 0 Original nexthop 1 1 1 9 Ext Community RT 111 1 AS path 65410 Origin incomplete Attribute value MED 0 localpref 100 pref val 0 pre 255 State valid internal best Not advertised to any peers yet Not advertised to any VPNv4 peers yet Table 113 Command output Field Description BGP Local router ID Router ID of the local BGP router Status codes...

Page 284: ... best routes Label information Route label information Received Received label information Applied Locally generated label information Ext Community Extended community attribute AS path The route s AS path attribute AS_PATH which records all ASs the route has passed and therefore can avoid route loops Attribute value BGP routing attribute information localpref Local preference value pref val Prefe...

Page 285: ...exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about the BGP VPNv4 peer group a for the VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 group a BGP p...

Page 286: ...ding Route refresh messages with ORF information Receive Supports receiving Route refresh messages with ORF information Peer Preferred Value Preference value configured for routes from the peer No routing policy is configured Whether the VPN instance is configured with a routing policy Peer IP address of the peer AS AS number of the peer group MsgRcvd Number of messages received MsgSent Number of ...

Page 287: ...regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display information about BGP VPNv4 routes injected into VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 network BGP Local Router ID is 1 1 1 1 Local AS Number is 100 Network Mask Route policy Short cut 10 0 0 0 255 0 0 0 Table 115 Command output Field Description BGP Lo...

Page 288: ...h the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display the BGP VPNv4 AS path information of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 paths Address Hash Refcount MED Path Origin 0x6E72D18 0 1 0 200 0x6E72E5...

Page 289: ...ss Specifies the IP address of the peer verbose Displays detailed information Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular express...

Page 290: ... BGP current state Established Up for 00h19m26s BGP current event KATimerExpired BGP last state OpenConfirm Port Local 179 Remote 1025 Configured Active Hold Time 180 sec Keepalive Time 60 sec Received Active Hold Time 180 sec Negotiated Active Hold Time 180 sec Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast...

Page 291: ...bgp multi protocol extended The peer supports multiprotocol extension Peer support bgp route refresh capability The peer supports route refresh capability Address family IPv4 Unicast IPv4 unicast family capability Received Counts of received messages and received update messages Sent Counts of sent messages and sent update messages Maximum allowed prefix number Maximum number of routes that the VP...

Page 292: ...n Sysname display bgp vpnv4 all peer BGP local router ID 2 2 2 2 Local AS number 100 Total number of peers 1 Peers in established state 1 Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 1 1 1 1 100 51 64 0 2 00 45 16 Established Table 119 Command output Field Description Peer IP address of the peer AS AS number MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of m...

Page 293: ...configured No routing policy is configured Table 120 Command output Field Description Peer IP address of the peer Local IP address of the local router Type BGP type BGP version Version of BGP that the peer runs remote router ID Router ID of the remote router BGP current state Current status of BGP Up for Duration since the peer is established BGP current event Current event of the peer BGP last st...

Page 294: ...ding Route refresh messages with ORF information receive Supports receiving Route refresh messages with ORF information Negotiated ORF capability negotiated by the local and remote peers The value can be send The local peer can send Route refresh messages with ORF information and the remote peer can receive Route refresh messages with ORF information receive The local peer can receive Route refres...

Page 295: ...hich specifies the error type Error SubError SubError Notification message s error subcode which specifies the detailed information of the error display bgp vpnv4 peer received ip prefix Description Use the display bgp vpnv4 peer received ip prefix command to display the IP prefix information of the ORF packets received from the specified BGP peer Syntax display bgp vpnv4 all vpn instance vpn inst...

Page 296: ...e IP prefix rule Matching rule of the IP prefix ge greater equal which means the mask length is greater than or equal to the displayed value le less equal which means the mask length is less than or equal to the displayed value display bgp vpnv4 route distinguisher routing table Description Use the display bgp vpnv4 route distinguisher routing table command to display the BGP VPNv4 routing informa...

Page 297: ...ormation of the specified BGP community list basic community list number Specifies the basic community list number ranging from 1 to 99 adv community list number Specifies the advanced community list number ranging from 100 to 199 1 16 Specifies that the parameter before it can be entered up to 16 times different origin as Displays information about routes with different AS origins Filters command...

Page 298: ...l AS number 100 Route Distinguisher 100 1 Paths 1 available 0 best 1 VPNv4 best BGP routing table entry information of 1 1 1 2 32 Label information Received Applied 1034 NULL From 1 1 1 9 1 1 1 9 Original nexthop 1 1 1 9 Ext Community RT 111 1 AS path 65410 Origin incomplete Attribute value MED 0 localpref 100 pref val 0 pre 255 State valid internal VPNv4 best Not advertised to any peers yet Total...

Page 299: ... Received label information Applied Locally generated label information Ext Community Extended community attribute AS path The route s AS path attribute AS_PATH which records all ASs the route has passed to avoid route loops Attribute value BGP routing attribute information localpref Local preference value pref val Preference value of the route pre Protocol priority State Current state of the peer...

Page 300: ...the specified VPN instance display bgp vpnv4 routing table label Description Use the display bgp vpnv4 routing table label command to display information about labeled routes in the BGP routing table Syntax display bgp vpnv4 all vpn instance vpn instance name routing table label begin exclude include regular expression View Any view Default level 1 Monitor level Parameters all Specifies all VPNv4 ...

Page 301: ... 1 1 NULL 1024 Total routes of vpn instance vpn1 4 Network NextHop In Out Label 10 1 1 0 0 0 0 0 1025 NULL 20 0 0 0 0 0 0 0 1026 NULL i 123 1 1 1 1 1 1 1 NULL 1024 124 1 1 1 0 0 0 0 1024 NULL Table 125 Command output Field Description BGP Local router ID Router ID of the local BGP router Status Route status codes For valid values see Table 113 Origin Route origin codes For valid values see Table 1...

Page 302: ... cidr Displays CIDR information community Displays routing information of the specified BGP community in the routing table aa nn 1 13 Specifies the community number Both the aa and nn parameters ranging from 0 to 65 535 1 13 means that you can enter the parameter combination up to 13 times no advertise Specifies a route with this attribute is not advertised to any other BGP peer no export Specifie...

Page 303: ...se sensitive string of 1 to 256 characters regular expression as regular expression Displays routing information matching the specified AS regular expression Examples Display the BGP VPNv4 routing information of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 routing table Total Number of Routes 5 BGP Local router ID is 2 2 2 2 Status codes valid VPNv4 best best d damped h history i ...

Page 304: ... name Displays the FIB information of the VPN instance permitted by the specified IP prefix ip prefix name is the name of the IP prefix which is a case sensitive string of 1 to 19 characters If the specified IP prefix does not exist the command displays all FIB information of the VPN instance Filters command output by specifying a regular expression For more information about regular expressions s...

Page 305: ...2000 rule permit source 10 2 0 0 0 0 255 255 Sysname acl basic 2000 display fib vpn instance vpn1 acl 2000 FIB entry count 2 Flag U Useable G Gateway H Host B Blackhole D Dynamic S Static Destination Mask Nexthop Flag OutInterface InnerLabel Token 10 2 0 0 16 10 2 1 1 U Vlan1 Null Invalid 10 2 1 1 32 127 0 0 1 UH InLoop0 Null Invalid Display the FIB information of VPN instance vpn1 that is permitt...

Page 306: ...display fib vpn instance vpn instance name ip address mask mask length begin exclude include regular expression View Any view Default level 1 Monitor level Parameters vpn instance name Specifies the name of the VPN instance which is a case sensitive string of 1 to 31 characters ip address Specifies the destination IP address in dotted decimal format mask Specifies the mask of the IP address in dot...

Page 307: ...y view Default level 1 Monitor level Parameters instance name vpn instance name Displays information about the specified VPN instance vpn instance name represents the VPN instance name which is a case sensitive string of 1 to 31 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays...

Page 308: ...f Routes 500 Threshold Value 100 Interfaces Vlan interface10 Table 129 Command output Field Description VPN Instance Name and ID Name and ID of the VPN instance CreateTime Time when the VPN instance was created Up time Duration of the VPN instance Route Distinguisher RD of the VPN instance Export VPN Targets Export target attribute of the IPv4VPN Import VPN Targets Import target attribute of the I...

Page 309: ...y specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifie...

Page 310: ...U mode DU Re advertise Flag Whether label re advertisement is enabled for DU mode DU Explicit Request Whether explicit request transmission is enabled for DU mode Request Retry Flag Whether request retransmission is enabled Label Distribution Mode Label distribution control mode of the instance Ordered or Independent Label Retention Mode Label retention mode of the instance The switch supports onl...

Page 311: ...ham link OSPF Process 100 with Router ID 100 1 1 2 Sham Link Area NeighborId Source IP Destination IP State Cost 0 0 0 1 120 1 1 2 3 3 3 3 5 5 5 5 P 2 P 10 Table 131 Command output Field Description Area OSPF area to which the sham link belongs NeighborId Router ID of the sham link neighbor Source IP Source IP address of the sham link Destination IP Destination IP address of the sham link State St...

Page 312: ...neling policies tunnel policy name Specifies the name of a tunneling policy which is a string of 1 to 19 characters Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do n...

Page 313: ...m PEs are advertised as External LSAs However routes to different destinations in the same OSPF domain must be advertised as Type 3 LSAs Therefore you must use the same domain ID for an OSPF domain Syntax domain id domain id secondary undo domain id domain id View OSPF view Default level 2 System level Parameters domain id Specifies the OSPF domain ID which can be in one of the following formats I...

Page 314: ...e view If you specify an export routing policy in IPv4 VPN view and VPN instance view the policy specified in or IPv4 VPN view is applied to the IPv4 VPN Syntax export route policy route policy undo export route policy View VPN instance view IPv4 VPN view Default level 2 System level Parameters route policy Specifies the name of the export routing policy for the VPN instance which is a string of 1...

Page 315: ...SPF process 100 Sysname system view Sysname ospf 100 Sysname ospf 100 ext communityroute type domain id 8005 Sysname ospf 100 ext communityroute type router id 8001 Sysname ospf 100 ext communityroute type route type 8000 filter policy export BGP VPNv4 subaddress family view Description Use the filter policy export command to filter all or certain types of routes to be advertised Use the undo filt...

Page 316: ... family view use ACL 2555 to filter routes to be advertised by MP BGP Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 filter policy 2555 export filter policy import BGP VPNv4 subaddress family view Description Use the filter policy import command to filter received routes Use the undo filter policy import command to remove the configuration By default receive...

Page 317: ...VPN view takes precedence over that specified in VPN instance view If you specify an import routing policy in both IPv4 VPN view and VPN instance view the policy specified in IPv4 VPN view is applied to the IPv4 VPN Syntax import route policy route policy undo import route policy View VPN instance view IPv4 VPN view Default level 2 System level Parameters route policy Specifies the name of the imp...

Page 318: ... level 2 System level Parameters vpn instance name Specifies the name of the VPN instance to be associated which is a case insensitive string of 1 to 31 characters Examples Associate interface VLAN interface 1 with the VPN instance vpn1 Sysname system view Sysname interface vlan interface 1 Sysname Vlan interface1 ip binding vpn instance vpn1 ip vpn instance Description Use the ip vpn instance com...

Page 319: ... View BGP view Default level 2 System level Parameters vpnv4 Enters BGP VPNv4 subaddress family view vpn instance vpn instance name Associates a VPN instance with an IPv4 address family and enters BGP VPN instance view The vpn instance name parameter represents the VPN instance name which is a case sensitive string of 1 to 31 characters Examples Enter BGP VPNv4 subaddress family view Sysname syste...

Page 320: ...pn instance vpn instance name View System view Default level 2 System level Parameters vpn instance name Specifies the name of the VPN instance which is a case sensitive string of 1 to 31 characters Examples Enable LDP for the VPN instance vpn1 create the LDP instance and enter the MPLS LDP VPN instance view Sysname System view Sysname mpls ldp vpn instance vpn1 Sysname mpls ldp vpn instance vpn1 ...

Page 321: ...he configuration By default no community attributes are advertised to any peer or peer group Syntax peer group name ip address advertise community undo peer group name ip address advertise community View BGP VPNv4 subaddress family view Default level 2 System level Parameters group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 characters ip address Specifies...

Page 322: ... number can appear repeatedly in the AS PATH attribute It ranges from 1 to 10 and defaults to 1 Examples In BGP VPNv4 subaddress family view allow the local AS number to appear repeatedly in the AS PATH attribute of a route received from peer 1 1 1 1 for up to twice Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer 1 1 1 1 allow as loop 2 In BGP L2VPN addr...

Page 323: ...Filters the received routes export Filters the routes to be advertised Examples In BGP VPNv4 subaddress family view apply AS filtering list 3 to routes advertised by peer group test Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer test as path acl 3 export peer capability advertise orf ip prefix BGP VPNv4 subaddress family view Description Use the peer ca...

Page 324: ... Default level 2 System level Parameters group name Specifies the name of the peer group which is a string of 1 to 47 characters ip address Specifies the IP address of the peer both Supports sending and receiving Route refresh messages with the ORF information receive Supports receiving Route refresh messages with the ORF information send Supports sending Route refresh messages with the ORF inform...

Page 325: ... 31 characters Examples In BGP VPNv4 subaddress family view specify to advertise default routes of VPN instance vpn1 to peer 1 1 1 1 Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer 1 1 1 1 enable Sysname bgp af vpnv4 peer 1 1 1 1 upe Sysname bgp af vpnv4 peer 1 1 1 1 default route advertise vpn instance vpn1 peer enable Description Use the peer enable co...

Page 326: ...ysname system view Sysname bgp 100 Sysname bgp peer 1 1 1 1 as number 100 Sysname bgp vpls family Sysname bgp af vpls peer 1 1 1 1 enable peer filter policy BGP VPNv4 subaddress family view Description Use the peer filter policy command to apply a filtering policy to a peer or peer group Use the undo peer filter policy command to remove the configuration By default no filtering policy is applied t...

Page 327: ...ddress family view Default level 2 System level Parameters ip address Specifies the IP address of the peer group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 characters Examples In BGP VPNv4 subaddress family view add peer 1 1 1 1 into the peer group test Sysname system view Sysname bgp 100 Sysname bgp group test external Sysname bgp peer 1 1 1 1 as number ...

Page 328: ...dress Specifies the IP address of the peer prefix name Specifies the name of the IP prefix list which is a string of 1 to 19 characters export Filters the routes to be advertised import Filters the received routes Examples In BGP VPNv4 subaddress family view filter the routes received from peer group group1 by using IP prefix list list1 Sysname system view Sysname bgp 100 Sysname bgp ipv4 family v...

Page 329: ...he device not to change the next hop of a route when advertising it to a peer Use the undo peer next hop invariable command to restore the default By default a device uses its address as the next hop when advertising a route to its EBGP peer In the inter provider option C application you need to configure next hop invariable on the RR for multi hop EBGP neighbors and reflector clients to ensure th...

Page 330: ...em level Parameters group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 characters ip address Specifies the IP address of the peer Examples In BGP VPNv4 subaddress family view configure the device to use the local address as the next hop of a route when advertising it to peer group test Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysnam...

Page 331: ...f the peer value Specifies the preference value to be specified ranging from 0 to 65 535 Examples Set the preference value for the routes received from peer 131 108 1 1 to 50 Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer 131 108 1 1 preferred value 50 peer public as only BGP VPNv4 subaddress family view Description Use the peer public as only command t...

Page 332: ...6 subaddress family view support the peer reflect client command If you configure this command in BGP view you configure the local device to reflect public network routes If you configure this command in BGP VPNv4 subaddress family view or BGP VPNv6 subaddress family view you configure the local device to reflect private network routes For more information about BGP view see the Layer 3 IP Routing...

Page 333: ...ication By default no routing policy is applied to a peer or peer group Syntax peer group name ip address route policy route policy name export import undo peer group name ip address route policy route policy name export import View BGP VPNv4 subaddress family view Default level 2 System level Parameters group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 ch...

Page 334: ...is a case sensitive string of 1 to 47 characters ip address Specifies the IP address of the peer Examples Configure peer 1 1 1 1 as a UPE Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 peer 1 1 1 1 upe peer upe route policy Description Use the peer upe route policy command to specify the device to advertise routes permitted by a routing policy to UPEs Use th...

Page 335: ...command to activate a nested VPN peer or peer group and enable the capability of exchanging BGP VPNv4 routes with the peer or peer group Use the undo peer vpn instance enable command to disable the capability of exchanging BGP VPNv4 routes with a nested VPN peer or peer group By default nested VPN peers peer groups can exchange only IPv4 routes They cannot exchange BGP VPNv4 routes This configurat...

Page 336: ...ion takes effect only after the nested VPN function is enabled Deleting the VPN instance to which a peer belongs will also delete the configuration of this command Syntax peer peer address vpn instance vpn instance name group group name undo peer peer address vpn instance vpn instance name group group name View BGP VPNv4 subaddress family view Default level 2 System level Parameters peer address S...

Page 337: ...will also delete the configuration of this command Syntax peer group name peer address vpn instance vpn instance name route policy route policy name import undo peer group name peer address vpn instance vpn instance name route policy route policy name import View BGP VPNv4 subaddress family view Default level 2 System level Parameters group name Specifies the name of the peer group which is a case...

Page 338: ...el 2 System level Parameters None Examples In BGP VPNv4 subaddress family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpnv4 Sysname bgp af vpnv4 policy vpn target In BGP L2VPN address family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af...

Page 339: ...ave the same destination address 1 1 1 1 Configure a tunneling policy po1 for the switch so that the switch selects tunnels for traffic destined for 1 1 1 1 in this order Tunnel 0 Tunnel 2 Tunnel 3 If all three tunnels are unavailable tunnel selection is stopped and traffic destined for 1 1 1 1 cannot be transmitted For traffic going to other destinations the device selects tunnels by type and onl...

Page 340: ... between clients Sysname system view Sysname bgp 100 Sysname bgp vpls family Sysname bgp af vpls undo reflect between clients reflector cluster id Description Use the reflector cluster id command to specify a cluster ID for an RR Use the undo reflector cluster id command to remove the cluster ID By default the cluster ID is the router ID of an RR in the cluster Generally a cluster contains only on...

Page 341: ...bgp 100 Sysname bgp vpls family Sysname bgp af vpls reflector cluster id 50 refresh bgp vpn instance Description Use the refresh bgp vpn instance command to perform a soft reset of BGP connections in a VPN instance Syntax refresh bgp vpn instance vpn instance name ip address all external group group name export import View User view Default level 1 Monitor level Parameters vpn instance name Specif...

Page 342: ...P sessions group group name Performs a soft reset of the VPNv4 connections with a BGP peer group identified by this name internal Performs a soft reset of IBGP sessions export Performs a soft reset in the outbound direction import Performs a soft reset in the inbound direction Examples Perform a soft reset of all BGP VPNv4 connections in the inbound direction to make new configurations take effect...

Page 343: ...of a VPN instance Syntax reset bgp vpn instance vpn instance name as number ip address all external group group name View User view Default level 1 Monitor level Parameters vpn instance name Resets BGP connections with the peers in a VPN instance VPN instance name is a case sensitive string of 1 to 31 characters as number Resets BGP connections with the peers in an AS identified by this number Thi...

Page 344: ... the route flap dampening information of VPN instance vpn1 Sysname reset bgp vpn instance vpn1 dampening reset bgp vpn instance flap info Description Use the reset bgp vpn instance flap info command to clear the route flap history information about BGP peers of a VPN instance Syntax reset bgp vpn instance vpn instance name ip address flap info reset bgp vpn instance vpn instance name flap info ip ...

Page 345: ...ddress all Resets all BGP VPNv4 connections external Resets EBGP VPNv4 connections internal Resets IBGP VPNv4 connections group group name Resets the VPNv4 connections with a BGP peer group identified by this name Examples Reset all BGP VPNv4 connections to make new configurations take effect Sysname reset bgp vpnv4 all route distinguisher VPN instance view Description Use the route distinguisher ...

Page 346: ... two octets is the AS number of the local BGP For example if the local BGP AS number is 100 the default tag is 3 489 661 028 in decimal If the AS number is greater than 65 535 the default tag is 0 An OSPF instance related VPN instance on a PE is usually configured with a VPN route tag which must be included in Type 5 7 LSAs Configure the same route tag for PEs in the same AS The route tag is local...

Page 347: ...ew takes precedence over that configured in VPN instance view If you configure a limit in both IPv4 VPN view and VPN instance view the limit configured in IPv4 VPN view is applied to the IPv4 VPN Syntax routing table limit number warn threshold simply alert undo routing table limit View VPN instance view IPv4 VPN view Default level 2 System level Parameters number Specifies the maximum number of r...

Page 348: ...ult level 2 System level Parameters extended community list number Specifies the number of the extended community list supported by the RR group ranging from 1 to 199 Examples In BGP VPNv4 subaddress family view create an RR group and configure it to filter the incoming VPNv4 route update packets automatically based on the route target extended community attribute Sysname system view Sysname bgp 1...

Page 349: ...on ip address Specifies the destination IP address for the sham link cost Specifies the cost for the sham link It ranges from 1 to 65 535 and defaults to 1 dead interval Specifies the dead Interval in seconds It ranges from 1 to 32 768 and defaults to 40 It must be equal to the dead interval of the router on the other end of the virtual link and be at least four times the hello interval hello inte...

Page 350: ...sname ospf 1 area 0 Sysname ospf 1 area 0 0 0 0 sham link 1 1 1 1 2 2 2 2 tnl policy VPN instance view Description Use the tnl policy command to associate the current VPN instance with a tunneling policy Use the undo tnl policy command to remove the association If a VPN instance is not associated with a tunneling policy or the associated tunneling policy is not configured the VPN instance selects ...

Page 351: ...ew Sysname tunnel policy po1 Sysname tunnel policy po1 tunnel select seq Description Use the tunnel select seq command to configure the preference order for tunnel selection and the number of tunnels for load balancing Use the undo tunnel select seq command to restore the default By default only one tunnel is selected no load balancing in this order LSP tunnel CR LSP tunnel You can only use tunnel...

Page 352: ...a VPN instance You must configure VPN targets when creating a VPN instance VPN targets configured in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN VPN targets configured in IPv4 VPN view is applicable to only the IPv4 VPN VPN targets configured in IPv4 VPN view takes precedence over that configured in VPN instance view If you configure VPN targets in both IPv4 VPN view and ...

Page 353: ...both import targets and export targets The both keyword is also used when you do not specify any of both export extcommunity and import extcommunity export extcommunity Uses the specified VPN targets as export targets import extcommunity Uses the specified VPN targets as import targets all Removes all VPN targets Examples Configure VPN targets for VPN instance vpn1 Sysname system view Sysname ip v...

Page 354: ...iority Examples Devices A and B are connected to the outside AS In BGP VPNv6 subaddress family of Device B set the default local preference of device B to 180 so that when a destination in the outside AS can be reached through both A and B the BGP VPN IPv6 route going through B to the destination is preferred Sysname system view Sysname bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 de...

Page 355: ...ress verbose verbose begin exclude include regular expression View Any view Default level 1 Monitor Parameters ipv4 address Specifies a peer by its IPv4 address verbose Displays the detailed information Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the spec...

Page 356: ... 1 1 Local 2 2 2 2 Type IBGP link BGP version 4 remote router ID 1 1 1 1 BGP current state Established Up for 00h46m01s BGP current event RecvKeepalive BGP last state OpenConfirm Port Local 1039 Remote 179 Configured Active Hold Time 180 sec Keepalive Time 60 sec Received Active Hold Time 180 sec Negotiated Active Hold Time 180 sec Peer optional capabilities Peer support bgp multi protocol extende...

Page 357: ... hold interval Negotiated Negotiated active hold interval Peer optional capabilities Optional capabilities of the peer Peer support bgp multi protocol extended The peer supports multiprotocol extension Peer support bgp route refresh capability The peer supports route refreshing Address family IPv4 Unicast IPv4 unicast family capability Address family VPNv6 VPNv6 address family capability Received ...

Page 358: ...mation and the remote peer can send Route refresh messages with ORF information This field is displayed only when the ORF capability negotiation is successful Connect interface Indicates whether a source interface is configured for TCP connection establishment Peer Preferred Value Preference value configured for the routes from the peer BFD Whether BFD is enabled for the peer display bgp vpnv6 all...

Page 359: ...ssions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 charac...

Page 360: ...network Path Ogn AS_PATH attribute route origin of the route Display all BGP VPNv6 route statistics Sysname display bgp vpnv6 all routing table statistic Total number of routes from all PE 1 Total routes of vpn instance vpn1 2 Table 138 Command output Field Description Total number of routes from all PE Total number of VPNv6 routes from all PEs display bgp vpnv6 route distinguisher routing table D...

Page 361: ...he BGP VPNv6 routing information of RD 100 1 Sysname display bgp vpnv6 route distinguisher 100 1 routing table BGP Local router ID is 30 30 30 30 1 Status codes valid VPN best best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete i Network 30 30 PrefixLen 64 NextHop FFFF 101 102 LocPrf 100 PrefVal 0 Label 1025 MED 0 Path Ogn Table 139 Command output Field Descriptio...

Page 362: ...regular expression For more information about regular expressions see the Fundamentals Configuration Guide begin Displays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular exp...

Page 363: ...nfirm Port Local 179 Remote 1024 Configured Active Hold Time 180 sec Keepalive Time 60 sec Received Active Hold Time 180 sec Negotiated Active Hold Time 180 sec Keepalive Time 60 sec Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp route refresh capability Address family IPv6 Unicast advertised and received Received Total 4 messages Update messages 2 Sent Total ...

Page 364: ...upports route refreshing Address family IPv6 Unicast IPv6 unicast family capability 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 the VPN instance supports Threshold Threshold for warning When the percentage of the number of t...

Page 365: ...ion sent to or received from the specified BGP VPNv6 peer ipv6 address is the IPv6 address of the peer advertised routes Displays the routing information sent to the specified peer received routes Displays the routing information received from the specified peer Filters command output by specifying a regular expression For more information about regular expressions see the Fundamentals Configurati...

Page 366: ...rs the command displays all IPv6 FIB information of the VPN Syntax display ipv6 fib vpn instance vpn instance name acl6 acl6 number ipv6 prefix ipv6 prefix name begin exclude include regular expression View Any view Default level 1 Monitor level Parameters vpn instance name Specifies the VPN instance name which is a case sensitive string of 1 to 31 characters acl6 acl6 number Displays the IPv6 FIB...

Page 367: ...tatic Destination 1 PrefixLength 128 NextHop 1 Flag UH Label Null Token Invalid Interface InLoopBack0 Table 143 Command output Field Description Total number of Routes Total number of matched routes in the FIB Flag Flag of the route Possible values are U Usable route G Gateway route H Host route B Blackhole route D Dynamic route S Static route Label Label value added to a packet Token LSP index us...

Page 368: ...ays the first line that matches the specified regular expression and all lines that follow exclude Displays all lines that do not match the specified regular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression which is a case sensitive string of 1 to 256 characters Examples Display the IPv6 FIB information with the des...

Page 369: ...rovided by the extended community attributes is not enough An export routing policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv6 VPN An export routing policy specified in IPv6 VPN view is applicable to only the IPv6 VPN An export routing policy specified in IPv6 VPN view takes precedence over that specified in VPN instance view If you specify an export routing pol...

Page 370: ...d ospfv3 process id ripng process id static undo filter policy export direct isisv6 process id ospfv3 process id ripng process id static View BGP VPNv6 subaddress family view Default level 2 System level Parameters acl6 number Specifies the IPv6 ACL number ranging from 2000 to 3999 ipv6 prefix ipv6 prefix name Specifies an IPv6 address prefix list by its name which is a string of 1 to 19 character...

Page 371: ...n IPv6 address prefix list by its name which is a string of 1 to 19 characters Examples In BGP VPNv6 subaddress family view use ACL 2555 to filter received routes Sysname system view Sysname bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 filter policy 2255 import import route policy Description Use the import route policy command to apply an import routing policy to a VPN instance an I...

Page 372: ...ew Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 import route policy poly 1 Apply import routing policy poly 3 to the IPv6 VPN of VPN instance vpn3 Sysname system view Sysname ip vpn instance vpn3 Sysname vpn instance vpn3 ipv6 family Sysname vpn ipv6 vpn3 import route policy poly 3 ipv6 family BGP view Description Use the ipv6 family command in BGP view to enter BGP VPNv6 subaddress fami...

Page 373: ...ess family and enter IPv6 BGP VPN instance view Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 quit Sysname bgp 100 Sysname bgp ipv6 family vpn instance vpn1 Sysname bgp vpn1 ipv6 family VPN instance view Description Use the ipv6 family command in VPN instance view to enter IPv6 VPN view Use the undo ipv6 family command to remove all configurations performed in IPv6 VPN...

Page 374: ... family view Default level 2 System level Parameters group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 characters ip address Specifies the IP address of the peer Examples Configure peer 1 1 1 1 and enable the peer for the BGP L2VPN address family Sysname system view Sysname bgp 100 Sysname bgp peer 1 1 1 1 as number 100 Sysname bgp l2vpn family Sysname bgp...

Page 375: ...fies the name of the peer group which is a case sensitive string of 1 to 47 characters ip address Specifies the IP address of the peer acl number Specifies the IP ACL number ranging from 2000 to 3999 acl6 number Specifies the IPv6 ACL number ranging from 2000 to 3999 export Filters the routes to be advertised to the specified peer or peer group import Filters the routes received from the specified...

Page 376: ...name bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 peer 1 1 1 1 ipv6 prefix list1 import peer preferred value BGP VPNv6 subaddress family view Description Use the peer preferred value command to specify the preference value for the routes received from the specified peer or peer group Use the undo peer preferred value command to restore the default By default the preference value for ...

Page 377: ...BGP updates carry private AS numbers By default a BGP update carries private AS numbers If a BGP update to be sent carries any public AS number this command does not take effect The private AS number ranges from 64 512 to 65 535 Syntax In BGP VPNv4 subaddress family view peer group name ip address public as only undo peer group name ip address public as only In BGP VPNv6 subaddress family view pee...

Page 378: ...dress family view BGP L2VPN address family view VPLS address family view peer group name ip address reflect client undo peer group name ip address reflect client In BGP VPNv6 subaddress family view peer ip address reflect client undo peer ip address reflect client View BGP L2VPN address family view VPLS address family view BGP VPNv6 subaddress family view Default level 2 System level Parameters gr...

Page 379: ...e policy name export import In BGP VPNv6 subaddress family view peer ip address route policy route policy name export import undo peer ip address route policy route policy name export import View BGP VPNv6 subaddress family view Default level 2 System level Parameters group name Specifies the name of the peer group which is a case sensitive string of 1 to 47 characters ip address Specifies the IP ...

Page 380: ... 2 System level Parameters None Examples In BGP L2VPN address family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname bgp l2vpn family Sysname bgp af l2vpn policy vpn target In VPLS address family view enable VPN target filtering for received VPNv4 routes Sysname system view Sysname bgp 100 Sysname bgp vpls family Sysname bgp af vpls policy vpn...

Page 381: ...ysname bgp vpls family Sysname bgp af vpls undo reflect between clients In BGP VPNv6 subaddress family view disable route reflection between clients Sysname system view Sysname bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 undo reflect between clients reflector cluster id Description Use the reflector cluster id command to specify a cluster ID for an RR Use the undo reflector cluster ...

Page 382: ...bgp af vpls reflector cluster id 50 In BGP VPNv6 subaddress family view set the RR s cluster ID to 50 Sysname system view Sysname bgp 100 Sysname bgp ipv6 family vpnv6 Sysname bgp af vpnv6 reflector cluster id 50 refresh bgp ipv6 vpn instance Description Use the refresh bgp ipv6 vpn instance command to soft reset IPv6 BGP connections in a VPN instance Syntax refresh bgp ipv6 vpn instance vpn insta...

Page 383: ...address Soft resets of the BGP VPNv6 connection with the BGP peer identified by this IP address all Soft resets all BGP VPNv6 connections external Soft resets EBGP sessions internal Soft resets IBGP sessions export Performs a soft reset in the outbound direction import Performs a soft reset in the inbound direction Examples Soft reset all BGP VPNv6 connections in the inbound direction to make new ...

Page 384: ... as number ip address all external internal View User view Default level 1 Monitor level Parameters as number Resets BGP VPNv6 connections with the peers in the AS identified by this number as number ranges from 1 to 4 294 967 295 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 in...

Page 385: ...um supported no more routes are added simply alert Specifies that when the number of routes exceeds the maximum number of routes supported the system still accepts routes but generates a Syslog message Examples Configure VPN instance vpn1 to support up to 1000 routes and receive new routes after the number of existing routes exceeds the limit Sysname system view Sysname ip vpn instance vpn1 Sysnam...

Page 386: ...emove the association If a VPN instance is not associated with any tunneling policy or the associated tunneling policy is not configured the VPN instance selects tunnels according to the default tunneling policy The default tunneling policy selects only one tunnel in this order LSP tunnel CR LSP tunnel A tunneling policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv...

Page 387: ...on Use the vpn target command to configure VPN targets for a VPN instance an IPv4 VPN or an IPv6 VPN Use the undo vpn target command to remove the specified or all VPN targets of a VPN instance an IPv4 VPN or an IPv6 VPN By default no VPN targets are configured and you must configure VPN targets when creating a VPN instance an IPv4 VPN or an IPv6 VPN VPN targets configured in VPN instance view is ...

Page 388: ... and export targets The both keyword is also used when you do not specify any of both export extcommunity and import extcommunity export extcommunity Uses the specified VPN targets as export targets import extcommunity Uses the specified VPN targets as import targets all Removes all VPN targets Examples Configure VPN targets for VPN instance vpn1 Sysname system view Sysname ip vpn instance vpn1 Sy...

Page 389: ... wwalerts After registering you will receive email notification of product enhancements new driver versions firmware updates and other product resources Related information Documents To find related documents browse to the Manuals page of the HP Business Support Center website http www hp com support manuals For related documentation navigate to the Networking section and select a networking categ...

Page 390: ...one choice multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be entered 1 to n times A line that starts with a pound sign is comments GUI conventions Convention Description Boldface Window names button names field names and menu items are in bold text For example the New User window appears click OK Multi level menus are separated by angle ...

Page 391: ... 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 Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device ...

Page 392: ...er 346 display bgp vpnv6 all routing table 31 display bgp vpnv6 all routing table 349 display bgp vpnv6 route distinguisher routing table 33 display bgp vpnv6 route distinguisher routing table 351 display bgp vpnv6 vpn instance peer 34 display bgp vpnv6 vpn instance peer 353 display bgp vpnv6 vpn instance routing table 37 display bgp vpnv6 vpn instance routing table 355 display ccc 241 display exp...

Page 393: ...el path 148 display mpls te tunnel statistics 149 display mpls te tunnel interface 150 display ospf mpls te 152 display ospf sham link 301 display ospf traffic adjustment 154 display pw class 209 display pw class 257 display tunnel info 155 display tunnel policy 303 display vpls connection 210 display vsi 212 display vsi remote 216 domain id 17 domain id 304 dual npe revertive 217 du readvertise 8...

Page 394: ...pls rsvp te blockade multiplier 161 mpls rsvp te graceful restart 162 mpls rsvp te hello 163 mpls rsvp te hello lost 164 mpls rsvp te keep multiplier 164 mpls rsvp te reliability 165 mpls rsvp te resvconfirm 166 mpls rsvp te srefresh 166 mpls rsvp te timer graceful restart recovery 167 mpls rsvp te timer graceful restart restart 167 mpls rsvp te timer hello 168 mpls rsvp te timer refresh 168 mpls ...

Page 395: ...VPNv4 subaddress family view 320 peer next hop local 321 peer preferred value BGP VPNv4 subaddress family view 322 peer preferred value BGP VPNv6 subaddress family view 367 peer public as only BGP VPN6 subaddress family view 368 peer public as only BGP VPNv4 subaddress family view 322 peer reflect client 323 peer reflect client 369 peer route policy BGP VPNv4 subaddress family view 324 peer route ...

Page 396: ...it 28 routing table limit 375 routing table limit 338 rr filter 376 rr filter 339 S service instance 226 sham link 340 shutdown VSI view 227 site 227 static cr lsp egress 195 static cr lsp ingress 195 static cr lsp transit 196 static lsp egress 108 static lsp ingress 109 static lsp transit 1 10 statistics interval 1 10 T tnl policy 228 tnl policy VPN instance view 341 tnl policy VPN instance view ...

Reviews: