background image

H3C SR8800 10G Core Routers

Layer 2—WAN

Command Reference

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
Hangzhou H3C Technologies Co., Ltd.  
http://www.h3c.com 
 
Software version: SR8800-CMW520-R3347 
Document version: 6W103-20120224

 

Summary of Contents for SR8800 IM-FW-II

Page 1: ...H3C SR8800 10G Core Routers Layer 2 WAN Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version SR8800 CMW520 R3347 Document version 6W103 20120224...

Page 2: ...ware Secware Storware NQA VVG V2 G Vn G PSPT XGbus N Bus TiGem InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are th...

Page 3: ...mand conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown Italic Italic text represents arguments that you replace with actual value...

Page 4: ...rmation Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your router About the H3C SR8800 documentation set The H3C SR8800 documentati...

Page 5: ...ation and software upgrading Obtaining documentation You can access the most up to date H3C product documentation on the World Wide Web at http www h3c com Click the links on the top navigation bar to...

Page 6: ...tm interface 20 scramble 21 service cbr 22 service ubr 23 service vbr nrt 23 service vbr rt 24 shutdown 25 threshold 26 PPP and MP configuration commands 28 PPP configuration commands 28 ip address pp...

Page 7: ...isplay interface hdlc bundle 57 interface hdlc bundle 60 mtu 61 reset counters interface 61 shutdown 62 Frame relay configuration commands 63 Basic frame relay configuration commands 63 display fr ina...

Page 8: ...gment 90 mfr fragment size 91 mfr link name 91 mfr retry 92 mfr timer ack 93 mfr timer hello 93 reset counters interface 94 Modem management configuration commands 95 modem 95 modem auto answer 95 mod...

Page 9: ...n the subinterface are up Otherwise the protocol state of the subinterface is down Use the undo atm link check command to restore the default By default the protocol of the ATM P2P subinterface goes u...

Page 10: ...in interface view Related commands display atm interface Examples Specify interface ATM 3 1 1 to operate in master clock mode Sysname system view Sysname interface Atm 3 1 1 Sysname Atm3 1 1 clock mas...

Page 11: ...ace Information PVCs 1 MAPs 0 input pkts 0 input bytes 0 input pkt errors 0 output pkts 0 output bytes 0 output pkt errors 0 Table 1 Output description Field Description ATM interface Atm3 1 1 State U...

Page 12: ...not use them in normal cases Filters command output by specifying a regular expression For more information about regular expressions see Fundamentals Configuration Guide begin Displays the first line...

Page 13: ...ual channel identifier its value ranges from 0 to 1023 As VCIs from 0 to 31 are reserved for special purposes do not use them in normal cases Filters command output by specifying a regular expression...

Page 14: ...3 5 OAM ais rdi count up down 3 1 input pkts 0 input bytes 0 input pkt errors 0 output pkts 0 output bytes 0 output pkt errors 0 Interface State UP OAM State UP PVC State UP OAM cells received 42 F5...

Page 15: ...s the OAM AIS State field F5 InRDI Count of received RDI cells If the RDI alarm state is not supported this command displays only the count of RDI cells not the RDI alarm state that is the OAM RDI Sta...

Page 16: ...e the display interface atm command to display the configuration and state information of the specified ATM interface or all ATM interfaces if no interface is specified Examples Display the configurat...

Page 17: ...ec at 2010 12 27 06 15 45 Table 5 Output description Field Description Atm4 1 2 current state Physical state of the interface Line protocol current state Link layer state of the interface AAL enabled...

Page 18: ...output Peak value of packets transmitted on the interface eoapad enable Syntax eoapad enable undo eoapad enable View ATM main interface view Default level 2 System level Parameters None Description Us...

Page 19: ...vel If the sdh keyword is configured the flag value argument is a string of 1 to 15 hexadecimal digits If the sonet keyword is configured the argument is a string of 1 to 62 characters sdh Sets framin...

Page 20: ...to set the framing format for an ATM interface Use the undo frame format command to restore the default By default the framing format of an ATM interface is SDH STM 1 STM 4 Examples Set the framing fo...

Page 21: ...sname Atm3 1 1 Create and enter the view of subinterface ATM 3 1 1 1 and set its connection type to P2P Sysname system view Sysname interface Atm 3 1 1 1 p2p Sysname Atm3 1 1 1 loopback Syntax loopbac...

Page 22: ...default no PVC mapping is configured When using this command make sure that the VE or VE bridge interface has been created Examples The following examples demonstrate a complete process of IPoEoA con...

Page 23: ...configure the broadcast keyword on an ATM PVC where broadcast or multicast packets must be sent for example to allow PIM multicast to create neighbor relationship with the router connected using the...

Page 24: ...e MTU to 1492 bytes for interface ATM 3 1 1 Sysname system view Sysname interface Atm 3 1 1 Sysname Atm3 1 1 mtu 1492 oam cc end to end Syntax oam cc end to end both sink source undo oam cc end to end...

Page 25: ...quency View PVC view Default level 2 System level Parameters frequency Interval in seconds for sending OAM F5 Loopback cells in the range of 0 to 600 When the interval is set to 0 no OAM F5 loopback c...

Page 26: ...o 16 characters on ATM interface The name cannot be the same as any valid VPI VCI pair For example the name 1 20 is not allowed vpi vci VPI VCI pair VPI is short for virtual path identifier its value...

Page 27: ...23 As VCIs from 0 to 31 are reserved for special purposes do not use them in normal cases NOTE You can set vpi or vci to 0 but not both Description Use the pvc command to create a PVC and enter the PV...

Page 28: ...ecified in this command is the total number of the PVCs that can be created on an ATM main interface and its subinterfaces NOTE The command is available only in ATM main interface view Examples Specif...

Page 29: ...re cleared Examples Clear the statistics about all the PVCs created on ATM subinterface ATM 3 1 1 1 Sysname reset atm interface Atm 3 1 1 1 scramble Syntax scramble undo scramble View ATM main interfa...

Page 30: ...0 to 10 000 The default is 500 s Description Use the service cbr command to specify the service type on the current PVC as constant bit rate CBR Use the undo service command to restore the default The...

Page 31: ...can configure the service type and related rate parameters for a PVC with this command the service vbr nrt command the service vbr rt command or the service cbr command The new configuration will rep...

Page 32: ...ce vbr rt command or the service cbr command The new configuration will overwrites the old configuration Setting of the arguments output scr and output mbs does not take effect on the router Related c...

Page 33: ...not take effect on the router Related commands service vbr nrt service ubr and service cbr Examples Create a PVC named aa with the VPI VCI of 1 101 Sysname system view Sysname interface Atm 3 1 1 Sysn...

Page 34: ...teger in the range of 3 to 9 Description Use the threshold command to set the SD alarm threshold or SF alarm threshold for the current ATM interface Use the undo threshold command to restore the defau...

Page 35: ...27 Sysname interface Atm 3 1 1 Sysname Atm3 1 1 threshold sd 4...

Page 36: ...rface can accept the IP address allocated by the peer end Use the undo ip address ppp negotiate command to disable IP address negotiation By default IP address negotiation is disabled Related commands...

Page 37: ...P domain view are for PPP users that need authentication in the specified ISP domain These IP address pools apply to the interfaces that connect to a larger number of PPP users than those the interfac...

Page 38: ...ation If you configure the ppp authentication mode command without specifying the domain name the system checks the username for domain information If the username contains a domain name the domain wi...

Page 39: ...password in cipher text simple Specifies to display the password in plain text password Default password for CHAP authentication a string of 1 to 48 characters When the simple keyword is used this pas...

Page 40: ...AP authentication the username password of one side must be the local username password of the peer Related commands ppp authentication mode Examples Configure the username for CHAP authentication as...

Page 41: ...ress forced ppp pap local user Syntax ppp pap local user username password cipher simple password undo ppp pap local user View Synchronous serial interface view Default level 2 System level Parameters...

Page 42: ...negotiate View Synchronous serial interface view Default level 2 System level Parameters seconds Negotiation timeout time to be set which ranges from 1 to 10 in seconds In PPP negotiation if the local...

Page 43: ...s assigned by the local router mandatory configure the ppp ipcp remote address forced command After you use the remote address command to assign an IP address for the peer router you cannot configure...

Page 44: ...nnect on a slow link you should consider setting the keepalive interval to a large value on such a link On a PPP link make sure the two ends are using the same keepalive setting Examples Set the inter...

Page 45: ...fault level 2 System level Parameters text Interface description a case sensitive character string of 1 to 80 characters Description Use the description command to set the description for the VT or MP...

Page 46: ...about an existing MP group interface If you do not specify the mp group keyword this command displays information about interfaces on the device If you specify the mp group keyword without the mp numb...

Page 47: ...is 5 1 0 1 24 Primary Primary IP address of the interface LCP opened MP opened IPCP opened PPP negotiation includes the negotiation of multiple protocols The field indicates that the negotiation of LC...

Page 48: ...of the interface use the undo shutdown command display ppp mp Syntax display ppp mp interface mp group mp number begin exclude include regular expression View Any view Default level 1 Monitor level P...

Page 49: ...tilink 2 members Two channels are bundled Master link is MP group4 1 28 The master channel is MP group 4 1 28 Peer s endPoint descriptor Description string of the peer Sequence format short long rcv s...

Page 50: ...create an MP group interface or enter MP group interface view If the specified MP group interface already exists this command allows you to enter MP group interface view directly Use the undo interfa...

Page 51: ...the endpoint option for LCP negotiation when the current interface is in an MP group interface Use the undo ppp mp endpoint command to restore the default endpoint option for LCP negotiation when the...

Page 52: ...invalid on the interface After configuring the ppp mp fragment enable command you must use the shutdown and then undo shutdown commands to re enable all the bundled physical interfaces for the new se...

Page 53: ...face view Default level 2 System level Parameters size Minimum MP packet size for fragmentation to be set which ranges from 128 to 1500 in bytes MP outgoing packets smaller than this value will not be...

Page 54: ...ich the two commands are executed can be either one That is you can create an MP group interface and then add an interface to the MP group or add the interface to the MP group and then create the MP g...

Page 55: ...th short sequence numbers configure the remote end to receive packets with short sequence numbers NOTE The sequence number format long or short of an MP bundle depends on the configuration of the firs...

Page 56: ...word without the interface number argument this command clears statistics on all MP group interfaces Examples Clear the statistics on interface MP group 3 1 2 Sysname reset counters interface Mp group...

Page 57: ...of an interface is PPP Related commands timer hold Examples Specify HDLC as the link layer protocol of POS 7 1 2 Sysname system view Sysname interface Pos 7 1 2 Sysname Pos7 1 2 link protocol hdlc ti...

Page 58: ...s of a link must use the same link status polling interval Setting the link status polling interval to zero disables link status check Examples Set the link status polling interval to 100 seconds on P...

Page 59: ...ou cannot configure any of these features on the interface You can assign only physical POS interfaces to HDLC link bundles An interface can be the member of only one HDLC link bundle To move an inter...

Page 60: ...s If one end is selected but the other end is unselected communication failure will occur Related commands bundle min active links and bundle member priority Examples Limit the number of selected memb...

Page 61: ...to set the minimum amount of bandwidth required to bring up the HDLC link bundle Use the undo bundle min active bandwidth command to remove the limit By default no limit is set on the minimum amount o...

Page 62: ...w Default level 2 System level Parameters None Description Use the default command to restore the default settings for an HDLC bundle interface This command might fail to restore the default settings...

Page 63: ...nterface Hdlc bundle 1 Sysname Hdlc bundle1 description hdlc bundle interface display bundle member hdlc bundle Syntax display bundle member hdlc bundle bundle id slot slot number begin exclude includ...

Page 64: ...on the standby main control board or the specified interface board If you specify both slot number and bundle id this command displays information for the specified HDLC link bundle interface on the...

Page 65: ...required to bring up the HDLC link bundle This field will not be displayed if you have not set the minimum amount of bandwidth required to bring up the HDLC link bundle Selected members Current numbe...

Page 66: ...bundle keyword this command displays information about all interfaces If you specify the hdlc bundle keyword without any HDLC link bundle interface number this command displays information about all H...

Page 67: ...Link layer protocol used by the HDLC link bundle interface Physical is HDLC BUNDLE The physical type of the HDLC link bundle interface is HDLC bundle baudrate Baudrate of the HDLC link bundle interfa...

Page 68: ...the port has been shut down with the shutdown command this field displays Administratively To restore the physical state of the interface use the undo shutdown command interface hdlc bundle Syntax in...

Page 69: ...sname system view Sysname interface Hdlc bundle 1 Sysname Hdlc bundle1 mtu 1430 reset counters interface Syntax reset counters interface hdlc bundle bundle id View User view Default level 2 System lev...

Page 70: ...nd to shut down an HDLC link bundle interface Use the undo shutdown command to bring up an HDLC link bundle interface By default an HDLC link bundle interface is up Enabling disabling an HDLC link bun...

Page 71: ...egular expression include Displays all lines that match the specified regular expression regular expression Specifies a regular expression a case sensitive string of 1 to 256 characters Description Us...

Page 72: ...on 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 Dis...

Page 73: ...xclude 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 a...

Page 74: ...s 0 Number of the Status Enquiry messages received through the interface and that of the Status messages sent out through the interface status enquiry timeout 0 discarded messages 0 Number of the Stat...

Page 75: ...ncapsulation ietf vlink 15 Table 14 Output description Field Description Map Statistics for interface Serial4 1 8 10 DTE Display frame relay address mappings The interface operates in DTE mode DLCI 10...

Page 76: ...ion Use the display fr pvc info command to display state information on FR PVCs and statistics about data transmitted and received on them If the command is performed with no interface or DLCI specifi...

Page 77: ...l UP Display information about PVCs on frame relay interface MFR 3 1 1 The interface operates in DTE mode The physical state of the interface is up DLCI 1001 USAGE LOCAL 0010 MFR3 1 1 DLCI 1001 was as...

Page 78: ...mples Display frame relay statistics about received and transmitted packets Sysname display fr statistics Frame relay packet statistics for interface Serial4 1 8 10 DTE in packets 84 in bytes 1333 out...

Page 79: ...ce is unique Examples Assign a virtual circuit with DLCI 100 to frame relay interface Serial 4 1 8 10 Sysname system view Sysname interface Serial 4 1 8 10 Sysname Serial4 1 8 10 fr dlci 100 Sysname f...

Page 80: ...0 Sysname system view Sysname interface Serial 4 1 8 10 Sysname Serial4 1 8 10 fr inarp fr interface type Syntax fr interface type dce dte undo fr interface type View Interface view Default level 2 Sy...

Page 81: ...into the following types link integrity verification messages and full link status enquiry messages N391 defines that the ratio of sent link integrity verification messages to sent full link status en...

Page 82: ...ble N392 should be less than N393 at the DCE side Examples Set frame relay interface Serial 4 1 8 10 to operate in DCE mode and set N392 to 5 and N393 to 6 Sysname system view Sysname interface Serial...

Page 83: ...fr lmi n393dce n393 value undo fr lmi n393dce View Interface view Default level 2 System level Parameters n393 value The value of N392 parameter at the DTE side It ranges from 1 to 10 Description Use...

Page 84: ...ing this message the DCE will immediately send a Status message If the DTE does not receive the Status message in the specified time it will record the error by adding 1 to the error count If the erro...

Page 85: ...DCE waiting for a Status Enquiry message T392 at the DCE side should be greater than T391 at the DTE side which is configured by using the timer hold command Examples Set the frame relay interface Se...

Page 86: ...ndard undo fr map ip ip address dlci number View Interface view Default level 2 System level Parameters ip address Peer IP address dlci number Local virtual circuit number in the range 16 to 1007 broa...

Page 87: ...interface serial command to create a subinterface and enter the subinterface view Use the undo interface serial command to delete a subinterface By default no frame relay subinterface exists Frame re...

Page 88: ...ackets of both formats you need to encapsulate the two interfaces using the same frame relay format CAUTION Before switching the link layer protocol of an interface from PPP HDLC to FR or the other wa...

Page 89: ...a PVC Examples Clear PVC statistics on Serial 4 1 8 10 Sysname reset fr pvc interface Serial 4 1 8 10 timer hold Syntax timer hold seconds undo timer hold View Interface view Default level 2 System le...

Page 90: ...terface information If you do not specify this keyword this command displays detailed interface information down Displays information about interfaces in the DOWN state and the causes If you do not sp...

Page 91: ...ec 0 packets sec 2263 packets input 26840 bytes 0 drops 113305 packets output 12908653 bytes 0 drops Display brief information about interface MFR 3 1 1 Sysname display interface MFR 3 1 1 brief The b...

Page 92: ...s Time when the interface statistics were last cleared The output Never indicates that the interface statistics have never been cleared Last 300 seconds input rate Input rate of the interface within t...

Page 93: ...interface type interface number Specifies an interface by its type and number The specified interface must be a main interface verbose Displays detailed statistics including the number of controlling...

Page 94: ...packets received on the bundle interface number of unfragmented packets before being sent by the bundle interface droped fragment in out Number of incoming and outgoing packets dropped on the bundle i...

Page 95: ...he packets on the bundle link Hello TX RX Number of the transmitted and received Hello messages Hello messages are sent for maintaining link state Hello_ack TX RX Number of transmitted and received He...

Page 96: ...ment statistics Fragment statistics on the bundle link Mfr fragment in out The number of fragments sent received by the bundle link interface mfr Syntax interface mfr interface number interface number...

Page 97: ...l fr mfr interface number View Interface view Default level 2 System level Parameters interface number MFR interface number Description Use the link protocol fr mfr command to configure the current ph...

Page 98: ...r for example MFR6 1 12 You cannot configure a BID as a string in the form of MFR number Each MFR bundle has a BID and the peer router can identify an MFR bundle by BID Different BIDs can be used at t...

Page 99: ...12 Description Use the mfr fragment size command to configure the maximum fragment size allowed on a frame relay bundle link Use the undo mfr fragment size command to restore the default By default th...

Page 100: ...erface view Default level 2 System level Parameters number The maximum times that a bundle link can resend hello messages in the range 1 to 5 Description Use the mfr retry command to set the maximum t...

Page 101: ...ink status by periodically sending hello message to the peer end If the times that a bundle link resends hello message reach the maximum without receiving acknowledgement from the peer the system will...

Page 102: ...e Syntax reset counters interface mfr interface number interface number subnumber View User view Default level 2 System level Parameters interface number MFR interface number interface number subnumbe...

Page 103: ...e modem command to enable modem call in modem call out or both on the user interface Use the undo modem command to disable modem call in modem call out or both By default both modem call in and modem...

Page 104: ...sue answer instructions on the arrival of incoming calls NOTE This command applies to only AUX ports If the answer mode configured is not consistent with the actual answer mode of the modem the modem...

Page 105: ...scription Use the service modem callback command to enable the callback function Use the undo service modem callback command to disable the callback function By default the callback function is disabl...

Page 106: ...erface hdlc bundle 57 display interface mfr 82 display interface mp group 37 display mfr 85 display ppp mp 40 E eoapad enable 10 F flag 1 1 fr dlci 70 fr inarp 71 fr interface type 72 fr lmi n391dte 7...

Page 107: ...min fragment 45 ppp mp mp group 46 ppp mp short sequence 47 ppp pap local user 33 ppp timer negotiate 34 pvc 19 pvc max number 20 R remote address 34 reset atm interface 20 reset counters interface 61...

Reviews: