H3C MSR 20-20 Command Reference Manual

H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

H3C MSR 20/30/50 Series Routers
Command Reference Manual
(v1.00)
MSR 20 Series Routers
MSR 30 Series Routers
MSR 50 Series Routers
www.3Com.com
Part Number: 10016323 Rev. AA
August 2007

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSR 20-20 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C MSR 20-20

  • Page 1 H3C MSR 20/30/50 Series Routers Command Reference Manual (v1.00) MSR 20 Series Routers MSR 30 Series Routers MSR 50 Series Routers www.3Com.com Part Number: 10016323 Rev. AA August 2007...
  • Page 2 LICENSE.TXT or !LICENSE.TXT. If you are unable to locate a copy, please contact 3Com and a copy will be provided to you.
  • Page 3: Table Of Contents

    ONTENTS BOUT UIDE Conventions Related Documentation LPHABETICAL ISTING OF OMMANDS DSL I UBLIC NTERFACE OMMANDS display interface atm interface atm reset atm interface IMA-E1/T1 I NTERFACE ONFIGURATION OMMANDS cable clock code differential-delay display interface ima-group frame-format frame-length ima ima-group ima-clock...
  • Page 4 POS I NTERFACE ONFIGURATION OMMANDS clock display interface pos display ip interface pos display ipv6 interface pos flag frame-format link-protocol loopback scramble threshold ENERAL THERNET NTERFACE...
  • Page 5 ONFIGURATION OMMANDS FOR THERNET NTERFACES IN OUTE timer hold UNDAMENTAL ERIAL NTERFACE ONFIGURATION OMMANDS async mode baudrate clock (serial interface view) code nrzi country-code detect eliminate-pulse idle-mark invert receive-clock invert transmit-clock loopback mtu (on serial interfaces) physical-mode phy-mru reverse-rts timer hold...
  • Page 6 (CE1/PRI interface view) idlecode (CE1/PRI interface view) itf (CE1/PRI interface view) loopback (CE1/PRI interface view) pri-set (CE1/PRI interface view) reset counters controller e1 using (CE1/PRI interface view)
  • Page 7 T1-F I NTERFACE ONFIGURATION OMMANDS display ft1 ft1 bert (T1-F interface view) ft1 cable ft1 clock ft1 code ft1 data-coding ft1 fdl ft1 frame-format ft1 idlecode ft1 itf ft1 loopback ft1 timeslot-list ft1 alarm-threshold ft1 sendloopcode CE3 I UNDAMENTAL NTERFACE...
  • Page 8 (CT3 interface view) ISDN BRI I NTERFACE ONFIGURATION OMMANDS loopback (ISDN BRI interface view) ATM C ONFIGURATION OMMANDS atm class atm-class atm-link check clock display atm class display atm interface...
  • Page 9 (physical interface view) dialer number dialer priority dialer queue-length dialer route dialer threshold dialer timer autodial dialer timer compete dialer timer enable dialer timer idle dialer timer wait-carrier dialer user...
  • Page 10 frf9...
  • Page 11 retry...
  • Page 12 window-size...
  • Page 13 GGREGATION ONFIGURATION OMMANDS display lacp system-id display link-aggregation interface display link-aggregation summary display link-aggregation verbose lacp port-priority lacp system-priority link-aggregation group description link-aggregation group mode port link-aggregation group...
  • Page 14 PPP L FFICIENCY ECHANISM ONFIGURATION OMMANDS display ppp compression iphc rtp display ppp compression iphc tcp display ppp compression stac-lzs ip tcp vjcompress ppp compression iphc ppp compression iphc rtp-connections ppp compression iphc tcp-connections ppp compression stac-lzs...
  • Page 15 ISDN C ONFIGURATION OMMANDS dialer isdn-leased (ISDN BRI interface view) display isdn active-channel display isdn call-info display isdn call-record display isdn parameters display isdn spid isdn bch-local-manage isdn bch-select-way...
  • Page 16 MSTP C ONFIGURATION OMMANDS active region-configuration check region-configuration display stp...
  • Page 17 VLAN C ASED ONFIGURATION OMMANDS port port access vlan port hybrid pvid vlan port hybrid vlan port link-type port trunk permit vlan port trunk pvid vlan VLAN C OICE ONFIGURATION OMMANDS display voice vlan oui...
  • Page 18 CPOS I NTERFACE ONFIGURATION OMMANDS clock controller cpos display controller cpos display controller cpos e1 display controller cpos t1 e1 channel-set e1 set clock e1 set frame-format e1 set loopback e1 shutdown e1 unframed flag frame-format...
  • Page 19 forbidden-ip...
  • Page 20 DHCP C...
  • Page 21 DNS C ONFIGURATION OMMANDS display dns domain display dns dynamic-host display dns proxy table display dns server display ip host dns domain dns proxy enable dns resolve dns server ip host reset dns dynamic-host IP A CCOUNTING...
  • Page 22 IP U NICAST OLICY OUTING ONFIGURATION OMMANDS apply default output-interface apply ip-address default next-hop apply ip-address next-hop apply ip-precedence apply output-interface display ip policy-based-route display ip policy-based-route setup display ip policy-based-route statistics display policy-based-route if-match acl...
  • Page 23 link-local...
  • Page 24 TACK ONFIGURATION OMMANDS ipv6 ipv6 address ipv6 address auto link-local ipv6 address eui-64 ipv6 address link-local UNNELING ONFIGURATION OMMANDS destination display interface tunnel display ipv6 interface tunnel encapsulation-limit...
  • Page 25 IP R OUTING ABLE OMMANDS bandwidth-based-sharing display ip routing-table display ip routing-table acl display ip routing-table ip-address display ip routing-table ip-prefix display ip routing-table protocol...
  • Page 26 relay-route...
  • Page 27 (BGP/BGP-VPN instance view) filter-policy import (BGP/BGP-VPN instance view) graceful-restart (BGP view) graceful-restart timer restart graceful-restart timer wait-for-rib group (BGP/BGP-VPN instance view) import-route (BGP/BGP-VPN instance view) log-peer-change network (BGP/BGP-VPN instance view) peer advertise-community (BGP/BGP-VPN instance view) peer advertise-ext-community (BGP/BGP-VPN instance view)
  • Page 28 (IS-IS view) 1056 flash-flood 1057 graceful-restart (IS-IS view) 1058 graceful-restart interval (IS-IS view) 1058 graceful-restart suppress-sa 1059 import-route (IS-IS view) 1059 import-route isis level-2 into level-1 1061 isis 1062 isis authentication-mode 1062 isis circuit-level 1063 isis circuit-type 1064 isis cost 1065...
  • Page 29 1075 is-snmp-traps enable 1075 log-peer-change (IS-IS view) 1076 lsp-fragments-extend 1076 lsp-length originate 1077 lsp-length receive 1078 maximum load-balancing (IS-IS view) 1078 network-entity 1079 preference (IS-IS view) 1079 reset isis all 1080 reset isis peer 1081 set-overload 1081 spf-slice-size...
  • Page 30 1118 display ospf interface 1120 display ospf lsdb 1121 display ospf nexthop 1123 display ospf peer 1124 display ospf peer statistics 1125 display ospf request-queue 1126 display ospf retrans-queue 1127 display ospf routing 1128 display ospf vlink 1129...
  • Page 31 1157 stub (OSPF area view) 1157 stub-router 1158 vlink-peer (OSPF area view) 1159 RIP C ONFIGURATION OMMANDS checkzero 1161 default cost (RIP view) 1161 default-route originate 1162 display rip 1162 display rip database 1164 display rip interface 1165 display rip route...
  • Page 32 1217 ip route-static 1217 ip route-static default-preference 1220 6 BGP C ONFIGURATION OMMANDS balance (IPv6 address family view) 1221 bestroute as-path-neglect (IPv6 address family view) 1221 bestroute compare-med (IPv6 address family view) 1222 bestroute med-confederation (IPv6 address family view) 1222...
  • Page 33 (IPv6 address family view) 1223 dampening (IPv6 address family view) 1224 default local-preference(IPv6 address family view) 1225 default med (IPv6 address family view) 1225 default-route imported (IPv6 address family view) 1226 display bgp ipv6 group 1226 display bgp ipv6 network...
  • Page 34 (IPv6 address family view) 1258 peer route-update-interval (IPv6 address family view) 1258 peer substitute-as (IPv6 address family view) 1259 peer timer (IPv6 address family view) 1260 preference (IPv6 address family view) 1260 reflect between-clients (IPv6 address family view)
  • Page 35 1306 stub(OSPFv3 area view) 1307 vlink-peer(OSPFv3 area view) 1307 6 RIP ONFIGURATION OMMANDS checkzero 1309 default cost (RIPng view) 1309 display ripng 1310 display ripng database 1311 display ripng interface 1312 display ripng route 1313 filter-policy export 1314...
  • Page 36 (IGMP view) 1358 require-router-alert (IGMP view) 1358 reset igmp group 1359 robust-count (IGMP view) 1360 send-router-alert (IGMP view) 1361 timer other-querier-present (IGMP view) 1361 timer query (IGMP view) 1362 version (IGMP view) 1363 MSDP C ONFIGURATION OMMANDS cache-sa-enable 1365...
  • Page 37 (PIM view) 1383 c-bsr (PIM view) 1384 c-bsr admin-scope 1385 c-bsr global 1385 c-bsr group 1386 c-bsr hash-length (PIM view) 1387 c-bsr holdtime (PIM view) 1387 c-bsr interval (PIM view) 1388 c-bsr priority (PIM view) 1388 c-rp (PIM view) 1389...
  • Page 38 1419 probe-interval (PIM view) 1419 register-policy (PIM view) 1420 register-suppression-timeout (PIM view) 1420 register-whole-checksum (PIM view) 1421 reset pim control-message counters 1422 source-lifetime (PIM view) 1422 source-policy (PIM view) 1423 spt-switch-threshold (PIM view) 1423 ssm-policy (PIM view) 1425...
  • Page 39 1460 6 PIM C ONFIGURATION OMMANDS bsr-policy (IPv6 PIM view) 1461 c-bsr (IPv6 PIM view) 1461 c-bsr hash-length (IPv6 PIM view) 1462 c-bsr holdtime (IPv6 PIM view) 1463 c-bsr interval (IPv6 PIM view) 1463 c-bsr priority (IPv6 PIM view) 1464...
  • Page 40 (IPv6 PIM view) 1479 hello-option lan-delay (IPv6 PIM view) 1480 hello-option neighbor-tracking (IPv6 PIM view) 1480 hello-option override-interval (IPv6 PIM view) 1481 holdtime assert (IPv6 PIM view) 1481 holdtime join-prune (IPv6 PIM view) 1482 jp-pkt-size (IPv6 PIM view)
  • Page 41 MPLS B ASICS ONFIGURATION OMMANDS display mpls fast-forwarding cache 1513 display mpls ilm 1514 display mpls interface 1515 display mpls label 1516 display mpls ldp 1517 display mpls ldp cr-lsp 1518 display mpls ldp interface 1519 display mpls ldp Isp...
  • Page 42 1581 display mpls rsvp-te sender 1583 display mpls rsvp-te statistics 1584 display mpls static-cr-lsp 1586 display mpls te cspf tedb 1587 display mpls te link-administration admission-control 1592 display mpls te link-administration bandwidth-allocation 1593 display mpls te tunnel 1594...
  • Page 43 1628 mpls te priority 1629 mpls te record-route 1629 mpls te reoptimization (user view) 1630 mpls te reoptimization (tunnel interface view) 1630 mpls te resv-style 1631 mpls te retry 1631 mpls te route-pinning 1632 mpls te signal-protocol...
  • Page 44 1668 vpn-target (MPLS L2VPN view) 1669 MPLS L3VPN C ONFIGURATION OMMANDS apply access-vpn vpn-instance 1671 default local-preference (BGP-VPNv4 subaddress family view) 1671 default med (BGP-VPNv4 subaddress family view) 1672 description (VPN instance view) 1673 display bgp vpnv4 all routing-table 1673...
  • Page 45 (BGP-VPNv4 subaddress family view) 1700 peer group 1701 peer ip-prefix (BGP-VPNv4 subaddress family view) 1702 peer label-route-capability (BGP view/BGP VPN instance view) 1702 peer next-hop-invariable (BGP-VPNv4 subaddress family view) 1703 peer next-hop-local 1704 peer public-as-only (BGP-VPNv4 subaddress family view)
  • Page 46 1740 DVPN T UNNEL ONFIGURATION OMMANDS display dvpn session 1743 dvpn session dumb-time 1744 dvpn session idle-time 1745 ipsec profile (tunnel interface view) 1745 keepalive 1746 reset dvpn session 1747 tunnel-protocol dvpn udp 1747 vam client 1748 GRE C ONFIGURATION...
  • Page 47 1775 qos gts 1776 ONFIGURATION OMMANDS display qos lr interface 1779 qos lr (interface view) 1780 qos lr (layer 2 interface view or port group view) 1780 EFINING LASS OMMANDS display traffic classifier 1783 if-match 1784 traffic classifier...
  • Page 48 1801 display qos policy interface 1803 qos apply policy (interface view) 1804 qos apply policy (layer 2 interface view or port group view) 1805 qos policy 1806 FIFO Q UEUING ONFIGURATION OMMANDS qos fifo queue-length 1809 PQ C...
  • Page 49 1854 qos wred apply 1854 queue 1855 MPLS Q ONFIGURATION OMMANDS if-match mpls-exp 1857 qos cql protocol mpls exp 1857 qos pql protocol mpls exp 1858 remark mpls-exp 1859 DAR C ONFIGURATION OMMANDS dar max-session-count 1861...
  • Page 50 1877 congestion-threshold 1878 1878 display fr class-map 1879 display fr fragment-info 1880 display fr switch-table 1882 display qos policy interface 1882 display qos pvc-pq interface 1884 1885 fifo queue-length 1885 fr class 1886 fr congestion-threshold 1886 fr de del...
  • Page 51 1950 accounting-on enable send 1950 data-flow-format (RADIUS scheme view) 1951 display radius scheme 1952 display radius statistics 1953 display stop-accounting-buffer 1956 key (RADIUS scheme view) 1957 nas-ip (RADIUS scheme view) 1957 primary accounting (RADIUS scheme view) 1958...
  • Page 52 (RADIUS scheme view) 1959 radius client 1960 radius nas-ip 1960 radius scheme 1961 radius trap 1962 reset radius statistics 1963 reset stop-accounting-buffer 1963 retry 1964 retry realtime-accounting 1965 retry stop-accounting (RADIUS scheme view) 1966 secondary accounting (RADIUS scheme view)
  • Page 53 1994 firewall fragments-inspect [ high | low ] 1995 firewall ipv6 fragments-inspect 1995 firewall packet-filter 1996 firewall packet-filter ipv6 1997 reset firewall ethernet-frame-filter 1997 reset firewall-statistics 1998 ASPF C ONFIGURATION OMMANDS aging-time 1999 aspf-policy 2000 detect 2000 display aspf all...
  • Page 54 2035 nat server 2035 nat static 2038 reset nat session 2039 reset userlog export 2040 reset userlog nat logbuffer 2040 userlog nat export host 2040 userlog nat export source-ip 2041 userlog nat export version 2042 userlog nat syslog 2042...
  • Page 55 2092 rule (in basic IPv4 ACL view) 2092 rule (in advanced IPv4 ACL view) 2094 rule (in Ethernet frame header ACL view) 2097 rule (in user-defined ACL view) 2098 rule comment (for IPv4) 2099 step (for IPv4)
  • Page 56 2129 encapsulation-mode 2130 encrypt-card fast-switch 2130 esp authentication-algorithm 2131 esp encryption-algorithm 2131 ike-peer (IPSec policy view/IPSec policy template view) 2132 ipsec binding policy 2133 ipsec cpu-backup 2134 ipsec policy (interface view) 2135 ipsec policy (system view) 2136...
  • Page 57 2160 encryption-algorithm 2160 exchange-mode 2161 id-type 2161 ike dpd 2162 ike local-name 2162 ike next-payload check disabled 2163 ike peer (system view) 2164 ike proposal 2164 ike sa keepalive-timer interval 2165 ike sa keepalive-timer timeout 2165 ike sa nat-keepalive-timer interval...
  • Page 58 2185 sftp client ipv6 source 2186 sftp client source 2187 sftp ipv6 2187 sftp server enable 2189 sftp server idle-timeout 2189 ssh client authentication server 2190 ssh client first-time enable 2190 ssh client ipv6 source 2191 ssh client source...
  • Page 59 2240 vrrp ipv6 ping-enable 2241 vrrp ipv6 vrid authentication-mode 2242 vrrp ipv6 vrid preempt-mode 2242 vrrp ipv6 vrid priority 2243 vrrp ipv6 vrid timer advertise 2244 vrrp ipv6 vrid track 2245 vrrp ipv6 vrid virtual-ip 2246 EVICE ANAGEMENT OMMANDS boot-loader...
  • Page 60 2262 temperature-alarm enable 2263 temperature-limit 2264 NQA C LIENT ONFIGURATION OMMANDS data-fill 2265 data-size 2266 description (any NQA test type view) 2266 destination ip 2267 destination port 2267 display nqa 2268 filename 2271 frequency 2271 history-records 2272...
  • Page 61 NQA S ERVER ONFIGURATION OMMANDS display nqa server status 2289 nqa server enable 2290 nqa server tcp-connect 2290 nqa server udp-echo 2291 TREAM ONFIGURATION OMMANDS display ip netstream cache 2293 display ip netstream export 2294 enable 2295 ip netstream 2295...
  • Page 62 2339 snmp-agent mib-view 2340 snmp-agent packet max-size 2341 snmp-agent sys-info 2341 snmp-agent target-host 2342 snmp-agent trap enable 2344 snmp-agent trap if-mib link extended 2345 snmp-agent trap life 2346 snmp-agent trap queue-size 2346 snmp-agent trap source 2347 snmp-agent usm-user 2347 YSTEM...
  • Page 63 2373 binary 2373 2374 2374 cdup 2374 close 2375 debugging 2375 delete 2376 2377 disconnect 2377 display ftp client configuration 2378 2378 ftp client source 2379 ftp ipv6 2380 2381 2382 2382 mkdir 2383 open 2383 open ipv6 2384 passive...
  • Page 64 2391 tftp 2392 tftp client source 2393 tftp ipv6 2394 YSTEM AINTAINING OMMANDS ping 2397 ping ipv6 2398 tracert 2400 tracert ipv6 2401 YSTEM EBUGGING OMMANDS debugging 2403 display debugging 2404 ASIC ONFIGURATION OMMANDS clock datetime 2405 clock summer-time one-off...
  • Page 65 2433 info-center enable 2434 info-center logbuffer 2434 info-center logfile enable 2435 info-center logfile frequency 2435 info-center logfile size-quota 2436 info-center logfile switch-directory 2436 info-center loghost 2437 info-center loghost source 2438 info-center monitor channel 2439 info-center snmp channel...
  • Page 66 2469 send 2469 set authentication password 2470 shell 2471 speed (in user interface view) 2472 stopbits 2473 terminal type 2473 user privilege level 2474 user-interface 2475 MAC A DDRESS ABLE ANAGEMENT ONFIGURATION OMMANDS display mac-address 2477 display mac-address aging-time...
  • Page 67 2517 acsei timer clock-sync 2518 acsei timer monitor 2518 acsei client close 2519 acsei client reboot 2519 display acsei client summary 2519 display acsei client info 2520 ACSEI C LIENT ONFIGURATION OMMANDS acsei-client debug disable 2523 acsei-client debug enable...
  • Page 68 2548 ipx service 2548 ipx split-horizon 2549 ipx tick 2549 ipx update-change-only 2550 ping ipx 2550 reset ipx statistics 2551 reset ipx routing-table statistics protocol 2551 IP C ONFIGURATION OMMANDS address 2553 area 2554 area-id 2554 busytone-t-th 2555 cid display...
  • Page 69 2606 reset voice iva statistic 2606 rtp payload-type nte 2606 send-busytone 2607 send-ring 2608 shutdown (voice entity view) 2608 shutdown (voice subscriber line view) 2609 silence-th-span 2609 slic-gain 2610 subscriber-line 2610 timer dial-interval 2611 timer first-dial 2612...
  • Page 70 2623 ONFIGURATION OMMANDS caller-permit 2625 dial-prefix 2626 display voice number-substitute 2627 dot-match 2628 first-rule 2629 max-call (in voice dial program view) 2629 max-call (in voice entity view) 2630 number-match 2631 number-priority 2632 number-substitute 2632 priority 2633 private-line 2633...
  • Page 71 2684 fax level 2685 fax local-train threshold 2685 fax nsf-on 2686 fax protocol 2687 fax train-mode 2688 reset voice fax statistics 2689 voip h323-conf tcs-t38 2689 H.323 C ONFIGURATION OMMANDS area-id 2691 display voice gateway 2691 gk-client 2692...
  • Page 72 2724 authorization 2725 authorization-did 2726 callednumber receive-method 2727 card-digit 2728 2728 display voice access-number 2730 display voice call-history-record 2732 display voice radius statistic 2734 gw-access-number 2736 password-digit 2737 process-config 2738 redialtimes 2740 reset voice radius statistic 2741 selectlanguage 2741...
  • Page 73: About

    (+), for example: Press Ctrl+Alt+Del The words “enter” and “type” When you see the word “enter” in this guide, you must type something, and then press Return or Enter. Do not press Return or Enter when an instruction simply says “type.”...
  • Page 74: Related Documentation

    Convention Description Words in italics Italics are used to: Emphasize a point. Denote a new term at the place where it is defined in the text. Identify menu names, menu commands, and software button names. Examples: From the Help menu, select Contents.
  • Page 75: Alphabetical Listing Of Commands

    LPHABETICAL ISTING OF OMMANDS aaa-client 2721 aggregate 953 abr-summary (OSPF area view) 1107 aging-time 1999 abr-summary (OSPFv3 area view) ah authentication-algorithm 2119 1279 alarm (CT3 interface view) 265 access-limit 1913 alarm-threshold 213 accounting 2721 allow l2tp 1757 accounting default 1913...
  • Page 76 2554 area-authentication-mode 1037 balance (IPv6 address family view) area-id 2554 1221 area-id 2691 bandwidth-based-sharing 929 arp authorized enable 701 bandwidth-reference (IS-IS view) arp authorized time-out 701 1038 arp check enable 689 bandwidth-reference (OSPF view) arp max-learning-num 689 1110 arp source-suppression enable 699...
  • Page 77 (IPv6 PIM view) clock (serial interface view) 190 1462 clock 113 c-bsr hash-length (PIM view) 1387 clock 123 c-bsr holdtime (IPv6 PIM view) 1463 clock 127 c-bsr holdtime (PIM view) 1387 clock 151 c-bsr interval (IPv6 PIM view) 1463 clock 292...
  • Page 78 1089 c-rp advertisement-interval (PIM view) debugging lacp packet 483 1390 debugging lacp state 487 c-rp holdtime (IPv6 PIM view) 1466 debugging link-aggregation error c-rp holdtime (PIM view) 1391 crp-policy (IPv6 PIM view) 1467 debugging link-aggregation event crp-policy (PIM view) 1391...
  • Page 79 317 delete ipv6 static-routes all 1325 dialer circular-group 318 delete static-routes all 1217 dialer disconnect 319 description (any NQA test type view) dialer enable-circular 319 2266 dialer flow-interval 320 description (for IPv4) 2090 dialer isdn-leased (ISDN BRI interface...
  • Page 80 328 display bgp ipv6 routing-table dialer-group 329 flap-info 1235 dialer-rule 330 display bgp ipv6 routing-table label dial-prefix 2626 1236 dial-program 2575 display bgp ipv6 routing-table peer differential-delay 115 1237 dir 2202 display bgp ipv6 routing-table dir 2352 regular-expression 1237...
  • Page 81 162 display dns domain 765 display ccc 1653 display dns dynamic-host 765 display channel 2425 display dns ipv6 dynamic-host 829 display clipboard 2410 display dns ipv6 server 829 display clock 2411 display dns proxy table 766 display configure-user 2411...
  • Page 82 2454 display ip relay-tunnel 941 display hotkey 2415 display ip routing-table 929 display hwtacacs 1975 display ip routing-table acl 932 display icmp statistics 790 display ip routing-table ip-address display igmp group 1345 display igmp interface 1346 display ip routing-table ip-prefix 938...
  • Page 83 942 display local-proxy-arp 704 display ipv6 socket 836 display local-user 1935 display ipv6 statistics 837 display logbuffer 2428 display ipx interface 2531 display logbuffer summary 2430 display ipx routing-table 2532 display logfile buffer 2430...
  • Page 84 864 display mpls statistics interface 1534 display natpt all 865 display mpls statistics lsp 1536 display natpt frag-sessions 866 display mpls te cspf tedb 1587 display natpt session 867 display mpls te link-administration display natpt statistics 867 admission-control 1592...
  • Page 85 2258 display port-mapping 2004 display sftp client source 2175 display power 2257 display snmp-agent community 2329 display ppp compression iphc rtp 525 display snmp-agent group 2330 display ppp compression iphc tcp 525 display snmp-agent local-switch display ppp compression stac-lzs 526...
  • Page 86 2176 display voice ipp statistic 2581 display ssh server-info 2177 display voice iva statistic 2583 display ssh user-information 2178 display voice number-substitute 2627 display ssl client-policy 2211 display voice radius statistic 2734 display ssl server-policy 2211 display voice sip call-statistics 2699...
  • Page 87 1903 enable snmp trap updown 2335 dot1x max-user 1904 enable traffic-adjustment 1603 dot1x multicast-trigger 1905 enable traffic-adjustment advertise dot1x port-control 1905 1603 dot1x port-method 1906 encap-data-enable 1371 dot1x quiet-period 1907 encapsulation 298 dot1x retry 1908 encapsulation-limit 1752 dot1x supp-proxy-check 1908...
  • Page 88 1892 fixdisk 2354 free ftp user 2370 flag 155 free user-interface 2459 flag 681 frequency 2271 flash-flood 1057 ft1 alarm-threshold 250 flow-control 168 ft1 bert (T1-F interface view) 242 flow-control 2458 ft1 cable 243 flow-interval 178 ft1 clock 244...
  • Page 89 2204 graceful-restart help 1134 history-command max-size 2460 graceful-restart interval (IS-IS view) history-records 2272 1058 holdtime assert (IPv6 PIM view) 1481 graceful-restart interval (OSPF view) holdtime assert (PIM view) 1408 1135 holdtime join-prune (IPv6 PIM view) graceful-restart mpls ldp 1539...
  • Page 90 1200 import-route (OSPF view) 1136 if-match ip 1209 import-route (RIP view) 1170 if-match ip-prefix 1209 import-route 1315 if-match ipv6 1214 import-route isis level-2 into level-1 if-match mpls-exp 1857 1061 if-match mpls-label 1201 import-route(OSPFv3 view) 1297 if-match packet-length 814 import-source 1371...
  • Page 91 668 ipsec binding policy 2133 interface vlan-interface 634 ipsec cpu-backup 2134 interval-time 2166 ipsec policy (interface view) 2135 invert receive-clock 195 ipsec policy (system view) 2136 invert transmit-clock 196 ipsec policy isakmp template 2137 ip (PKI entity view) 2054...
  • Page 92 850 isdn ignore connect-ack 573 ipv6 nd dad attempts 851 isdn ignore hlc 574 ipv6 nd hop-limit 851 isdn ignore llc 575 ipv6 nd ns retrans-timer 852 isdn ignore sending-complete 576 ipv6 nd nud reachable-time 852...
  • Page 93 1754 llc2 timer detect 356 keepalive interval 1726 llc2 timer poll 357 keepalive retry 1727 llc2 timer reject 358 key (HWTACACS scheme view) 1979 load-bandwidth 950 key (RADIUS scheme view) 1957 local 2167 l2tp enable 1760 local-address 2167 l2tp sendaccm enable 1760...
  • Page 94 301 mld timer other-querier-present 1454 map ppp 302 mld timer query 1455 match-template 2599 mld version 1455 max-call (in voice dial program view) mode 2658 2629 modem 2462 max-call (in voice entity view) 2630 modem 491 maximum load-balancing (IS-IS view)
  • Page 95 1620 downstream-limit 1437 mpls te cspf 1621 multicast ipv6 forwarding-table mpls te cspf timer failed-link 1621 route-limit 1438 mpls te fast-reroute 1622 multicast ipv6 load-splitting 1438 mpls te fast-reroute bypass-tunnel multicast ipv6 longest-match 1439...
  • Page 96 1142 natpt v6bound static 875 open 2383 naturemask-arp enable 694 open ipv6 2384 nbns-list 719 operation (FTP test type view) 2276 netbios-type 719 operation (HTTP test type view) 2276 network (BGP/BGP-VPN instance operation interface 2277 view) 983 option 721...
  • Page 97 (BGP/BGP-VPN instance view) 989 pad 437 peer default-route-advertise 1247 parity 2463 peer default-route-advertise passive 2385 vpn-instance 1699 password (FTP test type view) 2277 peer description (BGP/BGP-VPN password 1941 instance view) 990 password-digit 2737 peer description (IPv6 address family path-vectors 1555...
  • Page 98 1419 instance view) 1004 ping 2397 peer substitute-as (IPv6 address ping ipv6 2398 family view) 1259 ping ipx 2550 peer timer (BGP/BGP-VPN instance ping lsp 1555 view) 1005 pki certificate access-control-policy peer timer (IPv6 address family view) 2057...
  • Page 99 2062 ppp compression stac-lzs 529 pki-domain 2212 ppp ipcp dns 512 plc-mode 2603 ppp ipcp dns admit-any 513 poe disconnect 2496 ppp ipcp dns request 513 poe enable 2497 ppp ipcp remote-address forced 514 poe enable pse 2498...
  • Page 100 910 qos gts 1776 print language 911 qos lr (interface view) 1780 print menu 910 qos lr (layer 2 interface view or port priority 2633 group view) 1780 pri-set (CE1/PRI interface view) 210 qos map-table dot1p-Ip 1840 pri-set (CT1/PRI interface view) 227...
  • Page 101 1734 redirect timeout 2468 reset acfp rule-cache 2516 redrawkey 911 reset acl counter 2092 reflect between-clients (BGP view) reset acl ipv6 counter 2107 1006 reset arp 695 reflect between-clients (IPv6 address reset aspf session 2007 family view) 1261...
  • Page 102 876 reset ike sa 2170 reset ospf counters 1153 reset ip count 779 reset ospf process 1153 reset ip fast-forwarding cache 827 reset ospf redistribution 1154 reset ip ip-prefix 1211 reset pim control-message counters reset ip ipv6-prefix 1216...
  • Page 103 1176 rule (in advanced IPv6 ACL view) rip mib-binding 1177 2109 rip output 1177 rule (in basic IPv4 ACL view) 2092 rip poison-reverse 1178 rule (in basic IPv6 ACL view) 2108 rip split-horizon 1178 rule (in Ethernet frame header ACL...
  • Page 104 2470 secondary accounting (HWTACACS set-overload 1081 scheme view) 1984 sftp 2185 secondary accounting (RADIUS sftp client ipv6 source 2186 scheme view) 1966 sftp client source 2187 secondary authentication sftp ipv6 2187 (HWTACACS scheme view) 1984 sftp server enable 2189...
  • Page 105 (IPv6 PIM view) 1496 state-refresh-ttl (PIM view) 1426 source-policy (PIM view) 1423 static-bind client-identifier 723 special-character 2668 static-bind ip-address 724 speed (in user interface view) 2472 static-bind mac-address 725 speed 172 static-cr-lsp egress 1639 spf timers 1306 static-cr-lsp ingress 1640...
  • Page 106 (IPv6 address family time-out 2172 view) 1265 timer (BGP/BGP-VPN instance view) sysname 2423 1012 system-view 2424 timer (IPv6 address family view) 1266 t1 alarm 278 timer dial-interval 2611 t1 bert 279 timer dl 2671 t1 channel-set 280 timer dtmf 2672...
  • Page 107 2675 udp-helper enable 820 timer ring-back 2613 udp-helper port 820 timer spf 1086 udp-helper server 821 timer spt-switch (IPv6 PIM view) 1502 umount 2359 timer spt-switch (PIM view) 1429 undelete 2360 timer wait-digit 2613 unicast-suppression 184 time-range 2083...
  • Page 108 456 2242 x25 roa-list 457 vrrp ipv6 vrid preempt-mode 2242 x25 switch pvc 457 vrrp ipv6 vrid priority 2243 x25 switch svc 459 vrrp ipv6 vrid timer advertise 2244 x25 switch svc hunt-group 461...
  • Page 109 462 x25 timer tx3 467 x25 switching 463 x25 vc-per-map 468 x25 template 409 x25 vc-range 468 x25 timer hold 464 x25 window-size 469 x25 timer idle 464 x25 x121-address 470 x25 timer tx0 465 x25 xot pvc 470...
  • Page 111: Public Atm And Dsl Interface Commands

    [ interface-number ] View Any view Parameter interface-number: Interface number. If no interface is specified, the configuration and status information about all ATM/DSL interfaces and channels on them is displayed. Description Use the display interface atm command to display the configuration and status information about an ATM interface or a DSL interface.
  • Page 112: Interface Atm

    If you execute this command with an ATM interface specified, this command ■ displays the statistics on the PVCs created on the ATM interface. If you execute this command with no ATM interface specified, the statistics on ■ the PVCs created on all the ATM interfaces are cleared.
  • Page 113: Ima-E1/T1 Interface Configuration Commands

    Long haul mode, with a cable length in the range 151 to 500 m (495 to 1640 ft.). short: Short haul mode, with a cable length in the range 0 to 150 m (0 to 495 ft.). Description Use the command to set the cable length of the ATM E1 interface.
  • Page 114: Code

    DTEa, set the clock mode to slave. When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.
  • Page 115: Differential-Delay

    By default, the line coding format of an ATM E1 interface is HDB3, and that of an ATM T1 interface is B8ZS. Example # Set the line coding format to AMI for ATM 5/0 interface. <Sysname> system-view [Sysname] interface atm 5/0...
  • Page 116: Frame-Format

    Sets the ATM over E1 framing format to no-CRC4 ADM. esf-adm: Sets the ATM over T1 framing format to extended super frame ADM (ESF ADM). sf-adm: Sets the ATM over T1 framing format to super frame ADM (SF ADM). Description Use the...
  • Page 117: Frame-Length

    128 ATM undo frame-length cells in an IMA frame. Example # Set the number of ATM cells in an IMA frame to 64 on IMA group interface 1. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] ima ima-group 1...
  • Page 118: Ima-Clock

    IP address assigned to the interface by using the undo ip address command. The first link in the IMA group is the primary link. You can remove it only when you remove the IMA group.
  • Page 119: Ima-Standard

    View IMA group interface view Parameter link-number number: Specifies the number of the E1/T1 link to be tested. pattern-id id: Specifies the test mode, a hexadecimal number in the range 0x00 to 0xFE. Description Use the command to specify the E1/T1 link to be tested and the test ima-test mode for IMA group interface test.
  • Page 120: Interface Ima-Group

    ■ the default test mode (that is, 0xAA) is adopted. You can use this command to test the connectivity of a link to the rest of the ■ IMA group by sending a test pattern over the link. This test mode is looped over all the active links at the far end and back to the transmitter.
  • Page 121: Min-Active-Links

    Use the command to restore the default, that is, 1. undo min-active-links Example # Set the minimum number of links required for IMA group 1 to operate to 2. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] ima ima-group 1 [Sysname-Atm5/0] interface ima-group 5/1...
  • Page 122 This, however, does not affect cell headers. Use the command to disable payload scrambling. undo scramble By default, payload scrambling is enabled on an ATM E1/T1 interface. Example # Enable payload scrambling on ATM interface 5/0. <Sysname> system-view [Sysname] interface atm 5/0...
  • Page 123: Atm E3/T3 Interface Configuration Commands

    Long haul mode, with a cable length in the range 151 to 500 m (495 to 1640 ft.). short: Short haul mode, with a cable length in the range 0 to 150 m (0 to 495 ft.). Description Use the command to configure the cable length of the ATM T3 interface.
  • Page 124: Frame-Format

    View ATM E3/T3 interface view Parameter g751-adm: Sets the framing format of ATM E3 to G.751 ATM direct mapping (G.751 ADM). g751-plcp: Sets the framing format of ATM E3 to G.751 physical layer convergence protocol (G.751 PLCP). g832-adm: Sets the framing format of ATM E3 to G.832 ADM.
  • Page 125: Loopback

    View ATM E3/T3 interface view Parameter cell: Internal cell loopback, used to check whether the local end physical chipset is working properly local: Internal loopback, used to check whether the local service chip is working properly. payload: External payload loopback, used to check whether payload framing is normal.
  • Page 126 3: ATM E3/T3 I HAPTER NTERFACE ONFIGURATION OMMANDS Example # Disable payload scrambling on ATM E3/T3 interface 5/0. <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] undo scramble...
  • Page 127: Atm Oc-3 C /Stm-1 Interface Configuration Commands

    DTE, set its clock mode to slave. When the ATM interfaces on two routers are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.
  • Page 128: Loopback

    4: ATM OC-3 /STM-1 I HAPTER NTERFACE ONFIGURATION OMMANDS sonet: Sets the framing format to SONET OC-3, the optical carrier level three (OC-3 of synchronous optical network (SONET). Description Use the frame-format command to set the framing format for an ATM OC-3c/STM-1 interface.
  • Page 129 OC-3c/STM-1 interface. This, however, does not affect cell headers. Use the undo scramble command to disable payload scrambling. By default, payload scrambling is enabled on the ATM OC-3c/STM-1 interface. Example # Enable payload scrambling on ATM interface 5/0. <Sysname> system-view...
  • Page 130 4: ATM OC-3 /STM-1 I HAPTER NTERFACE ONFIGURATION OMMANDS...
  • Page 131: G.shdsl Interface Configuration Commands

    Since a G.SHDSL interface is always on, it transits to the active state automatically at boot and remains in this state as long as the link is in good condition. The router tests the performance of the line regularly. Once it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
  • Page 132: Display Dsl Configuration

    00: 0002 0000 0000 0000 0000 0000 0030 003f 003f 003f 10: 003f 000f 0000 0030 003f 003f 003f 003f 000f 0000 20: 0000 0000 0003 0003 0004 0010 Table 1 Description on the fields of the display dsl configuration command Field Description...
  • Page 133: Display Dsl Status

    Table 1 Description on the fields of the display dsl configuration command Field Description Target Margin Target margin Line Rate Line rate PSD Mode Power spectral density mode: symmetric or asymmetric Power-Backoff Power compensation LinkCheck State of link check: enable or disable...
  • Page 134 Rmt Provider Code: GSPN Rmt Vendor Data: 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 # Display status information about ATM 5/0, which is a four-wire G.SHDSL interface that is up. <Sysname> display dsl status interface atm 5/0 Operating Mode: DSL Mode:...
  • Page 135 0x00b5 Rmt Provider Code: GSPN Rmt Vendor Data: 0x12 0x34 0x56 0x78 0x12 0x34 0x56 0x78 Table 2 Description on the fields of the display dsl status command Field Description Operating Mode CPE or CO DSL Mode Annex standard used on the interface: Annex A or Annex...
  • Page 136: Display Dsl Version

    Hardware Version: ITU G991.2 ANNEX A: Supported ITU G991.2 ANNEX B: Supported Table 3 Description on the fields of the display dsl version interface atm command Field Description Dsl line Type Type of the user access line ATM SAR Device...
  • Page 137: Shdsl Annex

    Annex B. undo shdsl annex Annex A is dominant in North America while Annex B is dominant in Europe. When setting annex standard, you must consider the standard adopted in the region where your network is located. When ATU-C and ATU-R use different standards, G.SHDSL cannot set up connection.
  • Page 138: Shdsl Psd

    (PSD) are set for the central office (CO) and the customer premises equipment (CPE). symmetry: Specifies the symmetric mode, where the same PSD is set for the CO and CPE. Power spectral density (PSD) is the amount of power per unit (density) of frequency (spectral) as a function of the frequency.
  • Page 139: Shdsl Snr-Margin

    In actual applications, likelihood exists that the maximum downlink rate could not reach the specified rate as restricted by ATU-C and line conditions. If you select the auto mode, CPE and CO can negotiate a rate commensurate with the current line condition during the activating process.
  • Page 140: Shdsl Wire

    OMMANDS Setting margin can affect maximum rate of the line. When line condition is good, you can set a small margin to obtain higher rate. When much noise is around the line, this may cause disconnection however. By default, current-margin-value is set to 2 and snext-margin-value is set to 0.
  • Page 141 <Sysname> system-view [Sysname] interface atm 5/0 [Sysname-Atm5/0] shdsl wire 4-auto-enhanced...
  • Page 142 5: G.SHDSL I HAPTER NTERFACE ONFIGURATION OMMANDS...
  • Page 143: Activate

    Since an ADSL interface is always on, it transits to the active state automatically at boot and remains in this state as long as the link is in good condition. The router tests the performance of the line regularly. Once it finds that the line performance is deteriorating, it automatically deactivates, retrains, and then reactivates the line.
  • Page 144: Adsl Standard

    6: ADSL I HAPTER NTERFACE ONFIGURATION OMMANDS adsl standard Syntax adsl standard { auto | g9923 | g9925 | gdmt | glite | t1413 } undo adsl standard View ATM (ADSL) interface view Parameter auto: Auto-negotiation mode. g9923: ADSL2 (G992.3) standard.
  • Page 145: Bootrom Update File

    The upgradeable software includes Boot ROM and ADSL2+ card software. Before you do that, you first need to FTP or load the new software file by other means to the Flash or CF card on your device and save it. Before performing an upgrade, you need to shut down the interface with the shutdown command if the interface is up.
  • Page 146: Display Dsl Configuration

    In case failure occurs, recovery is difficult and troublesome. Note that: Only distributed devices support the slot slot-no-list option. ■ The subslot subslot-no-list option is not available if the device does not ■ support the sub-card-level maintenance. Example # Upgrade software for an ADSL2+ card.
  • Page 147: Display Dsl Status

    DMT Bits Allocation Per Bin (Up/Down Bits:249/2148) 00: 0 0 0 0 0 0 7 8 a a a a 8 a b c c c b b b b b b 9 9 a a 9 8 8 0...
  • Page 148: Display Dsl Version

    NTERFACE ONFIGURATION OMMANDS Current Rate(kbps): Latency: Intl Intl Table 5 Description on the fields of the display dsl status command Field Description Line Status Line status of the ADSL interface, which can be: No Defect, indicating the normal state ■...
  • Page 149 ANSI T1.413 Issue 2 ITU G992.1(G.dmt) ITU G992.2(G.lite) ITU G992.3(Adsl2) ITU G992.3(ReAdsl2) ITU G992.5(Adsl2p) Table 6 Description on the fields of the display adsl version command Field Description Adsl board chipset and The components of the interface board and the version version info...
  • Page 150 6: ADSL I HAPTER NTERFACE ONFIGURATION OMMANDS...
  • Page 151: Clock

    ■ Similar to the DTE/DCE model of synchronous serial interfaces, POS interfaces need to choose a clock mode. When a POS interface on the router is directly connected to another router, the only requirement is that the two sides use different clock modes.
  • Page 152: Display Interface Pos

    CRC length on the POS interface. Use the undo crc command to restore the default, that is, 32 bits. Example # Set the CRC length on interface POS 1/0 to 16 bits. <Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] crc 16 display interface pos...
  • Page 153 Table 7 Description on the fields of the display interface pos command Field Description Internet protocol processing IP protocol processing capability, enabled or disabled Link layer protocol is PPP Link layer protocol of the POS interface and loopback detection state...
  • Page 154: Display Ip Interface Pos

    IP-related configuration display ip interface pos and status information of the specified POS interface. Example # Display IP-related status and configuration information about the interface POS 1/0. <Sysname> display ip interface pos 1/0 Pos1/0 current state :UP Line protocol current state :UP Internet Address is 13.13.13.13/8 Primary...
  • Page 155: Flag

    Sets framing format to SDH. sonet: Sets framing format to SONET. CAUTION: When the length of the string configured for J0 or J1 is less than 15 or 62 characters, the system automatically pad it with hexadecimal 0x0.
  • Page 156: Frame-Format

    (SONET): 0x01 ■ j1 (SONET): 62 hexadecimal numbers, each of which has the value of 0x0 ■ Inconsistency between the c2 and j0 settings of a sending POS interface and the receiving POS interface causes alarms. Related command: display interface pos.
  • Page 157: Link-Protocol

    Syntax link-protocol { fr [ nonstandard | ietf | mfr interface-number | nonstandard ] | hdlc | ppp } View POS interface view Parameter fr: Specifies Frame Relay as the link layer protocol of the interface. ietf: Adopts the IETF encapsulation format. This is the default.
  • Page 158: Scramble

    The MTU setting of the POS interface can affect the assembly and fragmentation of IP packets on it. In QoS, the length of queues is limited. If MTU on the interface is too small, there is likelihood for a large packet to be fragmented into so many fragments that the queue cannot hold them and as such discard them.
  • Page 159: Threshold

    If you execute the threshold command with the value argument set to X, the value of the threshold specified can be obtained using this expression: 10e-X. By default, SD threshold is 10e-6 (that is, X is 6), and SF threshold is 10e-3 (that is, X is 3).
  • Page 160 7: POS I HAPTER NTERFACE ONFIGURATION OMMANDS Example # Set the SD threshold to 10e-4 for POS 1/0. <Sysname> system-view [Sysname] interface pos 1/0 [Sysname-Pos1/0] threshold sd 4...
  • Page 161: Combo Enable

    # Specify to enable the electrical port of Gigabit Ethernet 1/0 and use double-twisted pair cable. <Sysname> system-view [Sysname] interface gigabitethernet 1/0 [Sysname-GigabitEthernet1/0] combo enable copper # Specify to enable the optical port of Gigabit Ethernet 1/0 and use optical fiber cable. <Sysname> system-view [Sysname] interface gigabitethernet 1/0 [Sysname-GigabitEthernet1/0] combo enable fiber...
  • Page 162: Display Brief Interface

    <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] description lan-interface display brief interface Syntax display brief interface [ interface-type [ interface-number ] ] [ | { begin | include | exclude } text ] View Any view Parameter interface-type: Type of a specified interface.
  • Page 163 If neither interface type nor interface number is specified, all interface ■ information will be displayed; If only interface type is specified, then only information of this particular type ■ of interface will be displayed. If both interface type and interface number are specified, then only information ■...
  • Page 164: Display Interface

    DOWN ETHERNET Eth0/1 DOWN ETHERNET NULL0 UP(spoofing) NULL Table 9 Description on the fields of the display brief interface command. Field Description The brief information of interface(s) under Brief information of interface(s) in route mode route mode: Interface Interface name...
  • Page 165 Output:0 packets, 0 bytes, 0 buffers 0 broadcasts, 0 multicasts, 0 pauses 0 errors, 0 underruns, 0 collisions 0 deferred, 0 lost carriers Table 11 Description on the fields of the display interface (in route mode) command. Field Description Ethernet1/0 current state...
  • Page 166 HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS Table 11 Description on the fields of the display interface (in route mode) command. Field Description Output queue (FIFO queuing : Output queue (current message number in Size/Length/Discards) the FIFO queue/ maximum number of...
  • Page 167 Table 12 Description on the fields of the display interface command (in bridge mode) Field Description Unknown-speed mode Unknown-speed mode, in which mode speed is negotiated between the current host and the peer unknown-duplex mode unknown-duplex mode, in which mode speed is...
  • Page 168: Duplex

    8: G HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS Table 12 Description on the fields of the display interface command (in bridge mode) Field Description Input (total): Error statistics on the interface inbound and outbound packets, underscore indicates that the Input (normal):...
  • Page 169: Loopback

    Interface is identified by slot number/interface number, for example, Ethernet ■ 1/0 can be represented as 1/0. For ease of user input, interface type can be abbreviated so long as it does not ■ cause any confusion, for example, interface Ethernet 1/0 can be abbreviated as e1/0.
  • Page 170: Port Link-Mode

    Ethernet interfaces can work in bridge or route mode. For a device, some interfaces can work only in bridge mode, some can work only in route mode, and others can work in bridge mode or route mode. This command is only applicable to Ethernet interfaces whose working mode can be changed.
  • Page 171: Reset Counters Interface

    Only 4SIC-FSW interface cards, 9DSIC-FSW interface cards, and the fixed ■ switching interfaces of 20-21 routers support work mode switching. On an MSR series router, you can change the working mode to route mode for ■ up to two Ethernet interfaces.
  • Page 172: Shutdown

    Ethernet interface. undo shutdown In certain circumstances, modification to the interface parameters does not immediately take effect, and therefore, you need to shut down the relative interface to make the modification work. Example # Shut down the interface Ethernet 1/0.
  • Page 173 The Combo port does not support the speed command. ■ The speed 1000 command is only applicable to Gigabit Ethernet interface. ■ Related command: duplex. Example # Configure data rate for the interface Ethernet 1/0 to 100 Mbps. <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] speed 100...
  • Page 174 8: G HAPTER ENERAL THERNET NTERFACE ONFIGURATION OMMANDS...
  • Page 175: Broadcast-Suppression

    By default, all broadcast traffic is allowed to go through an Ethernet interface, that is, broadcast traffic is not suppressed. If you execute this command in Ethernet interface view, the configuration takes effect only on the current interface.
  • Page 176: Display Loopback-Detection

    Use the command to display information on the current ports of a display port specified type, including port name, default VLAN ID, and the VLAN ID of VLANs that the ports can pass through. Example # Display the current Hybrid port(s).
  • Page 177: Display Port-Group Manual

    [ all | name port-group-name ] View Any view Parameters all: Specifies all the manual port groups. name port-group-name: Specifies the name of a manual port group, a string of 1 to 32 characters. Description Use the command to display the information display port-group manual about a manual port group or all the manual port groups.
  • Page 178: Flow-Interval

    View System view Parameter interval: Time interval at which interface statistics is collected, in the range of 5 to 300 seconds, a multiple of 5. The system default is 300 seconds. Description Use the command to configure the time interval for collecting flow-interval interface statistics.
  • Page 179: Loopback-Detection Control Enable

    When the loopback detection is enabled, if a port has been detected with ■ loopback, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted. When the loopback detection is disabled, if a port has been detected with ■...
  • Page 180: Loopback-Detection Enable

    By default, loopback detection is disabled for an Access, Trunk, or Hybrid port. If an Access port has been detected with loopback, it will be shutdown. A Trap ■ message will be sent to the terminal and the corresponding MAC address If a Trunk port or Hybrid port has been detected with loopback, a Trunk message will be sent to the terminal.
  • Page 181: Loopback-Detection Per-Vlan Enable

    Parameter time: Time interval in seconds for port loopback detection, in the range of 5 to 300. Description Use the command to configure time loopback-detection interval-time interval for port loopback detection. Use the command to restore the undo loopback-detection interval-time default time interval for port loopback detection, which is 30 seconds.
  • Page 182: Multicast-Suppression

    Parameter ratio: Maximal ratio of multicast traffic to the total transmission capability of an Ethernet interface, in the range of 1 to 100. Currently, this argument can only be set to 100. pps max-pps: Specifies the maximal number of multicast packets passing an Ethernet interface per second, in pps, representing packets per second.
  • Page 183: Port-Group

    By default, all multicast traffic is allowed to go through an Ethernet interface, that is, multicast traffic is not suppressed. If you execute this command in Ethernet interface view, the configuration takes effect only on the current interface.
  • Page 184: Unicast-Suppression

    Parameter ratio: Maximal ratio of unicast traffic to the total transmission capability of an Ethernet interface, in the range of 1 to 100. The smaller the ratio is, the less unicast traffic is allowed through the interface. pps max-pps: Specifies the maximal number of unknown unicast packets passing through an Ethernet interface per second.
  • Page 185 The optical interface of a Combo port does not support this command. ■ A link in the up state goes down and then up automatically if you execute this ■ command on one of the Ethernet interfaces forming the link.
  • Page 186 9: C HAPTER ONFIGURATION OMMANDS FOR THERNET NTERFACES IN RIDGE...
  • Page 187: Timer Hold

    Limited to the QoS queue length (for example, the default length of an FIFO queue is 75), too small an MTU will result in too many fragments, which will be discarded from the QoS queue. In this case, you can increase MTU or QoS queue length properly.
  • Page 188 OMMANDS FOR THERNET NTERFACES IN OUTE Parameter seconds: Time interval in seconds for link suppression, in the range of 0 to 32,767. A value 0 represents the link test is disabled. Description Use the timer hold command to configure Layer 3 Ethernet interface link-layer-state change suppression time.
  • Page 189: Async Mode

    Flow mode, also known as interactive mode. In this mode, the two ends interact attempting to set up a link after the physical link is set up. During this process, the calling party sends configuration commands to the called party (this is...
  • Page 190: Clock (Serial Interface View)

    The baud rate adopted by a DCE-DTE pair is determined by the DCE. ■ Example # Set the baud rate of synchronous serial interface 1/0 at DCE side to 115,200 bps. <Sysname> system-view [Sysname] interface serial 1/0...
  • Page 191 TxClk = RxClk, RxClk = TxClk DTEclk4 TxClk = RxClk, RxClk = RxClk In the table, the clock ahead of the equal sign (=) is the DTE clock and the one behind is the DCE clock. Example # Set the synchronous serial interface working as DTE to use the clock selection option dteclk2.
  • Page 192: Code Nrzi

    (NRZI) on the synchronous serial interface. Use the command to restore the default, that is, NRZ. undo code Example # Set the digital signal coding format to NRZI on synchronous serial interface 1/0. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] code nrzi country-code...
  • Page 193: Detect

    Use the undo crc command to restore the default. By default, 16-bit CRC is adopted. These two commands are not available to sub-serial interfaces and synchronous/asynchronous serial interfaces operating as asynchronous interfaces. Example # Configure to adopt 32-bit CRC. <Sysname> system-view...
  • Page 194: Eliminate-Pulse

    If level detection is disabled on an asynchronous serial interface, the system automatically reports that the state of the serial interface is up with both DTR and DSR being up without detecting whether a cable is connected. If level detection is enabled on the interface, the system detects the DSR signal in addition to the external cable.
  • Page 195: Idle-Mark

    In most cases, a synchronous serial interface uses 0x7E to identify the idle state of the line. You may need to set the line idle code to 0xFF however to interoperate with devices that use 0xFF (high level of all ones) as line idle code.
  • Page 196: Invert Transmit-Clock

    By default, receive-clock signal inversion is disabled on DTE-side synchronous serial interfaces. Sometimes, you may need to invert the receive-clock signal on a DTE-side serial interface to eliminate the half clock-period delay on the line. This command is necessary only for some special DCE devices. In common applications, clock must not be inverted.
  • Page 197: Loopback

    By default, the MTU of a serial interface is 1,500 bytes. Due to the length of Qos queue, a packet may be discarded if the MTU is relatively small and the packet is segmented into too many fragments. You can increase the Qos queue length to avoid this situation.
  • Page 198: Physical-Mode

    View Asynchronous serial interface view, AUX interface view Parameter size: Maximum receive unit (MRU) to be set, in the range 4 to 1,700 (in bytes). Description Use the command to set the MRU for an asynchronous serial interface phy-mru operating in flow mode.
  • Page 199: Reverse-Rts

    Example # Set the MRU of interface serial 2/0 to 1,500 bytes (assuming that the interface is an asynchronous serial interface and operates in flow mode). <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] physical-mode async [Sysname-Serial2/0] async mode flow [Sysname-Serial2/0] phy-mru 1500...
  • Page 200: Virtualbaudrate

    11: F HAPTER UNDAMENTAL ERIAL NTERFACE ONFIGURATION OMMANDS Example # Set the link state polling interval to 20 seconds for interface serial 1/0. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] timer hold 20 virtualbaudrate Syntax virtualbaudrate virtualbaudrate undo virtualbaudrate View...
  • Page 201: Cable

    Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
  • Page 202: Clock (Ce1/Pri Interface View)

    In other words, this command cannot be used together with the pri-set command. Example # Bundle timeslots 1, 2, 5, 10 through 15, and 18 on CE1/PRI interface E1 2/0 into channel set 0. <Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18 # Make the same configuration on the CE1/PRI interface on the remote router.
  • Page 203: Controller E1

    Use the command to restore the default, that is, HDB3. undo code Keep the line code format of the interface in consistency with that used by the remote device. Example # Set the line code format of interface E1 2/0 to AMI.
  • Page 204: Detect-Ais

    Use the command to restore the default, that is, 16-bit CRC. undo crc Example # Apply 32-bit CRC to a serial interface formed on interface CE1 interface 2/0 in unchannelized mode. <Sysname> system-view [Sysname] controller e1 2/0 [Sysname-E1 2/0] using e1...
  • Page 205: Display Controller E1

    Work mode is E1 framed, Cable type is 75 Ohm unbalanced. Frame-format is no-crc4. Line code is hdb3, Source clock is slave. Idle code is 7e, Itf type is 7e, Itf number is 4. Loop back is not set. Alarm State: Receiver alarm state is None.
  • Page 206: Error-Diffusion Restraint Config

    By default, the error packet detect timer is set to 30 seconds, the renew timer is set to 600 seconds, and the error packet ratio threshold is 20. The setting of renew timer must be at least four times that of the error packet detect timer.
  • Page 207: Error-Diffusion Restraint Enable

    These two commands apply to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # Set the error packet detect timer to 100 seconds, the renew timer to 2400 seconds, and the error packet ratio threshold to 15. <Sysname> system-view [Sysname] error-diffusion restraint config 100 2400 15...
  • Page 208: Frame-Format (Ce1/Pri Interface View)

    ■ This command applies to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # restart channel serial 2/0:0 that has been shut down due to error packets diffusion. <Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0 frame-format (CE1/PRI interface view)
  • Page 209: Itf (Ce1/Pri Interface View)

    Sets the number of interframe filling tags, which ranges from 0 to 14. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff keyword.
  • Page 210: Loopback (Ce1/Pri Interface View)

    Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
  • Page 211: Reset Counters Controller E1

    (FSC), timeslot 16 as the D channel for signaling transmission, and other timeslots as B channels for data transmission. You can create only one PRI set on a CE1/PRI interface. This PRI set can include any timeslots except timeslot 0 and must include timeslot 16. Note that timeslot 16 cannot form a bundle that includes itself only.
  • Page 212: Using (Ce1/Pri Interface View)

    In CE1/PRI mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for FSC. This interface can work as either a CE1 interface or a PRI interface.
  • Page 213: Alarm-Threshold

    NTERFACE ONFIGURATION OMMANDS alarm-threshold Syntax alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulse-detection | pulse-recovery } value } undo alarm-threshold View CT1/PRI interface view Parameter ais: Sets the alarm threshold of alarm indication signal (AIS), which can be level-1 and level-2.
  • Page 214: Bert (Ct1/Pri Interface View)

    CT1/PRI interface supports only 2^15 and 2^20 at present. When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line.
  • Page 215: Cable (Ct1/Pri Interface View)

    [Sysname-T1 2/0] bert pattern 2^20 time 10 cable (CT1/PRI interface view) Syntax cable { long { 0db | -7.5db | -15db | -22.5db } | short { 133ft | 266ft | 399ft | 533ft | 655ft } } undo cable...
  • Page 216: Clock (Ct1/Pri Interface View)

    { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots is bundled into N × 56 kbps bundles. If 64k, the default, is selected, the timeslots is bundled into N ×...
  • Page 217: Controller T1

    Use the undo code command to restore the default, that is, B8ZS. Keep the line code format of the interface in consistency with the one used on the remote device. Example # Set the line code format of the interface T1 2/0 to AMI.
  • Page 218: Data-Coding (Ct1/Pri Interface View)

    Use the command to restore the default, that is, 16-bit CRC. undo crc Example # Apply 32-bit CRC to a serial interface formed on interface CT1 interface 2/0. <Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] channel-set 1 timeslot-list 2-6...
  • Page 219: Display Controller T1

    Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least one out of every eight bits is a one. When AMI encoding is adopted on a T1 interface, the use of data inversion can eliminate the presence of multiple consecutive zeros.
  • Page 220 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs...
  • Page 221 Table 18 Description on the fields of the display controller t1 command Field Description Itf number Number of interframe filling tags Loop back Loopback setting on the interface: local, payload, remote, or not set Alarm State Alarm state Receiver alarm state...
  • Page 222: Error-Diffusion Restraint Config

    View System view Parameter detect-timer: Setting of the error packet detect timer, in the range 30 to 600 (in seconds). renew-timer: Setting of the renew timer, in the range 120 to 2400 (in seconds). threshold: Error packet ratio threshold, in the range 5 to 100 (in percentage).
  • Page 223: Error-Diffusion Restraint Enable

    By default, the error packet detect timer is set to 30 seconds, the renew timer is set to 600 seconds, and the error packet ratio threshold is 20. The setting of renew timer must be at least four times that of the error packet detect timer.
  • Page 224: Error-Diffusion Restraint Restart-Channel

    This command applies to CT1/PRI interfaces and CE1/PRI interfaces only. ■ Example # Bring up channel Serial 2/0:0 (assuming that the channel is shut down by the error packet diffusion restraint function). <Sysname> system-view [Sysname] error-diffusion restraint restart-channel serial 2/0:0...
  • Page 225: Frame-Format (Ct1/Pri Interface View)

    CT1/PRI interfaces support two framing formats, that is, SF and ESF. In SF format, multiple frames can share the same FSC and signaling information, so that more significant bits are available for transmitting user data. The use of ESF allows you to test the system without affecting the ongoing service.
  • Page 226: Itf (Ct1/Pri Interface View)

    The number argument ranges from 0 to 14. type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. On CT1/PRI interfaces, the default interframe filling tag is 0x7E.
  • Page 227: Pri-Set (Ct1/Pri Interface View)

    Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise. You can bundle timeslots on a CT1/PRI interface to form a serial interface and encapsulate it with PPP. After you enable loopback on this serial interface, it is normal that the state of the link layer protocol is reported down.
  • Page 228: Reset Counters Controller T1

    Because a channel set and a PRI set cannot coexist on a CT1/PRI interface, your PRI set creation attempt will fail if the channel-set command is configured. Example # Bundle timeslots 1, 2, and 8 through 12 into a PRI set on CT1/PRI interface T1 2/0. <Sysname> system-view...
  • Page 229: Sendloopcode

    In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back. The format of loopback code can be compliant with ANSI T1.403 or AT&T TR 54016.
  • Page 230 CT1/PRI I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS The sending of remote loopback control code lasts five minutes without affecting the operation of other interfaces. Example # Send in-band LLB activation request code. <Sysname> system-view [Sysname] controller t1 2/0 [Sysname-T1 2/0] sendloopcode inband-llb-up...
  • Page 231: Display Fe1

    E1-F interfaces. If the specified interface is a common serial interface rather than an E1-F interface, the system will display the prompt. Example # Display the information about an E1-F interface.
  • Page 232: Fe1 Cable

    Use the command to restore the default. undo cable By default, the long keyword applies. Example # Set the cable length type on E1-F interface Serial 2/0 to short. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] fe1 cable short fe1 clock...
  • Page 233: Fe1 Code

    Use the undo fe1 code command to restore the default, that is, HDB3. Keep the line code format of the interface in consistency with that used by the remote device. Example # Set the line code format of interface Serial 2/0 to AMI.
  • Page 234: Fe1 Frame-Format

    Use the command to restore the default, that is, undo fe1 frame-format no-CRC4. An E1-F interface in framed mode supports both CRC4 and no-CRC4 framing formats, where CRC4 supports four-bit CRC on physical frames while no-CRC4 does not. Example # Set the framing format of E1-F interface Serial 2/0 to CRC4.
  • Page 235: Fe1 Timeslot-List

    Use the undo fe1 timeslot-list command to restore the default. By default, all the timeslots on the E1-F interface are bundled to form a 1984 kbps interface. Timeslot bundling results in interface rate change. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 × 64 kbps.
  • Page 236: Fe1 Idlecode

    ONFIGURATION OMMANDS Only one channel set can be created on an E1-F interface, and this channel set is associated with the current synchronous serial interface. On a CE1/PRI interface, however, you may create multiple channel sets; for each of them, the system automatically creates a synchronous serial interface.
  • Page 237: Fe1 Unframed

    The number argument ranges from 0 to 14. type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. The default is 0x7E.
  • Page 238 NTERFACE ONFIGURATION OMMANDS When the E1-F interface is working in unframed mode, it is a 2048 kbps interface without timeslot division and is logically equivalent to a synchronous serial interface. When it works in framed mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for synchronization.
  • Page 239: Display Ft1

    T1-F interface. If the specified interface is a common serial interface rather than a T1-F interface, the system will display the prompt. Example # Display information about T1-F interface Serial 2/0.
  • Page 240 0 Line Code Violations, 0 Path Code Violations 0 Ais Alarm Secs, 286 Los Alarm Secs 7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs...
  • Page 241 Sync Detected: 0 synchronization state, and the number of detected synchronizations Time: 0 minute(s), Time past: 0 minute(s) The duration of the BERT test and the time that has elapsed Bit Errors (since test started) Number of bit errors received since the start of the...
  • Page 242: Ft1 Bert (T1-F Interface View)

    T1-F interface view Parameter pattern: Sets a bit error rate test (BERT) pattern, which could be 2^15 or 2^20. 2^15: Two to the fifteenth power, length of transmitted BERT pattern in bits. 2^20: Two to the twentieth power, length of transmitted BERT pattern in bits.
  • Page 243: Ft1 Cable

    T1-F interface supports only 2^15 and 2^20 at present. When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line.
  • Page 244: Ft1 Clock

    ONFIGURATION OMMANDS You may use this command to adapt signal waveform to different transmission conditions such as the quality of the signal received by the receiver. If the signal quality is good, you can just use the default setting. Example # Set the cable length to 40.5 meters (133 feet) on T1-F interface Serial 2/0.
  • Page 245: Ft1 Data-Coding

    Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least at least one out of every eight bits is a one. When AMI encoding is adopted on a T1-F interface, the use of data inversion can eliminate presence of multiple consecutive zeros.
  • Page 246: Ft1 Frame-Format

    FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code. You can however change the setting depending on the setting at the far end. Example # Implement ANSI T1.403 FDL on T1-F interface Serial 2/0.
  • Page 247: Ft1 Idlecode

    Use the command to restore the default, that is, 0x7E. undo ft1 idlecode The line idle code is sent in the timeslots that are not bundled into the logical channels on the interface. Example # Set the line idle code to 0x7E on T1-F interface Serial 2/0.
  • Page 248: Ft1 Loopback

    NTERFACE ONFIGURATION OMMANDS type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. On a T1-F interface, the default interframe filling tag is 0x7E.
  • Page 249: Ft1 Timeslot-List

    { 56k | 64k }: Time slot bundling speed in kbps. If 56k applies, timeslots are bundled into an N × 56 kbps bundle. If 64k (the default) applies, timeslots are bundled into an N ×...
  • Page 250: Ft1 Alarm-Threshold

    ONFIGURATION OMMANDS ft1 alarm-threshold Syntax ft1 alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulse-detection | pulse-recovery } value } undo ft1 alarm-threshold View T1-F interface view...
  • Page 251: Ft1 Sendloopcode

    You may configure loopback on the far-end T1-F interface by sending loopback request code. In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back.
  • Page 252 54016. In SF framing, LLB code is sent using the effective bandwidth (slots 1 through 24). In ESF framing, both LLB code and PLB code are sent/received in the FDL in ESF frames. You can use this command only when the far-end CT1/PRI interface can automatically detect loopback request code from the network.
  • Page 253: Bert (Ce3 Interface)

    You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to “display controller e1” on page 205.
  • Page 254: Controller E3

    HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Example # Perform BERT test in QRSS mode on CE3 2/0 interface, setting the duration to ten minutes. <Sysname> system-view [Sysname] interface E3 2/0 [Sysname-E3 2/0] bert pattern qrss time 10 clock (CE3 interface view)
  • Page 255: Display Controller E3

    16-bit CRC. Related command: e1 channel-set, e1 unframed, using (CT3 interface view). Example # Apply 32-bit CRC to a serial interface formed on interface E3 2/0 in unchannelized mode. <Sysname> system-view [Sysname] controller e3 2/0...
  • Page 256 CE3 interfaces. In addition to the state information of the CE3 interface, the command displays information about each E1 line on the CE3 interface if the interface is working in CE3 mode. Example # Display information about interface E3 2/0.
  • Page 257: E1 Bert

    You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to “display controller e1” on page 205.
  • Page 258: E1 Channel-Set

    Specifies timeslots to be bundled. The list argument is timeslot numbers, in the range of 1 to 31. You may specify a single timeslot by specifying a number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.
  • Page 259: E1 Set Frame-Format

    When the CE3 interface is working in channelized mode, you can set separate clock for each E1 line on it. Example # Use the internal clock as the clock source on the first E1 line on interface E3 2/0. <Sysname> system-view [Sysname] controller e3 2/0...
  • Page 260: E1 Set Loopback

    By default, loopback is disabled on E1 lines. If an E1 line encapsulated with PPP is in loopback mode, it is normal that the state of the link layer protocol is reported down. Example # Set the first E1 line on interface E3 2/0 in internal loopback mode.
  • Page 261: E1 Unframed

    2048 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: e1 channel-set. Example # Set the first E1 line on interface E3 2/0 to operate in unframed mode. <Sysname> system-view [Sysname] controller e3 2/0 [Sysname-E3 2/0] e1 1 unframed Syntax...
  • Page 262 FE3 mode. This keyword can be followed by 0 or 1 keyword, as described below:. 0: Specifies the Digital Link mode, where the subrate is a multiple of 358 kbps and ranges from 358 to 34010 kbps (that is, up to 95 rate levels are available).
  • Page 263: National-Bit

    By default, loopback is disabled on the CE3 interface. Loopback is intended for test use. Disable it otherwise. If a CE3 interface encapsulated with PPP is placed in a loopback, it is normal that the state of the link layer protocol is reported down.
  • Page 264: Using (Ce3 Interface View)

    CE3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS You need to set the national bit to 0 on an E3 interface only in some special circumstances. Related command: controller e3. Example # Set the national bit to 0 on interface E3 2/0.
  • Page 265: Alarm (Ct3 Interface View)

    (CT3 interface view) Syntax alarm { detect | generate { ais | febe | idle | rai } } undo alarm { detect | generate { ais | febe | idle | rai } } View CT3 interface view Parameter detect: Enables/disables periodical alarm signal detection.
  • Page 266: Bert (Ct3 Interface View)

    <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] alarm generate ais bert (CT3 interface view) Syntax bert pattern { 2^7 | 2^11 | 2^15 | qrss } time number [ unframed ] undo bert View CT3 interface view Parameter pattern: Sets a bit error rate test (BERT) pattern, which could be 2^7, 2^11, 2^15, or QRSS.
  • Page 267: Cable (Ct3 Interface View)

    If connected to a CT3 interface on another router, the local end can use whichever clock so long as it is different from the one adopted at the remote end.
  • Page 268: Controller T3

    17: F CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Example # Use the internal clock as the clock source on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] clock master controller t3 Syntax controller t3 interface-number View...
  • Page 269: Display Controller T3

    Example # Apply 32-bit CRC to a serial interface formed on interface T3 2/0 in unchannelized mode. <Sysname> system-view [Sysname] controller t3 2/0 [Sysname-T3 2/0] using t3 [Sysname-T3 2/0] quit [Sysname] interface serial 2/0/0:0 [Sysname-Serial2/0/0:0] crc 32 # Apply 16-bit CRC to a serial interface formed on interface CT3 2/0 in channelized mode.
  • Page 270 Bit errors (since test started): 0 bits Bits received (since test started): 0 Kbits Bit errors (since latest sync): 0 bits Bits received (since latest sync): 0 Kbits Table 21 Description on the fields of the display controller t3 command Field Description T3 2/0 current state...
  • Page 271 Message data elements MDL data elements EIC: line, LIC: line, FIC: line, UNIT: line EIC, LIC, FIC, and UNIT are four elements present in all types of MDL messages. Their values are user configurable and default to line. FI: line, PORT_NO: line, GEN_NO: line FI is found in MDL path messages, PORT_NO in MDL idle signal messages, and GEN_NO in MDL test signal messages.
  • Page 272 CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS Table 21 Description on the fields of the display controller t3 command Field Description Data in current interval: Statistics spanning the current 15-minute interval, coving the counts of these items: Line Code Violations...
  • Page 273: Feac (Ct3 Interface View)

    { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } } undo feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } }...
  • Page 274: Frame-Format (Ct3 Interface View)

    # Sends DS3 LOS signal on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] feac generate ds3-los # On CT3 interface T3 2/0, send loopback code to the far end to place the far end in a line loopback. <Sysname> system-view [Sysname] interface t3 2/0...
  • Page 275 Parameters dsu-mode: Specifies the FT3 (Fractional T3) DSU mode for a CT3 interface operating in FT3 mode. This keyword can be followed by 0, 1, 2, 3, and 4, as described below. 0: Specifies the Digital Link mode, where the subrate is a multiple of 300746 bps and ranges from 300 to 44210 kbps (that is, up to 147 rate levels are available).
  • Page 276: Loopback (Ct3 Interface View)

    (CT3 interface view) Syntax mdl { detect | data { eic string | fic string | | gen-no string | lic string | pfi string | port-no string | unit string } | generate { idle-signal | path | test-signal } }...
  • Page 277 MDL is a channel formed by using the three C-bits in the fifth subframe in C-bit framing. According to ANSI T1.107a, it is used to transmit three types of maintenance messages, path, idle signal, and test signal, and its data frame format is LAPD.
  • Page 278: T1 Alarm

    At the startup of the router, periodical alarm signal detection is enabled on all T1 lines on the CT3 interface. When a T1 line detects LOS, LOF, or AIS signals, it sends RAI signals to its peer. Alarm state report for the interface is real time; you may view that with the display controller t3 command.
  • Page 279: T1 Bert

    [Sysname] interface t3 2/0 [Sysname-T3 2/0] t1 1 alarm generate ais t1 bert Syntax t1 line-number bert pattern { 2^11 | 2^15 | 2^20 | 2^23 | qrss } time number [ unframed ] undo t1 line-number bert View CT3 interface view Parameter line-number: T1 line number, in the range 1 to 28.
  • Page 280: T1 Channel-Set

    { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots is bundled into an N × 56 kbps bundle. If 64k, the default, is selected, the timeslots is bundled into an N ×...
  • Page 281: T1 Sendloopcode

    193 bits of T1) or the FDL in ESF frames. Example # Send the in-band signal on T1 line 1 on CT3 interface T3 2/0 to place the far-end T1 line in line loopback mode.
  • Page 282: T1 Set Clock

    When a CT3 interface is working in channelized mode, its T1 lines may use separate clocks. Example # Use the internal clock as the clock source on the first T1 line on interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0...
  • Page 283: T1 Set Loopback

    By default, loopback is disabled on T1 lines. Loopback is intended for test use. Disable it otherwise. If a T1 line encapsulated with PPP is placed in loopback mode, it is normal that the state of the link layer protocol is reported down.
  • Page 284: T1 Show

    These two commands only apply to channelized T1 lines with their T1 frame format being ESF. Example # Set the FDL to be ANSI T1.403 compliant for T1 line 1 on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0...
  • Page 285: T1 Shutdown

    Example # Display line state of T1 line 1 on CT3 interface T3 2/0. <Sysname> system-view [Sysname] interface t3 2/0 [Sysname-T3 2/0] t1 1 show T3 2/0 CT1 1 is up Frame-format ESF, clock slave, loopback not set FDL Performance Report is disabled...
  • Page 286: T1 Unframed

    This interface operates at 1544 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations. Related command: t1 channel-set. Example # Set the first T1 line on interface T3 2/0 to work in unframed mode.
  • Page 287: Using (Ct3 Interface View)

    You can configure T1 lines on CT3 interfaces operating in channelized mode only. When a CT3 interface operates in unchannelized mode, the system automatically creates a serial interface numbered serial number/0:0 for it. This interface operates at 44.736 Mbps and is logically equivalent to a synchronous serial...
  • Page 288 17: F CT3 I HAPTER UNDAMENTAL NTERFACE ONFIGURATION OMMANDS...
  • Page 289: Loopback (Isdn Bri Interface View)

    Use the loopback command to sets the B1, B2, or both channels on the ISDN BRI interface in external loopback. This can send data from a line back to the line. Use the undo loopback command to restore the default.
  • Page 290 18: ISDN BRI I HAPTER NTERFACE ONFIGURATION OMMANDS...
  • Page 291: Atm-Class

    Use the command to delete the specified ATM class. undo atm class An ATM class is a group of predefined parameters that can be used for ATM interface or PVC. Related command: atm-class. Example # Create an ATM class named “main” and enter ATM class view.
  • Page 292: Atm-Link Check

    This command applies only to ATM P2P sub-interfaces. Example # Enable the protocol state of ATM P2P sub-interface 4/0.1 to change depending on whether the physical interface is up and whether a PVC is configured on the sub-interface. <Sysname> system-view [Sysname] interface atm 4/0.1 p2p...
  • Page 293: Display Atm Class

    Use the command to restore the default. undo clock By default, ATM interface uses line clock signal (slave). This clock signal is usually provided by device which provides ATM interfaces. When two network devices are connected back-to-back through their ATM interfaces, you need to configure one interface to adopt the signal of the internal transmission clock.
  • Page 294: Display Atm Interface

    Note that: If you provide the interface-number argument, this command displays the information about the ATM interface identified by the argument. If you do not provide the argument, this command displays the information about all the ATM interfaces. Example # Display the information about ATM 4/0 interface.
  • Page 295: Display Atm Map-Info

    Parameter interface-type interface-number: Specifies an interface by its type and number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
  • Page 296: Display Atm Pvc-Group

    Parameter interface-type interface-number: Interface type and interface number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
  • Page 297: Display Atm Pvc-Info

    Parameter interface-type interface-number: Interface type and number. pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed.
  • Page 298: Encapsulation

    (one or more of IPoA, IPoEoA, PPPoA and PPPoEoA). When such cases occur, the system gives a prompt. Example # Specify the AAL5 encapsulation of PVC 1/32 on ATM 1/0 interface to aal5snap. <Sysname>system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc 1/32...
  • Page 299: Ip-Precedence

    [Sysname] interface atm 1/0.1 p2p [Sysname-Atm1/0] ip-precedence Syntax ip-precedence { pvc-name [ vpi/vci ] | vpi/vci } { min [ max ] | default } undo ip-precedence { pvc-name [ vpi/vci ] | vpi/vci } View ATM PVC-group view Parameter pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive.
  • Page 300: Map Bridge

    For details regarding the value range, refer to Table 28. min: Minimum precedence of IP packets carried by the PVC, in the range 0 to 7. max: Maximum precedence of IP packets carried by the PVC, in the range 0 to 7.
  • Page 301: Map Ip

    Syntax In PVC view: map ip { ip-address [ ip-mask] | default | inarp [ minutes ] } [ broadcast ] undo map ip { ip-address | default | inarp } In ATM class view: map ip inarp [ minutes ] [ broadcast ]...
  • Page 302: Map Ppp

    A mapping with the default route property is set. If a packet cannot find a mapping with the same address of next hop at the interface, but one PVC has the default mapping, the packet can be sent over the PVC.
  • Page 303 FIFO queue is 75), MTU which is too small may cause numerous fragments and thus be dropped by the QoS queue. In this case, the length of the QoS queue can be increased appropriately. The default queue dispatching...
  • Page 304: Oam Ais-Rdi

    Note that the oam ais-rdi command is not applicable to the secondary PVCs of a PVC group. The primary PVC of a PVC group is the PVC based on which the PVC group is ■ created.
  • Page 305: Oam Frequency

    Parameter frequency: Time interval to send operations, administration, and maintenance (OAM) F5 Loopback cells, in seconds, and the range of the value is 1 to 600. up-count: Number of OAM F5 Loopback cells. A PVC goes up only when the number of the OAM F5 Loopback cells successively and correctly received reaches the number specified by this argument.
  • Page 306: Oamping Interface

    OAM cells over the specified PVC on the specified ATM interface so as to check the link state. If no response is received within the specified time, this means that the link is bad, or too busy that packets are lost.
  • Page 307 Parameter pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, not case-sensitive. The name cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed. vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier; its value ranges from 0 to 255.
  • Page 308: Pvc-Group

    The encapsulation command and the oam-related commands are not applicable to secondary PVCs. The configurations corresponding to these commands on the primary PVC of a PVC group apply to all the secondary PVCs in the PVC group. Related command: ip-precedence, pvc.
  • Page 309: Pvp Limit

    Maximum number of PVCs allowed. The value range varies by the type of physical interface, as shown in the following table. Table 29 The maximum number of PVCs supported on different types of ATM interfaces Interface type Maximum number...
  • Page 310: Service Cbr

    By default, the service type is UBR after creating a PVC. You can use this command to set the PVC service type and the rate parameter. The newly specified PVC service type will replace the existing service type. You are recommended to create the PVC with larger bandwidth first and then the one with smaller bandwidth.
  • Page 311: Service Ubr

    # Create a PVC named “a” with the VPI/VCI value of 1/101. <Sysname> system-view [Sysname] interface atm 1/0 [Sysname-Atm1/0] service pvc aa 1/101 # Specify the service type of the PVC as ubr and the peak cell rate of ATM cell as 100,000 kbps. [Sysname-atm-pvc-Atm1/0-1/101-aa] service ubr 100000 service vbr-nrt...
  • Page 312: Service Vbr-Rt

    [Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc aa 1/101 # Specify the service type of the PVC as VBR-NRT and set the peak bit rate of ATM cell to 100,000 kbps, the sustainable bit rate to 50,000 kbps and the maximum burst size to 320 cells.
  • Page 313: Shutdown

    [Sysname] interface atm 1/0 [Sysname-Atm1/0] pvc aa 1/101 # Specify the service type of the PVC as VBR-RT and set the peak cell rate of ATM to 100,000 kbps, the sustainable cell rate to 50,000 kbps, and the maximum burst size to 320 cells.
  • Page 314: Transmit-Priority

    By default, the transmission priority of UBR service, VBR-NRT service, and VBR-RT service are 0, 5, and 8. If you change the service type of a PVC, the transmission priority of the PVC changes to the default for the current service.
  • Page 315: Dialer Bundle

    By default, dialer interfaces are not associated with any dialer bundle in RS-DCC. This command applies only to dialer interfaces. In addition, a dialer interface can be associated with only one dialer bundle.
  • Page 316: Dialer Callback-Center

    Related command: dialer bundle. Example # Assign interface BRI 1/0 to Dialer bundle 1 and Dialer bundle 2, with a priority of 50 in both. <Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] dialer bundle-member 1 priority 50...
  • Page 317: Dialer Call-In

    Related command: ppp callback in PPP Commands in Access Volume. Example # Specify the device as the PPP callback server, and set the callback reference to user mode. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] ppp callback server [Sysname-Serial2/0] dialer callback-center user [Sysname-Serial2/0] dialer route ip 1.1.1.2 user Sysnameb 8810052...
  • Page 318: Dialer Circular-Group

    By default, a dialer circular group does not include any physical interfaces. In C-DCC, you can assign a physical interface to a dialer interface by assigning it to the dialer circular group associated with the dialer interface. While a physical interface can belong to only one dialer interface, a dialer interface includes all physical interfaces assigned to its associated dialer circular group.
  • Page 319: Dialer Disconnect

    Use the command to disable C-DCC. undo dialer enable-circular By default, C-DCC is enabled on ISDN BRI and PRI interfaces but disabled on other interfaces. You need to enable C-DCC before you can use it. To use resource-shared DCC (RS-DCC) on a dialer interface, you need to configure...
  • Page 320: Dialer Flow-Interval

    View Dial interface (Physical interface) view Parameter number: Number of the ISDN B channel for leased line connection. It ranges from 0 to 1 for a BRI interface, and 0 to 30 (with 15 excluded for the control channel)
  • Page 321: Dialer Number

    PRI interface, and 0 to 23 (with 23 excluded for the control channel) for a CT1/PRI interface. Description Use the command to configure an ISDN B channel for leased dialer isdn-leased line connection. Use the command to remove the configuration.
  • Page 322: Dialer Priority

    View Dial interface (physical) view Parameter priority: Priority of the physical interface in a dialer circular group, in the range 1 to 127. Description Use the command to assign a priority to the physical interface in dialer priority its dialer circular group in C-DCC approach.
  • Page 323: Dialer Route

    Optional, mask length of the IP address of the dialed destination, in the range 0 to 32. If no mask length is specified, the default, 32, applies, where the next-hop-address argument is handled as a host address. If you want to set the next-hop-address argument to a network address, you must specify its mask length.
  • Page 324: Dialer Threshold

    If the user keyword is used, PPP authentication must be configured. You may configure multiple dialer routes on a dial interface or for a destination address for the backup purpose. If the dialer-group command is not configured, DCC will not dial.
  • Page 325: Dialer Timer Autodial

    By default, MP flow control is not enabled. In DCC applications, you may configure load thresholds for links. If you set a link load threshold in the range 1 to 99, MP tunes allocated bandwidth according to actual traffic percentage as follows: When the percentage of traffic on a link to bandwidth exceeds the defined ■...
  • Page 326: Dialer Timer Compete

    In the auto-dial approach, dial attempts to set up connection are not traffic triggered; once a connection is set up, it will not disconnect for idle-timeout. The use of auto-dial thus voids the dialer timer idle command.
  • Page 327: Dialer Timer Enable

    By default the link holddown timer is five seconds A holddown timer starts upon disconnection of a link. The call attempt to bring up this link can be made only after the timer expires. This is to prevent a remote PBX from being overloaded.
  • Page 328: Dialer Timer Wait-Carrier

    A link idle-timeout timer starts upon setup of a link. If no interesting packets are present before the timer expires, DCC disconnects the link. If the timer is set to 0, the link will never be disconnected, regardless of whether there are interesting packets on the link or not.
  • Page 329: Dialer-Group

    View Dial interface (physical or dialer) view Parameter group-number: Number of a dialer access group, in the range 1 to 255. You may define it with the dialer-rule command. Description Use the command to assign the interface to a dialer access group.
  • Page 330: Dialer-Rule

    Specifies an ACL by its ACL number. The acl-number argument ranges from 2000 to 3999. An ACL number in the range 2000 to 2999 identifies a basic ACL; an ACL number in the range 3000 to 3999 identifies an advanced ACL.
  • Page 331: Display Dialer

    For DCC to send packets normally, you must configure a dial ACL and associate it with the concerned dial interface (physical or dialer) by using the dialer-group command.
  • Page 332: Display Interface Dialer

    Use the command to display the information about a display interface dialer dialer interface. If you do not provide this argument, this command displays the information about all the dialer interfaces. Examples # Display the information about all the dialer interfaces.
  • Page 333: Interface Dialer

    Therefore, authentication must be configured on these physical interfaces, so as to use the username of a dial-in party to locate the corresponding dialer interface for the call. In this mode, physical interfaces and dialer interfaces are dynamically bound.
  • Page 334: Ppp Callback

    If a return call is needed, the callback server disconnects and then originates a return call according to the information such as username or callback number. This is useful for saving cost in the case that the call rates in two directions are different. Example # Configure interface Serial 2/0 as the PPP callback server to accept callback requests.
  • Page 335 Windows NT Server requires PPP callback clients to send callback numbers. Related command: ppp callback. Example # Set the dial string for a Windows NT server to call back the router to 1234567. <Sysname> system-view [Sysname] interface dialer 1 [Sysname-Dialer1] ppp callback ntstring 1234567...
  • Page 336 20: DCC C HAPTER ONFIGURATION OMMANDS...
  • Page 337: Display Dlsw Circuits

    Syntax display dlsw circuits [ circuit-id ] [ verbose ] View Any view Parameter circuit-id: Specifies the ID of a DLSw virtual circuit, in the range of 0 to 0xFFFFFFFF. verbose: Displays the detailed information of the virtual circuits.
  • Page 338: Display Dlsw Information

    [ local | ip-address ] View Any view Parameter local: Displays the local information about capabilities exchange. ip-address: Specifies the IP address of the remote peer to display the capabilities exchange information about. Description Use the command to display the DLSw capabilities display dlsw information exchange information.
  • Page 339: Display Dlsw Remote

    Syntax display dlsw remote [ ip-address ] View Any view Parameter ip-address: Specifies the IP address of the remote peer to display the information about. Description Use the display dlsw remote command to display the information of a remote peer or all remote peers.
  • Page 340: Display Dlsw Reachable-Cache

    ■ Total peers number Total number of remote peers IP address Remote peer IP address (if preceded by a *, this remote peer can establish a connection; otherwise, this remote peer is inactive and only serves as a backup) frame-in...
  • Page 341: Display Llc2

    Syntax display llc2 [ circuit circuit-id ] View Any view Parameter circuit-id: ID of an LLC2 virtual circuit, in the range of 0 to 4294967295. Description Use the command to display LLC2 statistics. display llc2 Example # Display the statistics of the LLC2 virtual circuit by the ID of 46465025.
  • Page 342: Dlsw Bridge-Set

    View System view Parameter bridge-set: ID of the bridge set to be mapped to DLSw, in the range of 1 to 63. Description Use the command to map the specified bridge set to DLSw. dlsw bridge-set...
  • Page 343: Dlsw Ethernet-Frame-Filter

    Description Use the dlsw ethernet-frame-filter command to configure the DLSw router to filter Ethernet frames from or to the local SNA device by applying the specified ACL for inbound or outbound traffic. Use the command to remove the ACL undo dlsw ethernet-frame-filter applied for the inbound or outbound traffic.
  • Page 344: Dlsw Local

    40 (frames). keepalive-interval: Interval between keepalive messages, in seconds. The effective range is 0 to 1,200, and the default is 30 seconds. A value of 0 indicates that no keepalive message will be sent. max-frame-size: Maximum frame size in bytes. Effective values include 516, 1,470, 1,500, 2,052, 4,472, 8,144, 11,407, 11,454, and 17,800, and the default is 1,500 bytes.
  • Page 345: Dlsw Reachable

    List of local reachable SAP addresses of the router, in the form of saps-list=saps-value&<1-120>, where saps-value must be an even number in the range of 0x10 to 0xFE and &<1-120> means that you can specify up to 120 SAP addresses or SAP address ranges with this argument.
  • Page 346: Dlsw Reachable-Cache

    By default, no remote reachability information is configured. This configuration allows the router to send frames to a remote peer without first polling it. When changes occur to the network of the remote peer, the configured reachability information needs to be updated.
  • Page 347 Interval in seconds between keepalive messages, in the range of 0 to 1,200. The default is 30 seconds. A value of 0 indicates no keepalive will be sent. minutes: Timeout time of the backup connection after the primary remote peer is disconnected, in units of minutes.
  • Page 348: Dlsw Reverse

    If the remote SNA device uses an SDLC link, specify a compound MAC address, ■ in which the first five bytes are from the virtual MAC address configured in the sdlc mac-map local command on the remote router, and the last byte is the SDLC address of the local router.
  • Page 349: Dlsw Multicast

    Each time the origin DLSw v2.0 router sends an explorer frame in a UDP multicast or unicast, an explorer timer starts. If no acknowledgment is received before the explorer timer times out, the router retransmits the explorer frame and resets the explorer timer, until it receives an acknowledgment or the maximum number of explorer frame retries is reached.
  • Page 350: Dlsw Timer

    OMMANDS dlsw timer Syntax dlsw timer { cache | connected | explorer | explorer-wait | local-pending | remote-pending } seconds undo dlsw timer { cache | connected | explorer | explorer-wait | local-pending | remote-pending } View System view Parameter cache seconds: Timeout time of addresses in SNA cache, in seconds.
  • Page 351: Link-Protocol Sdlc

    SDLC as link layer encapsulation protocol. By default, the default link layer protocol is PPP. For SNA, SDLC is a link layer protocol, working very similarly as HDLC. To ensure that DLSw works normally, you need to enable SDLC as the link layer...
  • Page 352: Llc2 Max-Ack

    HAPTER ASIC ONFIGURATION OMMANDS Note that you need to remove all IP related configurations on the interface before enabling SDLC, because SDLC cannot underlie the IP protocol. For example, you need to delete the IP address of the interface. Example # Configure Serial 2/0 to use SDLC as the link layer encapsulation protocol.
  • Page 353: Llc2 Max-Send-Queue

    View Ethernet interface view Parameter length: The length of the LLC2 output queue, in the range of 20 to 200. Description Use the llc2 max-send-queue command to configure the length of the LLC2 output queue.
  • Page 354: Llc2 Modulo

    When the frame number reaches the configured value (referred to as “modulus value”), subsequent frames are numbered from 1 again. For example, if the modulus value is set to 8, frames are numbered ...4, 5, 6, 7, 0, 1, ...
  • Page 355: Llc2 Timer Ack

    Parameter length: The maximum number of consecutive information frames the router can send before receiving an acknowledgment from the peer, in the range of 1 to 127. Description Use the command to configure the maximum number of llc2 receive-window consecutive information frames the router can send before receiving an acknowledgment from the peer.
  • Page 356: Llc2 Timer Busy

    LLC2 local llc2 timer ack-delay acknowledgment delay time, namely the maximum length of time the device waits before sending an acknowledgment to the peer end upon receiving an LLC2 frame. Use the command to restore the default setting.
  • Page 357: Llc2 Timer Poll

    When a router sends a frame that requires an acknowledgment, the frame is sent with a poll bit set. This frame is known as a P frame. Once the router sends a P frame, it cannot send any other P frame until it receives an acknowledgment, namely a frame with a final bit set, or until the LLC2 P/F waiting time expires.
  • Page 358: Llc2 Timer Reject

    View Ethernet interface view Parameter mseconds: LLC2 REJ status time in milliseconds. The effective range is 1 to 60,000. Description Use the command to configure the LLC2 REJ status time, llc2 timer reject namely the amount of time the router waits for the expected frame after it receives an unexpected frame and sends a reject frame.
  • Page 359: Reset Dlsw Tcp

    DLSw_TCP 4.4.4.2:The remote peer is learned dynamically ,it will be deleted DLSW_TCP 4.4.4.3:Rebulid tcp with the peer # Reset the TCP connection with a remote peer with the IP address of 4.4.4.2. <Sysname> reset dlsw tcp 4.4.4.2 DLSw_TCP 4.4.4.2:The remote peer is learned dynamically ,it will be deleted...
  • Page 360: Sdlc Controller

    SDLC station connected with the serial interface. An SDLC address ranges from 0x01 to 0xFE. The SDLC address of a router is valid on only one physical interface. That is, the SDLC addresses configured on different...
  • Page 361: Sdlc Enable Dlsw

    By default, DLSw forwarding is not enabled on the serial interface. Before enabling DLSw forwarding on the serial interface, enable SDLC as the link layer protocol on the interface. With DLSw forwarding enabled on the SDLC interface, all local SNA devices connected to the interface will be able to communicate with the remote device through DLSw.
  • Page 362: Sdlc Mac-Map Remote

    MAC address during the conversion of SDLC frames to LLC2 frames. Note that the sixth byte of the MAC address should be set to 0x00. The system will combine the first five bytes of this virtual MAC address with the SDLC address into a new MAC address, which will serve as the source MAC address in SDLC-to-LLC2 frame format conversion.
  • Page 363: Sdlc Max-Pdu

    By default, the maximum SDLC PDU size is 265 bytes. The maximum PDU size of some PU2.0 devices is 265 bytes, while that of an IBM AS/400 is 521 bytes. Typically, this maximum PDU size should be configured be the same as on the peer SDLC device.
  • Page 364: Sdlc Max-Transmission

    By default, the length of the SDLC output queue is 50. Example # Set the length of the SDLC output queue to 30 on Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] sdlc max-send-queue 30...
  • Page 365: Sdlc Sap-Map Local

    When the frame number reaches the configured value (referred to as “modulus value”), subsequent frames are numbered from 1 again. For example, if the modulus value is set to 8, frames are numbered ...4, 5, 6, 7, 0, 1, ...
  • Page 366: Sdlc Sap-Map Remote

    By default, the SAP address of the remote DLSw device used in SDLC-to-LLC2 frame format conversion is 0x04. When an SDLC frame is converted to an LLC2 frame, a SAP address is needed in addition to the MAC address. Generally speaking, the SAP address used by the SNA protocol is 0x04, 0x08 or 0x0C.
  • Page 367: Sdlc Status

    SDLC synchronous serial sdlc simultaneous interface to work in two-way simultaneous mode, so that the primary SDLC station can send data to and receive data from a secondary station at the same time. Use the undo sdlc simultaneous command to restore the default mode.
  • Page 368: Sdlc Timer Ack

    HAPTER ASIC ONFIGURATION OMMANDS Example # Set the role of the SDLC device connected with Serial 2/0 to primary, and the role of the local interface to secondary. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] sdlc status secondary sdlc timer ack...
  • Page 369: Sdlc Timer Poll

    View Synchronous serial interface view Parameter mseconds: SDLC polling interval in milliseconds. The effective range is 1 to 10,000. Description Use the sdlc timer poll command to configure the SDLC polling interval, namely the amount of time the primary station waits between polling two secondary stations.
  • Page 370: Sdlc Xid

    PU2.1 devices, but it is required on PU2.0 devices to specify an XID. Example # Set the XID of the device whose SDLC address is 0x05 to 0x2000 on Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0...
  • Page 371: Annexg

    By default, a DLCI interface does operate in the Annex G DCE mode. ANSI T1.617 Annex G defines the way to transmit X.25 packets using FR virtual circuits. Similar to normal X.25 interface, an Annex G interface transmits/receives X.25 PVC and X.25 SVC packets and can operate as an X.25 switching interface.
  • Page 372: Display Fr Dlci-Switch

    Use the command to display the information about the display fr dlci-switch configured FR switching to check if the frame relay switching of a user is correctly configured. The interface specified by interface-type interface-number can only be a main interface. If no interface is specified, this command displays the information about all the main interfaces.
  • Page 373: Display Fr Inarp-Info

    Use the command to display statistics about frame relay display fr inarp-info inverse ARP (INARP) packets, including requests and replies, for the specified or all interfaces. You may use this command to diagnose whether INARP is operating normally. Related command: fr inarp.
  • Page 374: Display Fr Lmi-Info

    You can specify a main interface or a subinterface by providing the interface-type { interface-number | interface-number.subnumber } argument combination. Example # Display information about all frame relay interfaces.
  • Page 375: Display Fr Iphc

    Table 43 Description on the fields of the display fr lmi-info command Field Description Frame relay LMI statistics for interface Terminal type and LMI protocol type for the frame Serial2/1 (DTE, Q933) relay interface T391DTE = 10 (hold timer 10) DTE-side T.391 setting...
  • Page 376: Display Fr Map-Info

    Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
  • Page 377: Display Fr Map-Info Pppofr

    Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
  • Page 378: Display Fr Pvc-Info

    Parameter interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-type argument is an interface type. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
  • Page 379: Display Fr Statistics

    You may use this command to check frame relay traffic statistics and diagnose problems. Example # Display frame relay statistics about received and transmitted packets.
  • Page 380: Display Interface Mfr

    MFR interface or an MFR sub-interface, including configuration, state, and packet statistics. If you do not specify an MFR interface or an MFR sub-interface, this command displays the information about all the MFR interfaces. Example # Display the configuration and status information about interface MFR4.
  • Page 381: Display Mfr

    Use the display mfr command to display configuration and statistics information of multilink frame relay bundle and bundle link. If no bundle or bundle link is specified, information about all bundles and bundle links is displayed. Example # Display configuration and state information about all frame relay bundles and frame relay bundle links.
  • Page 382 Operating state of the bundle interface. Bundle class Class A indicates if there is one bundle link is in up state, the bundle is flagged as up. Moreover, all bundle links should be tagged as down before the bundle is down.
  • Page 383: Display X25 Template

    Table 51 Description on the fields of the display mfr verbose command Field Description 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 Hello acknowledgement messages.
  • Page 384 22: F HAPTER RAME ELAY ONFIGURATION OMMANDS If you do not specify the name argument, this command displays the information of all the X.25 templates. Related command: x25 template, x25-template. Example # Display the configuration of the X.25 template named “vofr”.
  • Page 385: Fr Compression Frf9

    This command is only valid for data messages and IARP messages but not LMI messages. Only when the frame relay packets type of the interface is IETF, can frame relay compression take effect. When this command is configured, the system will automatically change the packet type of the interface into IETF if the frame relay packets type of an interface is not IETF.
  • Page 386: Fr Dlci

    View Interface view Parameter dlci-number: Virtual circuit number allocated for the frame relay interface, in the range 16 to 1007. The range 0 to 15 and 1008 to 1023 are reserved for special purposes. Description Use the command to configure the virtual circuit for frame relay interface fr dlci and enter the corresponding virtual circuit view on the frame relay.
  • Page 387: Fr Dlci-Switch

    IP networks. Related command: fr switching. Example # Configure a static route, allowing the packets on the link with DLCI of 100 on Serial 2/0 to be forwarded over the link with DLCI of 200 on interface Serial 2/1.
  • Page 388: Fr Inarp

    [Sysname-Serial2/0] fr dlci-switch 100 interface serial 2/1 dlci 200 # Configure a static route, allowing the packets on the link with DLCI of 200 on Serial 2/1 to be forwarded over the link with DLCI of 300 on tunnel interface 4.
  • Page 389: Fr Interface-Type

    NNI view or DCE mode. The system supports the three modes. While configuring the frame relay interface type as DCE or NNI, it is unnecessary to perform the fr switching command in the System view. Please note that this is different from the mainstream equipment in the communications field.
  • Page 390: Fr Lmi N391Dte

    Nonstandard compatible compression format. rtp-connections number1: The number of RTP compression connections, in the range 3 to 1000. By default, the number of RTP compression connections is 16. tcp-connections number2: The number of TCP compression connections, in the range 3 to 256. By default, the number of TCP compression connections is 16.
  • Page 391: Fr Lmi N392Dce

    N392 defines the error threshold of that number (N393). That is, if number of errors that occurred to the DCE reaches N392 in N393 events, DCE will consider the errors have reached the threshold and declare the physical channels and all DLCIs to be unavailable.
  • Page 392: Fr Lmi N392Dte

    HAPTER RAME ELAY ONFIGURATION OMMANDS Example # Set frame relay interface Serial 2/0 to operate in DCE mode and set N392 to 5 and N393 to 6. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] link-protocol fr [Sysname-Serial2/0] fr interface-type dce [Sysname-Serial2/0] fr lmi n392dce 5...
  • Page 393: Fr Lmi N393Dce

    View Interface view Parameter n393-value: The value of N392 parameter at the DTE side. It ranges from 1 to 10. Description Use the command to set the N393 parameter at the DCE side. fr lmi n393dce...
  • Page 394: Fr Lmi T392Dce

    View Interface view Parameter t392-value: Value of T392 at the DCE side. The range of the value is 5 to 30, in seconds. Description Use the command to set T392 parameter at the DCE side.
  • Page 395: Fr Lmi Type

    Example # Set the frame relay interface Serial 2/0 to operate in DCE mode and set T392 to 10s. <Sysname> system-view [Sysname] interface serial2/0 [Sysname-Serial2/0] link-protocol fr [Sysname-Serial2/0] fr interface-type dce [Sysname-Serial2/0] fr lmi t392dce 10 fr lmi type Syntax...
  • Page 396: Fr Map Ip

    Syntax fr map ip { ip-address [ mask ] | default } dlci-number [ broadcast | [ nonstandard | ietf ] | compression { frf9 | iphc } ]* undo fr map ip { ip-address | default } dlci-number...
  • Page 397: Fr Switch

    DLCI (corresponds to an Frame Relay PVC) to a PPP link, so the PPPoFR link is established, and thus PPP packets can be sent/received on FR PVC. The configuration parameter of this PPP link is up to the parameters configured on the interface specified by interface virtual-template interface-number.
  • Page 398: Fr Switching

    PVC. Before you can enter frame relay switching view, the PVC must have existed. Example # Create a PVC named pvc1 on the DCE serving as the switch, which is from the DLCI 100 of serial interface 2/0 to the DLCI 200 of serial interface 2/1. <Sysname> system-view...
  • Page 399: Interface Mfr

    MFR interface. For MFR interface, if there is one bundle link is in up state, the MFR physical state is up. Moreover, all bundle links should be tagged as down before the bundle is down.
  • Page 400: Link-Protocol Fr

    By default, the link-layer protocol encapsulated on the interface is PPP. The frame relay encapsulation can be either ietf or nonstandard. IETF encapsulation conforms to RFC 1490, that is, it supports the IETF standard and is compatible with dedicated encapsulation format of mainstream routers.
  • Page 401: Link-Protocol Fr Mfr

    FIFO (first in first out) only even if the other queue types have been encapsulated on the interface, they would be converted to FIFO type by force. Example # Configure Serial 2/0 as a bundle link and add it onto the Frame Relay bundle interface MFR4. <Sysname> system-view...
  • Page 402: Mfr Fragment

    Each MFR bundle has a BID, which only has local significance. Therefore, the same BID can be used at both ends of the link. Note that: In spite of the default BID, you cannot configure a BID as a string in the form of ■ mfr + number.
  • Page 403: Mfr Link-Name

    The peer equipment identifies a frame relay bundle link via LID or associates the bundle link with a frame relay bundle by using LID. LID is locally valid; therefore, the LIDs at both ends of a link can be the same.
  • Page 404: Mfr Retry

    22: F HAPTER RAME ELAY ONFIGURATION OMMANDS Example # Set the bundle LID of the multilink frame relay bundle link Serial 2/0 to be bl1. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] mfr link-name bl1 mfr retry Syntax mfr retry number...
  • Page 405: Mfr Timer Ack

    By default, an MFR interface does not respond to ADD_LINK requests received even if it is in protocol up state. This causes the peer port cannot be in protocol up state. Example...
  • Page 406: Mfr Timer Hello

    By default, the interval for a frame relay bundle link to send hello message is 10 seconds. Only after the link-protocol fr mfr command is used to associate a frame relay bundle link interface with a frame relay bundle, can this command be configured.
  • Page 407: Reset Fr Inarp

    Example # Set the size of the sliding window of the MFR bundle interface MFR4 to be 8. <Sysname> system-view [Sysname] interface mfr 4 [Sysname-MFR4] mfr window-size 8 shutdown Syntax shutdown undo shutdown View Frame relay switching view Parameter None...
  • Page 408: Reset Fr Pvc

    Interface number. dlci dlci-number: DLCI assigned to an FR interface. The dlci-number argument is in the range 16 to 1007. Note that DLCI 0 through 15 and 1008 through 1023 are reserved for special use and are thus unavailable.
  • Page 409: X25 Template

    VC. Annex G implements X.25 over FR. You can configure X.25 parameters for an X.25 over FR DLCI using the x25 template command and apply the template in DLCI interface view. Example # Apply the X.25 template named “vofr” to DLCI 100.
  • Page 410 22: F HAPTER RAME ELAY ONFIGURATION OMMANDS <Sysname> system-view [Sysname] x25 template vofr [Sysname-x25-vofr]...
  • Page 411: Display Garp Statistics

    Specifies an Ethernet port list, in the format of { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges. A port range defined without the to interface-type interface-number portion comprises only one port.
  • Page 412: Garp Timer

    GARP timer. This undo garp timer may fail if the default does not satisfy the dependencies shown in Table 53. By default, the hold timer, the join timer, and the leave timer are set to 10 centiseconds, 20 centiseconds, and 60 centiseconds.
  • Page 413: Garp Timer Leaveall

    When configuring GARP timers, note that their values are dependent on each other and must be a multiplier of five centiseconds. If the value range for a timer is not desired, you may change it by tuning the value of another timer as shown in...
  • Page 414: Reset Garp Statistics

    ONFIGURATION OMMANDS Each time a device on the network receives a LeaveAll message, it resets its leaveall timer. Therefore, a GARP application entity may send LeaveAll messages at the interval set by its leaveall timer or the leaveall timer on another device on the network, whichever is smaller.
  • Page 415: Display Gvrp Statistics

    Specifies an Ethernet port list, in the format of { interface-type interface-number [ to interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 port ranges. A port range defined without the to interface-type interface-number portion comprises only one port.
  • Page 416: Display Gvrp Status

    By default, GVRP is disabled. Configured in system view, the setting is globally effective; configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group.
  • Page 417: Gvrp Registration

    The default GVRP registration type is normal. Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. GVRP provides the following three registration types on a port: Normal -- Enables the port to dynamically register/deregister VLANs, and to ■...
  • Page 418 24: GVRP C HAPTER ONFIGURATION OMMANDS...
  • Page 419: Link-Protocol Hdlc

    Use the command to configure HDLC encapsulation on the link-protocol hdlc interface. As a data link layer protocol, HDLC can carry network layer protocols, such as IP and IPX. By default, PPP encapsulation is configured on an interface. Related command:...
  • Page 420 HAPTER ONFIGURATION OMMANDS You should set the same polling interval on both the local and remote devices. Setting it to zero disables link status check. Example # Set the link status polling interval to 100 seconds on interface Serial 2/0.
  • Page 421: Channel

    Parameter interface interface-type interface-number: Specifies an interface by its type and number. dlci dlci-number: Specifies an FR DLCI. The dlci-number argument is in the range of 16 to 1007. xot ip-address: Specifies the IP address of the peer XOT host.
  • Page 422: Display Interface

    OMMANDS [Sysname-Serial2/1] quit [Sysname] x25 hunt-group hg1 round-robin [Sysname-hg-hg1] channel interface serial 2/1 dlci 100 # Add the XOT channel with a destination of 10.1.1.2 to hunt group hg1. <Sysname> system-view [Sysname] x25 hunt-group hg1 round-robin [Sysname-hg-hg1] channel xot 10.1.1.2...
  • Page 423 DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP Table 55 Description on the fields of the display interface command Field Description Link-protocol is X.25 DCE Ietf Current encapsulation protocol of this interface is X.25 protocol that works in DCE mode, and the data packet encapsulation format is IETF.
  • Page 424: Display X25 Alias-Policy

    26: LAPB X.25 C HAPTER ONFIGURATION OMMANDS Table 55 Description on the fields of the display interface command Field Description window-size 7 Window size of this interface LAPB is 7. max-frame 12056 The maximum length of frame sent by the interface LAPB is 12056 bits.
  • Page 425: Display X25 Cug

    2 <-> network-cug 5 , preferentiallocal-cug <-> network-cug 5 , preferential Table 56 Description on the fields of the display x25 cug command Field Description X.25 Serial2/0, 2 CUGs subscribed Name of the interface, where two CUG mappings are...
  • Page 426: Display X25 Map

    X.25 hunt group. You can use this command to learn the hunt group of the Router and the information about the interfaces and XOT channel inside the hunt group. Related command: x25 hunt-group.
  • Page 427: Display X25 Pad

    0 to 255. Description Use the display x25 pad command to display X.25 PAD connection information. If no pad ID is specified, all PAD connection information will be displayed. Example # Display all X.25 PAD connection information. <Sysname> display x25 pad UI-INDEX130: From remote 22 connected to local 11, State: Normal X.3Parameters(In):...
  • Page 428: Display X25 Switch-Table Pvc

    # Display X.25 PVC switching table. <Sysname> display x25 switch-table pvc (In: Serial1/1-vc1024)<- ->(Out: Serial1/0-vc1) (In: Serial1/0-vc1024)<- ->(Out: Serial1/1-vc1) Table 60 Description on the fields of the display x25 switch-table pvc command Field Description (In: Serial1/1-vc1024)<- ->(Out: Serial1/0-vc1) Data is exchanged between PVC 1024 of Serial 1/1 and PVC 1 of Serial 1/0.
  • Page 429: Display X25 Vc

    Syntax display x25 vc [ lci ] View Any view Parameter lci: Logical channel identifier in the range 1 to 4095. If not specified, all VCs will be displayed. Description Use the display x25 vc command to display X.25 virtual circuit information.
  • Page 430 A PVC is configured manually and exists regardless of the data transmission ■ requirement. When the device works in X.25 switching mode, virtual circuits will be set up in ■ order to transfer data. Information about the three types of virtual circuits can be shown with this command, and only some fields of their outputs differ.
  • Page 431 Input/Output: DATA 9/11 INTERRUPT 0/0 RR 6/2 RNR 0/0 REJ 0/0 Bytes 53/363 Send Queue(Current/Max): 0/200 Table 62 Description on the fields of the display x25 vc command Field Description Interface: Serial2/0 Interface name SVC 1 SVC number State: P4(transmit) SVC state: P4 (transmission state) Map: ip 10.1.1.2 to 130...
  • Page 432: Display X25 X2T Switch-Table

    X2T (X.25 to display x25 x2t switch-table TCP) switching table. The entry exists when the router sets up an XOT connection and is deleted after the connection is closed. Example # Display the X2T switching table on the router.
  • Page 433: Lapb Max-Frame

    MTU 1500, so the default value of N1 is (1500+4)*8 = 12032. If the modulo is set to 128, then the default value of N1 is (1500+5)*8 = 12040. You can use the undo lapb max-frame command to restore the new default. For the same reason, N1 changes with the change of MTU.
  • Page 434: Lapb Modulo

    The default is modulo 8. There are two LAPB frame numbering modes: modulo 8 and modulo 128. Each frame (I frame) is numbered in sequence, in the range 0 to the modulo minus 1. Sequence numbers will cycle within the range.
  • Page 435: Lapb Timer

    3000 milliseconds. t2 t2-value: Value of the timer T2, in the range 1 to 32000 milliseconds. The default is 1500 milliseconds. t3 t3-value: Value of the timer T3, in the range 0 to 255 seconds. The default is 0 seconds. Description Use the command to configure the LAPB timers T1, T2 and T3.
  • Page 436: Link-Protocol Lapb

    Maximum number of sequence numbered frames to be acknowledged by DTE or DCE during any specified time. If the modulo is 8, the value of the window parameter K ranges 1 to 7. If the modulo is 128, the value of the window parameter K ranges 1 to 127.
  • Page 437: Link-Protocol X25

    Example # Configure the link layer protocol and operating mode of Serial 2/0 as LAPB and DCE. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] link-protocol lapb dce link-protocol x25 Syntax link-protocol x25 [ dce |dte ] [ ietf | nonstandard ]...
  • Page 438: Reset Xot

    For SVC, use the reset xot command to clear an XOT link. For PVC, use the reset xot command to reset an XOT link. When you clear or reset the XOT link, you can obtain the required ports using the display x25 xot or display tcp status command.
  • Page 439: Reset Lapb Statistics

    Specifies an interface by its type and number. vc-number: Virtual circuit number of PVC or SVC, in the range 1 to 4095. Description Use the command to reset X.25 protocol statistics or X.25 virtual circuit reset x25 on the specified interface.
  • Page 440: Translate X25

    When a host in the IP network sends packets to the specified IP address and port number of the device, the device will translate these IP packets to X.25 ones and then forward them to the specified X.121 address or PVC in the X.25 network.
  • Page 441: X25 Alias-Policy

    (that is, the called DTE address) carried by this call packet, for example, regularly adding or deleting the prefix and suffix. In this case, you need to set an interface alias for the router to...
  • Page 442: X25 Call-Facility

    [Sysname-Serial2/0] x25 alias-policy left $20112451 With the above configurations, a call whose destination address is 20112451 can be accepted as long as it can reach the local X.25 interface Serial2/0, no matter whether the network is performing the prefix adding operation or suffix adding operation.
  • Page 443: X25 Cug-Service

    It needs two parameters: input window size and output window size. When the modulo is 8, the size is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127.
  • Page 444: X25 Default-Protocol

    If the incoming-access parameter is chosen, the system suppresses incoming ■ calls. That is, it suppresses the incoming calls that has CUG facilities but has no CUG mapping rules allowing them to pass, and lets the incoming calls without CUG facilities pass through.
  • Page 445: X25 Hunt-Group

    By default, no upper-layer protocol is specified. During X.25 SVC setup, the called device will check the call user data field of X.25 call request packet. If it is an unidentifiable one, the called device will deny the setup of the call connection.
  • Page 446: X25 Ignore Called-Address

    Related command: x25 response called-address, x25 response calling-address, x25 ignore calling-address. Example # Specify the call request packet from the X.25 interface Serial 2/0 not to carry the called DTE address. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 ignore called-address...
  • Page 447: X25 Local-Cug

    Related command: x25 response called-address, x25 response calling-address, x25 ignore called-address. Example # Specify the call request packet from the X.25 interface Serial 2/0 not to carry the calling DTE address. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 ignore calling-address...
  • Page 448: X25 Map

    DTE with CUG number as 10 wants to call the DTE with CUG number as 20 in the network, the device will first find the map in the map table. If the map is found, change the CUG number of the calling packet to 20 and forward the packet;...
  • Page 449 When the modulo is 8, the size is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127. Description...
  • Page 450: X25 Modulo

    The default is modulo 8 mode. The slip window is the basis for X.25 traffic control, and the key about the slip window is that the sent packets are numbered cyclically in order and are to be acknowledged by the peer end.
  • Page 451: X25 Packet-Size

    DTE shall not exceed this size (otherwise it will trigger the reset of the VC). In this way, the DTE devices at sending end and receiving end are required to have datagram fragmentation and reassembly functions.
  • Page 452: X25 Pvc

    Specifies the input and output window sizes of the PVC. When input-window-size the modulo is 8, it is in the range 1 to 7; when the modulo is 128, output-window-size it is in the range 1 to 127. Description Use the command to configure a PVC route.
  • Page 453: X25 Queue-Length

    By default, no PVC is created. When creating such a PVC, if you do not set the relevant attributes for the PVC, its flow control parameters will be the same as that of the X.25 interface (the flow control parameters on an X.25 interface can be set by the x25 packet-size and x25 window-size commands).
  • Page 454: X25 Receive-Threshold

    Number of packets that can be received before acknowledgement, in the range 0 to input window size. If it is set to 0 or the input window size, this function will be disabled. If it is set to 1, X.25 of the device will send an acknowledgement for each correctly received packet.
  • Page 455: X25 Response Called-Address

    Related command: x25 response calling-address, x25 ignore called-address, x25 ignore calling-address. Example # Specify that the call receiving packet of a call sent from the X.25 interface Serial 2/0 carries the called DTE address. <Sysname> system-view [Sysname] interface serial 2/0...
  • Page 456: X25 Reverse-Charge-Accept

    ONFIGURATION OMMANDS According to X.25, the call reception packet of a call may or may not carry an address code group, depending on the specific network requirements. This command enables users to easily specify whether the call reception packet carries the calling DTE address.
  • Page 457: X25 Roa-List

    Related command: x25 call-facility, x25 map. Example # Define two ROA lists, and apply them to the interfaces Serial 2/0 and Serial 2/1 respectively. <Sysname> system-view [Sysname] x25 roa-list list1 11 23 45...
  • Page 458 Specifies the input and ■ output window sizes of the VC. When the modulo is 8, it is in the range 1 to 7; when the modulo is 128, it is in the range 1 to 127.
  • Page 459: X25 Switch Svc

    <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] x25 switch pvc 1 interface serial 2/1 pvc 2 # Perform the packet switching from Annex G DLCI PVC1 on the Serial2/1 to PVC1 on the Serial2/0. <Sysname> system-view [Sysname] x25 template switch...
  • Page 460 Replaces the source X.121 address, an alphanumeric string of 1 to 15 characters. The system replaces the source DTE address in the call request packet with the source-address. interface interface-type interface-number: Interface type and interface number.
  • Page 461: X25 Switch Svc Hunt-Group

    Serial2/0. <Sysname> system-view [Sysname-Serial2/0] x25 switch svc 20112451 interface serial 2/0 # Configure an SVC to forward the packet to the address 3 through the Annex G DLCI 100 of interface Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0...
  • Page 462: X25 Switch Svc Xot

    ■ With destination address replacement, you can hide X.121 address of DTE inside the hunt group so that the outside DTE knows only the X.121 address of the hunt group, therefore enhancing network security inside the hunt group. With source address replacement, you can hide X.121 address of DTE outside the hunt group so that the inside DTE knows only the source X.121 address...
  • Page 463: X25 Switching

    By default, no X.25 switching route is configured. After configuring the XOT switching command of X.25 SVC, a user can cross IP network from the local X.25 network to implement the interconnection with the remote X.25 network. If a user configures the keepalive attribute, the link detection for XOT will be supported.
  • Page 464: X25 Timer Hold

    X.25 would not send calls to such a destination again within the specified time. If this parameter is set to 0, it is equal to disabling the function. In addition, this function is only effective to the calls originating from the local. That is to say, this parameter is meaningless when the X.25 operates in the switching mode.
  • Page 465: X25 Timer Tx0

    SVC related to the address mapping and the priority is higher than the configuration of the interface. If the value is set to 0, this SVC will be reserved no matter how long it stays ■...
  • Page 466: X25 Timer Tx1

    By default, the timer time on a DTE is 200 seconds, and that on a DCE is 180 seconds. According to X.25, a timer should be started when the DTE sends a call request (or the DCE sends a call indication).
  • Page 467: X25 Timer Tx3

    By default, the timer on a DTE is 180 seconds, and that on a DCE is 60 seconds. According to X.25, a timer should be started when a DTE sends a reset request (or a DCE sends a reset indication).
  • Page 468: X25 Vc-Per-Map

    If the parameter is greater than 1, and the sending window and the sending queue of VC are filled full, the system will create a new VC to the same destination. If the new VC cannot be created, packets will be discarded.
  • Page 469: X25 Window-Size

    By default, the upper and lower limits of two-way channel are 1 and 1024, of incoming-only channel are both 0, and of outgoing-only channel are both 0. By default, X.25 bans the incoming-only and outgoing-only channel sections and reserves only the double direction channel section (in the range 1 to 1024).
  • Page 470: X25 X121-Address

    Please consult your ISP about the input and output window sizes. Unless supported by the network, do not set these two parameters to different values. Example # Set the input and output window sizes on the X.25 interface Serial 2/0 to 5. <Sysname> system-view [Sysname] interface serial 2/0...
  • Page 471 Specifies the input and output window sizes of the VC. If the modulo of the PVC’s interface is 8, the values are in the range 1 to 7; if the modulo is 128, the values are in the range 1 to 127.
  • Page 472: X29 Timer Inviteclear-Time

    The server of X.25 PAD may send an Invite Clear message to the client, for example, after receiving a quit request from client or in order to release the link. At the same time, a timer is started. If no response is received upon expiration of the timer, the server clears the link.
  • Page 473: Display Lacp System-Id

    ] View Any view Parameter interface interface-type interface-number [ to interface-type interface-number ]: Specifies a port range or a port if the to keyword and the second port are not specified. Description Use the command to display detailed display link-aggregation interface information about link aggregation for the specified port or ports.
  • Page 474: Manual Aggregation Group

    HAPTER GGREGATION ONFIGURATION OMMANDS Example # Display detailed information about link aggregation for port Ethernet 1/1 in a manual aggregation group. <Sysname> display link-aggregation interface ethernet 1/1 Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation, D -- Synchronization, E -- Collecting, F -- Distributing,...
  • Page 475: Display Link-Aggregation Summary

    ■ sending system is in the expired state, 1 for true and 0 for false. If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays. Selected AggID ID of the link aggregation group of which this port is a...
  • Page 476: Display Link-Aggregation Verbose

    You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.
  • Page 477 32768 {AG} Remote: Actor Partner Priority Oper-Key SystemID Flag ------------------------------------------------------------------------- GE2/1 32768 0x8000,0000-0000-0000 {EF} Table 75 Description on the fields of display link-aggregation verbose Field Description Loadsharing Type Load sharing type, either shar for loadsharing or NonS for non-load sharing...
  • Page 478: Lacp Port-Priority

    1 for true, and 0 for false E indicates whether the sending system considers that collection ■ of incoming frames is enabled on the link, 1 for true and 0 for false F indicates whether the sending system considers that ■...
  • Page 479: Lacp System-Priority

    View System view Parameter agg-id: Link aggregation group ID, in the range 1 to 144. agg-name: Link aggregation group name, a string of 1 to 32 characters. Description Use the link-aggregation group description command to configure a name...
  • Page 480: Link-Aggregation Group Mode

    { manual | static } undo link-aggregation group agg-id View System view Parameter agg-id: Link aggregation group ID, in the range 1 to 144. manual: Creates a manual link aggregation group. static: Creates a static LACP link aggregation group. Description Use the...
  • Page 481: Port-Group Aggregation

    [ interface interface-type interface-number [ to interface-type interface-number ] ] View User view Parameter interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.
  • Page 482 HAPTER GGREGATION ONFIGURATION OMMANDS Description Use the reset lacp statistics command to clear statistics about LACP on a specified port or ports. Related command: display link-aggregation interface. Example # Clear statistics about LACP on all ports. <Sysname> reset lacp statistics...
  • Page 483: Debugging Lacp Packet

    Default Level 1: Monitor level Parameters interface-type interface-number: Port type and port number. to: Specifies the ports with their port type and port number within the port range enclosed by the two interface-type-interface-number argument pairs around this keyword. Description Use the...
  • Page 484 The length of the Terminator field. ■ Examples # Enable debugging for LACP protocol packets on Ethernet 1/1 to view the information about LACP protocol packet sending/receiving of the port.
  • Page 485 // The device sent an LACP protocol packet through Ethernet 1/1. *0.60323 Sysname LAGG/8/Pkt: size=128, subtype =1, version=1 // The length of the LACP packet was 128 bytes, the protocol sub type was 1, and the version number was 1. Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc02-0300, key=0x...
  • Page 486 // The device received an LACP protocol packet through Ethernet 1/1. *0.1221133 Sysname LAGG/8/Pkt: size=128, subtype =1, version=1 // The length of the LACP packet was 128 bytes, the protocol sub type was 1, and the version number was 1. Actor: tlv=1, len=20, sys-pri=0x8000, sys-mac=00e0-fc00-0000, key=0x...
  • Page 487: Debugging Lacp State

    Syntax debugging lacp state [ interface interface-type interface-number [ to interface-type interface-number ] ] { { actor-churn | mux | partner-churn | ptx | rx } * | all } undo debugging lacp state [ interface interface-type interface-number [ to...
  • Page 488: Debugging Link-Aggregation Error

    Port Ethernet1/2: FSM Rx transfers from state RESERVE to state INITIALIZE by the stimulation Begin_True // RX state machine was initiated and then transited to the INITIALIZE state. The event that triggered the transition was the startup of the state machine (Begin_True).
  • Page 489: Debugging Link-Aggregation Event

    File e:v500d05sp1softwarelacplacp_agm.c, Line: 1200 ERROR------ Portindex: 1 LACP_SendLACPPacket ,g_ucLacpSysMAC NULL ! // File e:v500d05sp1softwarelacplacp_agm.c has a running error, which occurs at line 1200. The ERROR field indicated that the system MAC address obtained is null. debugging link-aggregation event Syntax debugging link-aggregation event...
  • Page 490 HAPTER GGREGATION EBUGGING OMMANDS Examples # Enable debugging for link aggregation events to view the information about the events concerning link aggregation groups. <Sysname> debugging link-aggregation event <Sysname> display link-aggregation summary Aggregation Group Type: S -- Static , M -- Manual...
  • Page 491: Modem

    Use the command to disable modem call-in or call-out. undo modem By default, both modem call-in and call-out are disabled on the interface. Example # Enable receiving incoming Modem calls on User-interface 1. <Sysname> system-view...
  • Page 492: Modem Timer Answer

    By default, the connected external modem is set to non-auto answer mode. Use this command depending on the answer state of the connected external modem. When the modem is in auto-answer mode (AA LED of the modem lights), configure the modem auto-answer command to prevent the router from sending an answer command after the modem answers automatically.
  • Page 493: Sendat

    If you specify to display the executed commands, The AT commands executed are displayed as well. To accept AT commands from the modem, you must first put the modem in AT ■ command mode. So sending commands in transmitting mode is invalid.
  • Page 494 The n argument ranges from 0 to 3. M0 sets a speaker to be off. M1 sets a speaker to be on before carrier signal is detected, M1 is a default setting. M2 sets a speaker to be on when modem is disconnected.
  • Page 495: Service Modem-Callback

    N1 adopts the transmission speed specified by S37 register and ATB commands to negotiate. Forces a modem to be in the online mode. The n argument can be 0, 1 or 3. O0 sets a modem to be in online mode.
  • Page 496 By default, the callback function of modems is disabled. When a modem line is active, that is, when the modem detects the carrier or data is being received, you may enable callback. As the service modem-callback command uses modem scripts to implement callback before entering PPP, it enables callback before accounting is started.
  • Page 497: Display Mirroring-Group

    View Any view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. local: Specifies local port mirroring groups. Description...
  • Page 498: Mirroring-Group Mirroring-Port

    System view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. local: Creates a local port mirroring group/removes all local port mirroring groups.
  • Page 499: Mirroring-Group Monitor-Port

    System view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. monitor-port-id: Port index, in the form of interface-type interface-number.
  • Page 500: Mirroring-Port

    View Interface view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. both: Mirrors both inbound and outbound packets.
  • Page 501: Monitor-Port

    [ mirroring-group groupid ] monitor-port View Interface view Parameter groupid: Port mirroring group number. The value range is 1 to 5 for MSR 20 and BSR 30 series routers and 1 to 10 for MSR 50 series routers. Description Use the...
  • Page 502 30: P HAPTER IRRORING ONFIGURATION OMMANDS...
  • Page 503: Display Interface Mp-Group

    Use the command to view the information about display interface mp-group an existing MP-group interface. If the mp-number argument is not specified, the information about all existing MP-group interfaces is displayed. Example # View the information about the interface MP-group 12.
  • Page 504: Display Interface Virtual-Template

    Virtual template (VT) number, which can be the number of any existing Description Use the command to view the information display interface virtual-template about a VT. If you do not provide the number argument, this command will display the information about all the existing VTs. Related command: interface virtual-template. Example # View the information about VT 1.
  • Page 505: Display Ppp Mp

    Serial1/1:21 (inactive) Serial1/1:22 (inactive) Serial1/1:23 (inactive) Serial1/1:24 (inactive) Table 83 Description on the fields of the display ppp mp command Field Description Mp-group is Mp-group0 The MP-group interface is MP-group0. max-bind Maximum number of links in a MP bundle min-fragment...
  • Page 506: Display Virtual-Access

    Parameter va-number: VA interface number, in the range 0 to 128. dial dialer-number: Specifies a dialer interface number, which is in the range of 0 to 1023. peer peer-address: Specifies the IP address of the peer of the VA interface, expressed in dotted decimal notation.
  • Page 507: Interface Mp-Group

    VA interfaces. VA interfaces are created automatically by the system, and they adopt the settings of specific VTs. A VA interface can be removed due to failures of lower layer connections or user intervention. Example # Display the information about all the VA interfaces adopting the settings of VT 1.
  • Page 508: Interface Virtual-Template

    Use the command to remove a VT. undo interface virtual-template To remove a VT, make sure that all the relevant VA interfaces are removed and the VT is not being used. Example # Create VT 10 interface. <Sysname> system-view...
  • Page 509: Link-Protocol Ppp

    Use the link-protocol ppp command to configure the link-layer protocol encapsulated on the interface as PPP. By default, all interfaces except the Ethernet interface are encapsulated with PPP. Example # Configure interface Serial 1/0 to encapsulate PPP. <Sysname> system-view [Sysname] interface serial 1/0...
  • Page 510: Ppp Authentication-Mode

    In addition, you can also adopt the AAA authentication algorithm list (if defined) to perform authentication. CHAP or PAP is just an authentication process. It is AAA that decides whether the authentication is successful or not. AAA uses a local authentication database or a AAA server to perform authentication.
  • Page 511: Ppp Chap Password

    When the cipher keyword is used, this password can either be in ciphertext or in plain text. The plain text is a string of no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.
  • Page 512: Ppp Ipcp Dns

    By default, the device does not allocate DNS server addresses for its peer. When connected using PPP, a device can assign a DNS server address to its peer after negotiation (usually based on the request of the peer), allowing the peer to...
  • Page 513: Ppp Ipcp Dns Admit-Any

    If a PC is connected to the device using PPP, you can use the winipcfg command or the ipconfig/all command to view its DNS server address assigned by the device. A sysname device can provide a primary DNS server address and a secondary DNS server address.
  • Page 514: Ppp Ipcp Remote-Address Forced

    By default, a device does not request its peer for the DNS server address actively. You can configure a device to request its peer (especially in cases where a device is connected to the operator’s access server through a dialup link) for the DNS server address during PPP negotiation, after which domain names can be resolved on the device.
  • Page 515: Ppp Lqc

    Example # Configure the interface serial 1/0 to allocate the IP address 10.0.0.1 to the peer. The peer may accept this assigned address, or use its self-configured address, or have no IP address. <Sysname> system-view [Sysname] interface serial 1/0 [Sysname-Serial1/0] remote address 10.0.0.1 # Configure the interface serial 1/0 to allocate the IP address 10.0.0.1 to the peer.
  • Page 516: Ppp Mp

    DCC would disconnect the dial-up line, causing LQC not to work. It is not until there are data to transmit, will DDC brings the dial-up line up again and LQC resumes to work.
  • Page 517: Ppp Mp Max-Bind

    MP undo ppp mp binding-mode binding mode. By default, MP binding is based on both the PPP authentication username and the endpoint descriptor. The username is the peer’s username received while performing PAP or CHAP authentication.
  • Page 518: Ppp Mp Min-Bind

    By default, the minimum number of PPP links in an MP bundle is 0, which means that MP dial-up relies on traffic detection. In dial-up application, you sometimes need multiple links to bear services simultaneously to guarantee the minimum bandwidth in transmitting a packet.
  • Page 519: Ppp Mp Min-Fragment

    Specifies the minimum MP outgoing packet size to be fragmented, in bytes. The value ranges from 128 to 1500. If the MP outgoing packet is smaller than this value, it will not be fragmented. If the MP packet is larger than or equal to this value, it will be fragmented.
  • Page 520: Ppp Mp Mp-Group

    With the two commands, you can create an MP-group interface first and then add an interface to the MP-group. It does not matter if you reverse the two steps. Note that only physical interfaces can be added to an MP group. Logical interfaces such as Tunnel interfaces do not support this command.
  • Page 521: Ppp Mp Virtual-Template

    Related command: ppp mp and ppp mp max-bind. Example # Specify the VT interface that corresponds to user 1 as 1, and configure the IP address of the VT as 202.38.60.1. <Sysname> system-view [Sysname] ppp mp user user1 bind virtual-template 1 [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ip address 202.38.60.1 255.255.255.0...
  • Page 522: Ppp Pap Local-User

    When the cipher keyword is used, this password can be either in ciphertext or plain text. The plain text is a string of no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.
  • Page 523: Remote Address

    CAUTION: This command allows the peer device to configure its IP address by itself even if it has received an IP address allocated by the local device. If you do not want this to happen, you must configure the ppp ipcp remote-address forced command to forbid the peer device to configure its own IP address.
  • Page 524: Timer Hold

    Interface view Parameter seconds: Time interval for the interface to send keepalive packet in seconds. The value ranges from 0 to 32767 and defaults to 10. If the value is set to 0, keepalive packet will not be sent. Description Use the command to set the timer to send keepalive packet.
  • Page 525: Ppp Link Efficiency Mechanism Configuration Commands

    When IPHC RTP header compression is applied on an MP link, the compression ■ is performed on the VA (virtual access) interfaces. In this case, you can check the compression information on MP templates, such as VT or Dialer. When IPHC RTP header compression is applied on a normal PPP link, the ■...
  • Page 526: Display Ppp Compression Stac-Lzs

    When IPHC TCP header compression is applied on an MP link, the compression ■ is performed on the VA (virtual access) interfaces. In this case, you can check the compression information on MP templates, such as VT or Dialer. When IPHC TCP header compression is applied on a normal PPP link, the ■...
  • Page 527: Ppp Compression Iphc

    VJ TCP header. By default, the VJ TCP header compression is disabled on PPP interfaces. If a PPP interface is enabled to perform VJ TCP header compression, so should the interface at the opposite end. Example # Enable VJ TCP header compression on interface Serial 1/0.
  • Page 528: Ppp Compression Iphc Rtp-Connections

    HAPTER FFICIENCY ECHANISM ONFIGURATION OMMANDS If the configuration is applied on a MP bundle, you need to shut down and ■ then bring up all the member interfaces of the MP bundle for the configuration to take effect. Related command: ppp compression iphc rtp-connections, ppp compression iphc tcp-connections.
  • Page 529: Ppp Compression Iphc Tcp-Connections

    16. TCP is connection oriented; the number of TCP connections that a link can accommodate is relatively large. The use of compression however requires the router to maintain some information for each connection when compressing headers.
  • Page 530: Ppp Mp Lfi

    If the configuration is applied on a MP bundle, you need to shut down and ■ then bring up all the member interfaces of the MP bundle for the configuration to take effect.
  • Page 531: Ppp Mp Lfi Delay-Per-Frag

    View Virtual template interface view, MP-group interface view, dialer interface view Parameter time: Maximum time delay of LFI fragment in ms, in the range 1 to 1000. Description Use the command to set the maximum time delay ppp mp lfi delay-per-frag for transmitting a LFI fragment.
  • Page 532 32: PPP L HAPTER FFICIENCY ECHANISM ONFIGURATION OMMANDS...
  • Page 533: Pppe Onfiguration E Server

    SID Intf State OIntf RemMAC LocMAC Virtual-Template1:0 Ethernet1/0 0050.ba22.7369 00e0.fc08.f4de Table 84 Description on the fields of the display pppoe-server session all command Field Description PPPoE session identifier Intf The corresponding Virtual-Template interface State State PPPoE of sessions OIntf corresponding Ethernet interface...
  • Page 534: Pppoe-Server Bind

    33: PPP HAPTER ERVER ONFIGURATION OMMANDS Table 85 Description on the fields of the display pppoe-server session packet command Field Description In Packets, Packages received In Octets, Bytes received In Discards, Received and then discarded packages OutP Out Packets, Packages sent...
  • Page 535: Pppoe-Server Max-Sessions Local-Mac

    By default, the value of number is 100. Example # Set the maximum number of PPPoE sessions that can be established at a local MAC address to 50. <Sysname> system-view [Sysname] pppoe-server max-sessions local-mac 50...
  • Page 536: Pppoe-Server Max-Sessions Total

    By default, the value of number is 100. Example # Set the maximum number of PPPoE sessions that can be established by the system with regard to a peer MAC address to 50. <Sysname> system-view [Sysname] pppoe-server max-sessions remote-mac 50...
  • Page 537 Specifies a virtual template interface. Description Use the command to terminate a PPPoE session on the reset pppoe-server server side. Example # Terminate the session established on virtual template interface 1 on the server side. <Sysname> reset pppoe-server virtual-template 1...
  • Page 538 33: PPP HAPTER ERVER ONFIGURATION OMMANDS...
  • Page 539: Ppp O E Client

    Displays the summary of PPPoE session. dial-bundle-number number: Displays the statistics of the specified PPPoE session, in the range 1 to 255. If PPPoE session is not specified, the system will display the statistics of all PPPoE sessions. Description...
  • Page 540: Pppoe-Client Dial-Bundle-Number

    Ethernet interface. Each PPPoE session correspond to one dialer bundle. If a dialer bundle at a certain dialer interface has had one Ethernet interface been used by PPPoE, other interfaces cannot be added to this...
  • Page 541: Reset Pppoe-Client

    PPPoE call to establish PPPoE session unless it has data to transmit. If there is no data transmission on the PPPoE link within seconds, the device will automatically terminate PPPoE session. Only after it has new data to transmit, PPPoE session will be re-established.
  • Page 542 ONFIGURATION OMMANDS The difference between the reset pppoe-client command and the undo pppoe-client command lies in: the former only temporarily terminates a PPPoE session, while the latter permanently deletes a PPPoE session. Example # Clear all PPPoE sessions, and re-initiate PPPoE session later.
  • Page 543: Ppp Debugging

    } | core event [ interface interface-type interface-number ] | ip packet [ interface interface-type interface-number ] | ipcp | ipv6 | ipv6cp | ipx | ipxcp | lcp | lqc | mp | mpls-multicast packet [ interface interface-type interface-number ] | mpls-unicast...
  • Page 544 Use the command to disable PPP debugging. undo debugging ppp By default, all PPP debugging is disabled. The following tables describe some significant output fields of PPP debugging commands. Table 88 Description on the fields of the debugging ppp event command...
  • Page 545 Table 88 Description on the fields of the debugging ppp event command Field Description Timeout(T0+,T0-) A timeout event occurred. T0+ indicates that the restart counter is greater than 0; thus, retransmission is required. T0- indicates that the restart counter is less than 0;...
  • Page 546 PPP Event: Serial2/0 LCP Lower Up Event state starting // A lower layer up event was reported for LCP. The LCP state machine was in the starting state. *0.784906 Sysname PPP/8/debug2: PPP State Change: Serial2/0 LCP : starting --> reqsent // LCP moved from the starting state to the reqsent state.
  • Page 547 (the TLV length is four bytes and the desired MRRU is 05dc); and the endpoint discriminator of MP (the TLV length is 9 bytes, and the value is 01fa4d432c8451.)
  • Page 548 35: PPP D HAPTER EBUGGING OMMANDS...
  • Page 549: Bridging Configuration Commands

    Use the bridge-set enable command to remove a bridge set. undo bridge Before you can enable the bridge set feature, you need to enable bridging first. ■ Other related configurations can take effect only if the bridging and bridge set ■...
  • Page 550: Bridge Bridging

    By default, bridging of all network layer protocols is enabled. Note that non-routable packets will be discarded if bridging of IP or IPX is disabled in a bridge set. Example # Disable IP bridging on bridge set 1.
  • Page 551: Bridge Learning

    By default, bridging is disabled. Other related configurations can take effect only if the bridging and bridge set features are enabled. This command is required for bridge configuration. Example # Enable bridging.
  • Page 552: Bridge Routing

    By default, routing of network layer protocols is disabled. If the bridge set is configured to route the specified protocol, the packets of the protocol that need to be routed will be routed. Example # Enable IP routing in bridge set 1.
  • Page 553: Bridge Routing-Enable

    Use the undo bridge routing-enable command to disable bridge routing. By default, bridge routing is disabled. Routing of a particular protocol can be implemented only if bridge routing is enabled. Example # Enable bridge routing. <Sysname> system-view [Sysname] bridge routing-enable...
  • Page 554: Display Bridge Address-Table

    View Any view Parameters bridge-set: Bridge set number, an integer in the range of 1 to 255. dlsw: Displays the bridge table information about DLSw. interface-type interface-number : Specifies an interface by its name and number. mac-address: MAC address, in the format of H-H-H dynamic: Displays the information about dynamically learned addresses in the bridge table.
  • Page 555: Display Bridge Information

    Syntax display bridge information [ bridge-set bridge-set ] View Any view Parameters bridge-set: Bridge set number, an integer in the range of 1 to 255. Description Use the display bridge information command to view the information about the specified bridge set or all bridge sets.
  • Page 556: Display Bridge Traffic

    Bridging is possible only between active interfaces in the same bridge set. As shown above, bridge set 1 and bridge set 2 in the system are active. The information of each bridge set includes two parts: configure and interface.
  • Page 557: Display Interface Bridge-Template

    0 by import filter, 0 by outport filter, 0 by ip filter , 0 other Table 92 Description on the fields of the display bridge traffic command Field Description Input Indicates what kinds of and how many frames were received on this interface.
  • Page 558: Fr Map Bridge

    Syntax fr map bridge dlci broadcast undo fr map bridge dlci View Interface view Parameters dlci: Local virtual circuit number, in the range of 16 to 1007...
  • Page 559: Interface Bridge-Template

    By default, no FR-to-bridging mappings exist. Related command: display fr map-info on page 376. Example # Create an FR-to-bridging mapping on the virtual circuit by the DLCI of 50 on Serial2/0. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] link-protocol fr...
  • Page 560: Mac-Address (Bridge-Template Interface View)

    By default, if a bridge set contains Ethernet interfaces, its bridge-template interface will use the MAC address of a random Ethernet interface. If the bridge set contains no Ethernet interfaces, its bridge-template interface will use the system default MAC address.
  • Page 561: Reset Bridge Address-Table

    By default, bridging over a PVC is disabled. If you configure both the map bridge virtual-ethernet and map bridge-group commands, only the map bridge virtual-ethernet takes effect. Example # Enable bridging over PVC 32/102. <Sysname> system-view [Sysname] interface atm 1/0...
  • Page 562: X25 Map Bridge

    36: B HAPTER RIDGING ONFIGURATION OMMANDS Example # Clear the traffic statistics information about bridge set 1. <Sysname> reset bridge traffic bridge-set 1 x25 map bridge Syntax x25 map bridge x121-address x.121-address broadcast undo x25 map bridge x121-address x.121-address View...
  • Page 563: Isdn Configuration

    View ISDN BRI interface view Parameter 128k: 128 kbps ISDN leased line connection. number: 64 kbps ISDN leased line connection. It can be 0 for the first B channel or 1 for the second B channel. Description Use the command to configure 128 kbps leased line dialer isdn-leased 128k connection.
  • Page 564: Display Isdn Active-Channel

    ISDN interfaces. If no interface has been specified, the system will display the active call information on all the ISDN interfaces. The displayed information can help you with ISDN call troubleshooting.
  • Page 565 If no interface has been specified, the system will display the current states of all the ISDN interfaces. Executing this command will output the state of each layer of the ISDN protocol on one or all interfaces, including the information of Q.921, Q.931 and CC modules.
  • Page 566: Display Isdn Call-Record

    Table 95 Description on the fields of the display isdn call-info command Field Description CCIndex Index of the call at the CC layer State Current state of the layer 3 link of the BRI interface. It can be one of the following: NULL CALL_INITIATED OVERLAP_SENDING OUTGOING_CALL_PROCEEDING...
  • Page 567: Display Isdn Parameters

    2 and 3 of the ISDN protocol, such as the durations of system timers and frame size. If only ISDN protocol is specified, the system will display the default system parameters of ISDN.
  • Page 568: Display Isdn Spid

    NI protocol. You may execute this command to view the SPID type, SPID value and some other information when ISDN is running. Executing this command without specifying an interface, you may view information on SPI on all the SPID-supported BRI interfaces.
  • Page 569: Isdn Bch-Local-Manage

    By default, the local ISDN B channel management is not enabled but is in the charge of ISDN switch. It is very important to put appropriate control on the B channels used for calls in process, especially in the PRI mode. Proper channel management can improve call efficiency and reduce call loss.
  • Page 570: Isdn Bch-Select-Way

    HAPTER ONFIGURATION OMMANDS the router selected for a call is different from the one indicated by the exchange, the one indicated by the exchange is used for communication. Configured with the isdn bch-local-manage exclusive command, the router operates in exclusive local B-channel management mode. In this mode, the B channel selected by the router must be adopted for communication.
  • Page 571: Isdn Calling

    Example # Configure the message from a calling party to a called party on interface BRI 1/0 to carry calling number. <Sysname> system-view [Sysname] interface bri 1/0...
  • Page 572: Isdn Check-Time

    With ISDN call checking enabled, the system checks to see whether or not the call control blocks of the CC module and the Q.931 module are synchronized by checking all the ISDN call records on the set time point every day. The ISDN calls whose call control blocks are not synchronized are released.
  • Page 573: Isdn Crlength

    You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
  • Page 574: Isdn Ignore Hlc

    You are not allowed to configure this command on an ISDN interface if there is ■ still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
  • Page 575: Isdn Ignore Llc

    You are not allowed to configure this command on an ISDN interface if there is ■ still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
  • Page 576: Isdn Ignore Sending-Complete

    You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by...
  • Page 577: Isdn L3-Timer

    ISDN interface view Parameter timer-name: Name of a L3 timer of the ISDN protocol. time-interval: Timer duration, which can take on one of the values listed in the following table. all: Restores the default durations of all the L3 timers.
  • Page 578: Isdn Link-Mode

    Type and number scheme of ISDN numbers. The argument takes on a hex value in the range of 0 to 7F. When it is expressed in 8 bits, bits 1 through 4 represent the code scheme, bits 5 through 7 represent the code type, and bit 8 is...
  • Page 579 The following table lists the possible number types and code schemes. For more information, see the related protocol reference manual. Table 100 Types and code schemes of ISDN numbers Protocol Field (Bit) value Definition Type Code scheme Type Code scheme...
  • Page 580 37: ISDN C HAPTER ONFIGURATION OMMANDS Table 100 Types and code schemes of ISDN numbers Protocol Field (Bit) value Definition Type Code scheme Abbreviated number Reserved for extension Unknown ISDN/telephony numbering plan (Recommendation E.164) Data numbering plan (Recommendation X.121) Telex numbering plan (Recommendation F.69)
  • Page 581 The specified number property is for calling numbers. called: The specified number property is for called numbers. in: The specified number property is for calling numbers and called numbers in incoming ISDN calls. out: The specified number property is for calling numbers and called numbers in outgoing ISDN calls.
  • Page 582: Isdn Overlap-Sending

    Example # On interface BRI 1/0, set both number type and code scheme of calling numbers in incoming ISDN calls to unknown. <Sysname> system-view [Sysname] interface bri 1/0...
  • Page 583: Isdn Pri-Slipwnd-Size

    You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
  • Page 584: Isdn Protocol-Mode

    View Interface view Parameter mode: ISDN protocol mode to be set, which can be network (for network side mode) and user (for user side mode). Description Use the command to set the protocol mode for an ISDN isdn protocol-mode interface.
  • Page 585: Isdn Q921-Permanent

    You are not allowed to configure this command on an ISDN interface if there is still a call on it. This command can take effect only if it is configured when there is no call on the interface. Alternatively, you can manually disable the interface by executing the shutdown command, configure the command, and then enable the interface by executing the undo shutdown command.
  • Page 586: Isdn Send-Restart

    After the function is enabled, PRI interfaces actively send RESTART messages. to clear calls of the remote end before maintaining B channels. By default, the PRI interface actively sends RESTART messages to the remote end before maintaining B channels. Example # Enable the PRI interface to send RESTART messages before maintaining B channels.
  • Page 587: Isdn Spid Nit

    When the router is communicating with an NI-compliant exchange that does not support SPID negotiation, you can use this command to set the SPID processing mode on the router to NIT and the ISDN will ignore ISPID negotiation and initialization.
  • Page 588: Isdn Spid Service

    OMMANDS View ISDN BRI interface view Parameter seconds: Duration of the SPID timer, which is in the range of 1 to 255 seconds, and defaults to 30 seconds. Description Use the command to set the duration of the timer TSPID for an isdn spid timer NI-compliant BRI interface to seconds.
  • Page 589: Isdn Spid Resend

    INFORMATION message retransmission attempts on the interface. On a BRI interface compliant with the ISDN protocol in North America, calls can be placed only after the SPID negotiation or initialization is finished. The timer TSPID is started when the terminal originates a negotiation or initialization request by sending the INFORMATION message.
  • Page 590: Isdn Spid2

    # Set SPID to “012345” for the B1 channel on the interface BRI 1/0. <Sysname> system-view [Sysname] interface bri 1/0 [Sysname-Bri1/0] isdn spid1 012345 # Assign the SPID 012345 and the LDN 54321 to the B1 channel on the BRI 1/0 interface. <Sysname> system-view [Sysname] interface bri 1/0...
  • Page 591: Isdn Statistics

    DMS100 for example) in North America, you must use this command to configure a unique SPID and LDN for each B channel to ensure a successful MP channel call. Otherwise, only one B channel can be brought up. Also note that both SPID and LDN are provided by your service provider and the configuration of LDN voids the configuration of the ISDN calling command.
  • Page 592: Isdn Two-Tei

    ISDN interface. By default, no statistics is made on the information transmitted and received at interfaces. Use the command in the view of an interface to start isdn statistics start making statistics on the messages received and transmitted at the interface.
  • Page 593: Permanent-Active

    ISDN NI compliant switch (the DMS100 for example) in North America. In this case, you must ensure that the TEI value assigned to each B channel is unique to ensure a successful MP channel call. Otherwise, only one B channel can be brought up and calling for MP fails.
  • Page 594: Power-Source

    In this case, the interface remains in the active state if it is up and the physical link operates smoothly. The permanent-active command functions differently comparing with the ■...
  • Page 595: Shutdown

    ISDN interface view Parameters None Description Use the shutdown command to shut down an ISDN interface. Use the command to bring up an ISDN interface. undo shutdown By default, an ISDN interface is up. Examples # Shut down BRI 2/0.
  • Page 596 37: ISDN C HAPTER ONFIGURATION OMMANDS...
  • Page 597: Mstp Configuration

    MST region active region-configuration configuration. When you carry out this command, MSTP will replace the currently running MST region-related parameters with the parameters you have just configured, and will perform spanning tree computing again. Related commands: instance, region-name, revision-level, vlan-mapping modulo, and check region-configuration.
  • Page 598: Display Stp

    MSTP revision level setting. A device will not be in a different region if it is different in any of these three settings. You can view all the MST region-related configuration information by using this command and determine the MST region the device is currently in, or check whether the MST region configuration is correct.
  • Page 599 MSTP is working normally. Note that: If you do not specify any MST instance ID or port list, this command will display ■ the MSTP information on all ports. The displayed information is sequenced by MST instance ID and by port name in each MST instance.
  • Page 600: Display Stp Abnormal-Port

    Description Use the command to view the information about display stp abnormal-port abnormally blocked ports. Any of the following reasons may cause a port to be abnormally blocked: Root guard action ■ Loop guard action ■ MSTP BPDU format compatibility protection action ■...
  • Page 601: Display Stp Down-Port

    Table 104 Description on the fields of the display stp abnormal-port command Field Description MSTID MST instance ID Blocked Port Name of blocked port, which corresponds to the related MST instance Reason Reason that caused abnormal blocking of the port.
  • Page 602: Display Stp Region-Configuration

    Examples # View the historic port role calculation information of the card on slot 1 in MSTP instance 2. <Sysname> display stp instance 2 history slot 1...
  • Page 603: Display Stp Root

    :hello Revision level Instance Vlans Mapped 21 to 4094 1 to 10 11 to 20 Table 107 Description on the fields of the display stp region-configuration command Field Description Format selector MSTP-defined format selector Region name MST region name Revision level...
  • Page 604: Display Stp Tc

    TC BPDUs received and sent by all ports in the specified spanning tree instance, in port name order. Examples # View the statistics of TC BPDUs received and sent by all ports on the card on slot 1 in MSTP instance 0. <Sysname> display stp instance 0 tc slot 1...
  • Page 605: Instance

    = { vlan-id [ to vlan-id ] }&<1-10>, where, vlan-id is in the range of 1 to 4094, and &<1-10> means that you can specify up to 10 VLANs or VLAN ranges for this argument.
  • Page 606: Reset Stp

    Clears the spanning tree statistics information on one or multiple ports. You can provide up to 10 port lists, by each of which you can specify an individual port in the form of interface-type interface-number, or a port...
  • Page 607: Revision-Level

    Syntax revision-level level undo revision-level View MST region view Parameters level: MSTP revision level, in the range of 0 to 65535. The system default is 0. Description Use the command to configure the MSTP revision level of your region-level device.
  • Page 608: Stp Bpdu-Protection

    ■ configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all the ports in the port group. To control MSTP flexibly, you can disable the MSTP feature for certain ports so ■...
  • Page 609: Stp Bridge-Diameter

    You can set these three timers indirectly by setting the network diameter. Based on the network diameter you configured, MSTP automatically sets an optimal hello time, forward delay, and max age for the device. With the network diameter set to 7 (the default), the three timer are also set to their defaults.
  • Page 610: Stp Config-Digest-Snooping

    BPDUs or 802.1s-compliant BPDUs, and sends, when needed, compatible-format or 802.1s-compliant BPDUs. If the mode is set to legacy or dot1s, on a port, the port can only receive and ■ send BPDUs of the specified format. If the port is configured not to detect the...
  • Page 611: Stp Cost

    Sets the path cost of the port(s) in a particular MST instance. The minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 15. cost: Path cost of the port, the effective range of which depends on the path cost calculation standard adopted. Description...
  • Page 612: Stp Edged-Port

    If you set instance-id to 0, you are setting the path cost of the port in the CIST. ■ The path cost setting of a port can affect the role selection of the port. Setting...
  • Page 613: Stp Loop-Protection

    Before the BPDU guard function is enabled, if a port receives a configuration BPDU, the port is working actually as a non-edge port even if you have configured in as an edge port. Examples # Configure port Ethernet 1/1 as a non-edge port.
  • Page 614: Stp Mcheck

    1 whenever it passes a device. When its hop count reaches 0, it will be discarded by the device that has received it. As a result, devices beyond the maximum hop count are unable to take part in spanning tree computing, and thereby the size of the MST region is limited.
  • Page 615: Stp Mode

    { stp | rstp | mstp } undo stp mode View System view Parameters stp: Configures the MSTP-compliant device to work in STP-compatible mode. rstp: Configures MSTP-compliant device to work in RSTP mode. mstp: Configures MSTP-compliant device to work in MSTP mode. Description Use the command to configure the MSTP work mode of the device.
  • Page 616: Stp Pathcost-Standard

    The default standard used by the device is legacy. Note that if you change the standard that the device uses in calculating the default path cost, the port path cost value set through the stp cost command will be out of effect.
  • Page 617: Stp Point-To-Point

    802.1T takes the number of ports in the aggregated link into account. The calculation formula is: Path Cost = 200,000,000/link speed (in 100 kbps), where link speed is the sum of the link speed values of the non-blocked ports in the aggregated link.
  • Page 618: Stp Port-Log

    When connecting to a non-point-to-point link, a port is incapable of rapid state ■ transition. If the current port is the master port of aggregated ports or if it works in full ■ duplex mode, the link to which the current port connects is a point-to-point link.
  • Page 619: Stp Port Priority

    The minimum value of instance-id is 0, representing the CIST, and the maximum value of instance-id is 15. priority: Port priority, in the range of 0 to 240 at the step of 16 (0, 16, 32..., for example).
  • Page 620: Stp Priority

    38: MSTP C HAPTER ONFIGURATION OMMANDS If you set instance-id to 0, you are setting the priority of the port in the CIST. ■ The priority of a port can affect the role selection of the port in the specified MST instance.
  • Page 621: Stp Region-Configuration

    [ instance instance-id ] root View System view Parameters instance instance-id: MST instance ID, in the range of 0 to 15. MST instance 0 represents the CIST. Description Use the command to specify the current device as the root stp root primary bridge of the specified MST instance.
  • Page 622: Stp Root Secondary

    If you do not provide instance instance-id, your configuration will take effect ■ in the CIST instance only. There is only one root bridge in effect in a spanning tree instance. If two or ■ more devices have been designated to be root bridges of the same spanning tree instance, MSTP will select the device with the lowest MAC address as the root bridge.
  • Page 623: Stp Root-Protection

    By default, the root guard function is disabled. Note that, configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all the ports in the port group.
  • Page 624: Stp Tc-Protection Threshold

    View System view Parameters number: Maximum number of times the device deletes forwarding address entries within a certain period of time immediately after it receives TC-BPDUs, in the range of 1 to 255. Description Use the command to configure the maximum...
  • Page 625: Stp Timer Hello

    The forward delay timer set on the root bridge determines the time interval of state transition. If the current device is the root bridge, the state transition interval of the device depends on the set forward delay value; for a secondary root bridge, its state transition interval is determined by the forward delay timer set on the root bridge.
  • Page 626: Stp Timer Max-Age

    In the CIST, the device determines whether a configuration BPDU received on a port has expired based on the max age timer. If a port receives a configuration BPDU that has expired, that MST instance needs to re-computed.
  • Page 627: Stp Timer-Factor

    In this case, you can avoid such unwanted spanning tree computing by lengthening the timeout time (by setting the timeout factor to 4 or more). We recommend that you set the timeout factor to 5, or 6, or 7 for a stable network.
  • Page 628: Stp Transmit-Limit

    Configured in Ethernet interface view, the setting is effective on the current ■ port only; configured in port group view, the setting is effective on all the ports in the port group. A larger maximum transmission rate value represents more MSTP packets that ■...
  • Page 629 (VLAN ID-1). If the modulo value is 15, for example, then VLAN 1 will be mapped to MSTI 1, VLAN 2 to MSTI 2, VLAN 16 to MSTI 1, VLAN 17 to MSTI 2, and so on.
  • Page 630 38: MSTP C HAPTER ONFIGURATION OMMANDS...
  • Page 631: Vlan Configuration

    Use the undo description command to restore the default. By default, the descriptive string for a VLAN is the VLAN ID, for example, “VLAN 0001"; for a VLAN interface is name of the current VLAN interface, for example, “Vlan-interface1 Interface”...
  • Page 632 Last 300 seconds output: 0 bytes/sec 0 packets/sec 0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops Table 111 Description on the fields of the display interface vlan-interface command Field Description Vlan-interface2 current state The physical state of a VLAN interface...
  • Page 633: Display Vlan

    Syntax display vlan [ vlan-id1 [ to vlan-id2 ] | all | dynamic | interface interface-type interface-number.subnumber | reserved | static] View Any view Parameter vlan-id1: Displays the information of a VLAN specified by VLAN ID in the range of 1 to 4,094.
  • Page 634: Interface Vlan-Interface

    VLAN broadcast suppression ratio (available only on the device supporting the broadcast-suppression command) IP Address IP address of the VLAN interface (not display if the VLAN interface has no IP address configured) Subnet Mask Subnet mask of the IP address (not display if the VLAN interface...
  • Page 635: Ip Address

    32 IP addresses can be configured on a VLAN interface, in which one is the primary IP address and all the rest are secondary IP addresses. The total number of IP addresses on a VLAN interface varies by device. Their relationship is illustrated as follows: A newly configured main IP address will replace the original one, if there is one.
  • Page 636: Shutdown

    VLAN interface. undo shutdown By default, the VLAN interface is down if all ports in the VLAN are down, as long as one port in the VLAN is up, the VLAN interface will be up You can use the undo shutdown command to bring up a VLAN interface after configurations of the related parameter and protocol.
  • Page 637 If a specified VLAN exists, the command places you into its view. Use the command to delete specified VLAN(s). undo vlan Note that: As the default VLAN, VLAN 1 cannot be created or removed. ■ You cannot create/remove reserved VLANs that are reserved for specific ■...
  • Page 638 39: VLAN C HAPTER ONFIGURATION OMMANDS...
  • Page 639: Port -Based Vlan Configuration Commands

    Use the command to add one Access port or a group of Access ports to a port VLAN. Use the undo port command to remove one Access port or a group of Access ports from a VLAN. Note: This command is only applicable to Access ports.
  • Page 640: Port Hybrid Pvid Vlan

    Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Make sure that the VLAN identified by the vlan-id argument exists before issuing the port access vlan command.
  • Page 641: Port Hybrid Vlan

    Related command: port link-type. Example # Add the Hybrid port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs from VLAN 50 to VLAN 100. Tag all packets of these VLANs. <Sysname> system-view [Sysname] vlan all Please wait...
  • Page 642: Port Link-Type

    Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.
  • Page 643: Port Trunk Pvid Vlan

    Related command: port link-type. Example # Add the Trunk port Ethernet 1/0 to VLAN 2, VLAN 4, and the range of VLANs from VLAN 50 to VLAN 100. <Sysname> system-view [Sysname] vlan all Please wait... Done.
  • Page 644 Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups. You must configure the same default VLAN ID for the Trunk port of both the local device and remote device. Otherwise, the packets cannot be transmitted correctly.
  • Page 645: Display Voice Vlan Oui

    Related command: voice vlan, voice vlan enable. As the first 24 bits of a MAC address (in binary format), an OUI address is a globally unique identifier assigned to a vendor by IEEE. Example # Display the OUI address of a voice VLAN.
  • Page 646: Display Voice Vlan State

    41: V VLAN C HAPTER OICE ONFIGURATION OMMANDS Table 113 Description on the fields of the display voice vlan oui command Field Description Description Description of the OUI addresses that are allowed to pass display voice vlan state Syntax display voice vlan state...
  • Page 647: Voice Vlan Aging

    View System view Parameter vlan-id: ID of the VLAN to be enabled with the voice VLAN feature, in the range of 2 to 4,094. Description Use the command to enable the voice VLAN feature globally. voice vlan...
  • Page 648: Voice Vlan Enable

    ■ the voice VLAN feature. The Access port cannot be configured with this feature. Before enabling the voice VLAN feature on a port, ensure that its is enabled ■ globally first Only after the voice VLAN feature is enabled under both system view and ■...
  • Page 649 Example # Configure the OUI address as 1234-1234-1234, the mask as ffff-ff00-0000, and the descriptive string as phone A, that is, voice packets from Phone A with source MAC address being 1234-1234-1234 can pass through the voice VLAN. <Sysname> system-view...
  • Page 650: Voice Vlan Mode Auto

    The voice VLAN working mode of a port is independent of those of other ports. Note that: if a port is enabled with voice VLAN in manual mode, you need to add the port to the voice VLAN manually to validate the voice VLAN.
  • Page 651 By default, the security mode of voice VLAN is enabled. The voice vlan security enable and undo voice vlan security enable commands take effect only after the voice VLAN attribute is enabled globally. Example # Disable the security mode of the voice VLAN.
  • Page 652 41: V VLAN C HAPTER OICE ONFIGURATION OMMANDS...
  • Page 653: Port Isolation Configuration Commands

    <Sysname> display port-isolate group Port-isolate group information: Uplink port support: NO Group ID: 1 Ethernet1/1 Ethernet1/2 Table 116 Description on the output information of the display port-isolate group command Field Description Port-isolate group information Information of the isolation group Uplink port support...
  • Page 654 Configured in Ethernet interface view, the setting is effective on the current port only; configured in port group view, the setting is effective on all ports in the port group. Refer to “Link Aggregation Configuration Commands” on page 473 for information about port groups.
  • Page 655: Dynamic

    [Sysname-Bri3/0] standby routing-group 1 standby routing-rule Syntax standby routing-rule group-number ip ip-address { mask | mask-length } undo standby routing-rule group-number [ ip ip-address { mask | mask-length } ] View System view Parameter group-number: Dynamic route backup group number, ranging from 1 to 255.
  • Page 656: Standby Timer Routing-Disable

    By default, no dynamic route backup group is created. Up to 255 monitored network segments can be added to a dynamic route backup group. The primary link is considered to be disconnected when there is no valid route to any of the monitored network segments in a dynamic route backup group.
  • Page 657: Logical

    Parameter number: Maximum number of links that can send multicast or broadcast packets in a VT. This argument ranges from 0 to 128 and defaults to 30. The value 0 indicates that multicast packets or broadcast packets cannot be sent.
  • Page 658: Display Interface Mfr

    Use the display interface loopback command to view the relevant information about the existing Loopback interfaces. If you do not provide a Loopback interface number, this command will display the relevant information about all the existing Loopback interfaces. Related command: interface loopback.
  • Page 659 Use the command to view the state information about display interface mfr the existing MFR interfaces. If you do not provide an MFR interface number, this command will display the state information about all the existing MFR interfaces. Related command: interface mfr.
  • Page 660: Display Interface Mp-Group

    44: L HAPTER OGICAL NTERFACE ONFIGURATION OMMANDS Table 118 Description on the fields of the display interface mfr command Field Description Output queue : (Urgent queue : Statistics on packets sent/received over the physical Size/Length/Discards) layer Output queue : (Protocol queue :...
  • Page 661: Display Interface Null

    The “Hold timer” field of the display interface mp-group command represents the hold time of the link state (up/down) of the current interface, and the “LCP initial” field indicates that the link control protocol (LCP) is initialized. Refer to Table 117 for the description on the other fields.
  • Page 662: Display Interface Virtual-Template

    Description Use the display interface virtual-template command to view the state information about the existing VTs. If you do not provide a VT number, this command will display the state information about all the existing VTs. Related command: interface virtual-template.
  • Page 663: Display Mfr

    0 packets input, 0 bytes, 0 drops 0 packets output, 0 bytes, 0 drops The “LCP initial” field of the display interface virtual-template command indicates that LCP is initialized. Refer to Table 117 for the description on the other fields. display mfr...
  • Page 664: Display Virtual-Access

    VA interfaces. When necessary, the system will automatically create VA interfaces, which will adopt the parameters defined in a specific VT. You need not create and configure VA interfaces manually. VA interfaces will be removed due to underlying layer disconnection or user intervention.
  • Page 665: Interface

    4 packets input, 50 bytes, 0 drops 4 packets output, 50 bytes, 0 drops Refer to Table 117 for the description on the fields of the display interface virtual-access command. interface Syntax interface interface-type interface-number.subnumber [ p2mp | p2p ] undo interface interface-type interface-number.subnumber...
  • Page 666: Interface Loopback

    By default, no VLAN is associated to an Ethernet sub-interface. Note that the VLAN associated with the Ethernet sub-interface of the local device must be the same as the VLAN associated to the Ethernet sub-interface of the peer device. Otherwise, packets cannot be transmitted properly. A Layer 3 Ethernet interface can accommodate 1 to 4,096 sub-interfaces.
  • Page 667: Interface Mp-Group

    Parameter interface-number.subnumber: Interface number. The interface-number argument is the primary interface number, and the subnumber argument is the sub-interface number, ranging from 0 to 1023. Description Use the command to create an MFR interface or an MFR interface mfr sub-interface and enter the specified MFR interface view or MFR sub-interface view.
  • Page 668: Interface Virtual-Ethernet

    OMMANDS Description Use the interface null command to enter null interface view. Only one null interface (Null 0) exists. Null 0 is always up, and cannot be brought down or removed. Related command: display interface null. Example # Enter Null 0 interface view.
  • Page 669 Use the command to remove the specified undo interface virtual-template Before removing a VT, make sure that all the relevant VA interfaces are removed and this virtual interface is not being used. Example # Create VT 10. <Sysname> system-view [Sysname] interface virtual-template 10...
  • Page 670 44: L HAPTER OGICAL NTERFACE ONFIGURATION OMMANDS...
  • Page 671: Cpos Interface Configuration Commands

    When connected to a SONET/SDH device, the CPOS interface must use the slave clock because the SONET/SDH network clock is more precise. When the interface is directly connected to another CPOS interface with fiber-optic, you only need to configure them with different clock modes.
  • Page 672: Display Controller Cpos

    45: CPOS I HAPTER NTERFACE ONFIGURATION OMMANDS Before you can configure a CPOS physical interface, you must enter its CPOS interface view. Example # Enter the interface view of CPOS 1/0. <Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos1/0] Syntax crc { 16 | 32 | none }...
  • Page 673 CPOS display controller cpos interfaces, such as state of E1/T1 channels, and alarms, and errors occurred to the regeneration section, multiplex section, and higher-order path. The following table lists possible error types in the displayed information:...
  • Page 674: Display Controller Cpos E1

    View Any view Parameter cpos-number: CPOS interface number. e1-number: Number of an E1 channel on a CPOS interface, in the range 1 to 63. Description Use the command to display the physical layer display controller cpos e1 configuration information of the specified E1 channel on the specified CPOS interface.
  • Page 675: Display Controller Cpos T1

    View Any view Parameter cpos-number: CPOS interface number. t1-number: Number of a T1 channel on a CPOS interface, in the range 1 to 84. Description Use the command to display the physical layer display controller cpos t1...
  • Page 676 Different from the display controller cpos command, this command can display the error and alarm information of lower-order paths and T1 frames. Example # Display the status information of T1 channel 2 on interface CPOS 4/0. <Sysname> display controller cpos 4/0 t1 2 Cpos4/0 current state : UP...
  • Page 677: E1 Channel-Set

    1 to 31. While specifying timeslots, you can specify a single timeslot in the form of a number, or timeslots in a range in the form of number1-number2, or multiple timeslots in the form of number1, number2-number3.
  • Page 678: E1 Set Clock

    CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63. master: Sets the clock mode of the E1 channel to master. slave: Sets the clock mode of the E1 channel to slave.
  • Page 679: E1 Set Loopback

    View CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63. local: Enables internal loopback on the E1 channel. payload: Enables external payload loopback on the E1 channel. remote: Enables external loopback on the E1 channel.
  • Page 680: E1 Shutdown

    View CPOS interface view Parameter e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63. Description Use the command to shut down an E1 channel. e1 shutdown Use the command to bring up an E1 channel.
  • Page 681: Flag

    256 serial interfaces are allowed on one CPOS physical interface. Example # Set E1 channel 3 on interface CPOS 1/0 to operate in unframed mode. <Sysname> system-view [Sysname] controller cpos 1/0 [Sysname-Cpos 1/0] e1 3 unframed...
  • Page 682: Loopback

    View CPOS interface view Parameter local: Internal loopback, used for testing the physical interface itself. remote: External loopback, used for testing the cable connected to the interface. Description Use the command to configure the loopback mode on the CPOS loopback interface.
  • Page 683: Shutdown

    AU-4. This AU-4 can be synchronized and multiplexed to form one AUG. When the CPOS interface is operating in SDH mode, you can choose to multiplex AUG to AU-4 or AU-3 by using the multiplex mode command. When the CPOS interface is operating in SONET mode, AUG can be multiplexed only to AU-3 and the multiplex mode command is invalid in this case.
  • Page 684: T1 Channel-Set

    1 to 24. While specifying timeslots, you can specify a single timeslot in the form of a number, or timeslots in a range in the form of number1-number2, or multiple timeslots in the form of number1, number2-number3.
  • Page 685: T1 Set Clock

    CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. esf: Sets the T1 channel to use the extended super frame (ESF) format. sf: Sets the T1 channel to use the super frame (SF) format.
  • Page 686: T1 Set Loopback

    View CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. local: Enables internal loopback. payload: Enables external payload loopback. remote: Enables external loopback. Description...
  • Page 687: T1 Unframed

    View CPOS interface view Parameter t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84. Description Use the t1 unframed command to set a T1 channel on the CPOS interface to operate in unframed mode.
  • Page 688 45: CPOS I HAPTER NTERFACE ONFIGURATION OMMANDS...
  • Page 689: Arp Configuration

    MAC addresses. After the ARP entry check is disabled, the device can learn the ARP entry with a multicast MAC address, and you can also configure such a static ARP entry on the device.
  • Page 690: Arp Static

    IP address in an ARP entry. mac-address: MAC address in an ARP entry, in the format H-H-H. vlan-id: ID of a VLAN to which a static ARP entry belongs to, in the range 1 to 4094. interface-type interface-number: Interface type and interface number.
  • Page 691: Arp Timer Aging

    Syntax display arp { { all | dynamic | static } | vlan vlan-id | interface interface-type interface-number } [ [ verbose ] [ | { begin | exclude | include } string ] | count ] View Any view Parameter all: Displays all ARP entries.
  • Page 692 Displays detailed information about ARP entries. |: Uses a regular expression to specify the ARP entries to be displayed. begin: Displays ARP entries from the first one containing the specified string. exclude: Displays the ARP entries that do not contain the specified string.
  • Page 693: Display Arp Ip-Address

    Syntax display arp ip-address [ verbose ] [ | { begin | exclude | include } string ] View Any view Parameter ip-address: Displays the ARP entry for the specified IP address. verbose: Displays the detailed information about ARP entries.
  • Page 694: Display Arp Vpn-Instance

    HAPTER ONFIGURATION OMMANDS display arp vpn-instance Syntax display arp vpn-instance vpn-instance-name [ | { begin | exclude | include } string | count ] View Any view Parameter vpn-instance-name: Name of VPN instance, a case-sensitive string of 1 to 31 characters.
  • Page 695: Reset Arp

    Use the command to restore the default. undo naturemask-arp enable By default, the support for ARP requests from a natural network is disabled. Example # Enable the support for ARP requests from a natural network. <Sysname> system-view [Sysname] naturemask-arp enable...
  • Page 696 46: ARP C HAPTER ONFIGURATION OMMANDS...
  • Page 697: Gratuitous Arp Configuration Commands

    Use the command to restore the undo gratuitous-arp-sending enable default. By default, a device cannot send gratuitous ARP packets when receiving ARP requests from another network segment. Example # Disable a device from sending gratuitous ARP packets <Sysname> system-view...
  • Page 698 47: G ARP C HAPTER RATUITOUS ONFIGURATION OMMANDS By default, the function is disabled. Example # Enable the gratuitous ARP packet learning function. <Sysname> system-view [Sysname] gratuitous-arp-learning enable...
  • Page 699: Arp Source Suppression Configuration Commands

    View System view Parameter limit-value: Specifies the maximum number of packets with the same source IP address but unresolvable destination IP addresses that a port can receive in five seconds. It ranges from 2 to 1,024.
  • Page 700: Display Arp Source-Suppression

    Related command: display arp source-suppression. Example # Set to 100 the maximum number of packets with the same source address but unresolvable destination IP addresses that a port can receive in five seconds. <Sysname> system-view [Sysname] arp source-suppression limit 100...
  • Page 701: Authorized Arp Configuration Commands

    Use the command to disable authorized ARP on undo arp authorized enable the interface, which at the same time is enabled to learn dynamic ARP entries. By default, authorized ARP is not enabled on the interface. Example # Enable authorized ARP on Ethernet 1/0.
  • Page 702 ARP entries. Use the command to restore the default. undo arp authorized time-out By default, the aging time for authorized ARP entries is 1200 seconds. Example # Configure the aging time for authorized ARP entries. <Sysname> system-view [Sysname] interface ethernet 1/0...
  • Page 703: Proxy Arp Configuration Commands

    ARP. undo proxy-arp enable By default, proxy ARP is disabled. Related command: display proxy-arp. Example # Enable proxy ARP on Ethernet 1/0. <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] proxy-arp enable local-proxy-arp enable Syntax local-proxy-arp enable...
  • Page 704: Display Proxy-Arp

    ARP. Related command: local-proxy-arp enable. Example # Display the status of the local proxy ARP on VLAN-interface 2. <Sysname> display local-proxy-arp interface vlan-interface 2 Interface Vlan-interface2 Local Proxy ARP status: enabled...
  • Page 705: Dhcp Server Configuration Commands

    Specifies the IP address of a BIMS server. port port-number: Specifies a port number for the BIMS server in the range 1 to 65534. sharekey key: Specifies a shared key for the BIMS server, which is a string of 1 to 16 characters. Description...
  • Page 706: Bootfile-Name

    DHCP. dhcp enable Use the command to disable DHCP. undo dhcp enable By default, DHCP is disabled. You need to enable DHCP before performing DHCP server and relay agent configurations. Example # Enable DHCP. <Sysname> system-view [Sysname] dhcp enable...
  • Page 707: Dhcp Select Server Global-Pool

    Parameter subaddress: Supports subaddress allocation. That is, the DHCP server and clients are on the same network segment, and the server allocates IP addresses from the address pool containing the network segment of the first subaddress if several subaddresses exist.
  • Page 708: Dhcp Server Forbidden-Ip

    Start IP address of the IP address range to be excluded from dynamic allocation. high-ip-address: End IP address of the IP address range to be excluded from dynamic allocation. The end IP address must have a higher sequence than the start one. Description...
  • Page 709: Dhcp Server Ping Packets

    View System view Parameter number: Number of ping packets, in the range of 0 to 10. If the ping timeout time is set to 0, the DHCP server will not perform any ping collision detection. Description Use the...
  • Page 710: Dhcp Server Relay Information Enable

    System view Parameter milliseconds: Response timeout value for ping packets in milliseconds, in the range of 0 to 10,000. If the ping timeout time is set to 0, the DHCP server will not perform any ping collision detection. Description Use the...
  • Page 711: Display Dhcp Server Conflict

    Discover Time Time when the conflict was discovered display dhcp server expired Syntax display dhcp server expired { all | ip ip-address | pool [ pool-name ] } View Any view Parameter all: Displays the lease expiration information of all DHCP address pools.
  • Page 712: Display Dhcp Server Free-Ip

    [ pool-name ]: Displays the lease expiration information of a specified address pool. The pool name is a string of 1 to 35 characters. If the pool name is not specified, the lease expiration information of all address pools is displayed.
  • Page 713: Display Dhcp Server Ip-In-Use

    Displays the binding information of a specified IP address. pool [ pool-name ]: Displays the binding information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the binding information of all address pools is displayed.
  • Page 714: Display Dhcp Server Statistics

    51: DHCP S HAPTER ERVER ONFIGURATION OMMANDS Table 128 Description on fields of the display dhcp server ip-in-use command Field Description Type Binding types, including Manual, Auto:OFFERED and Auto:COMMITTED. Manual: Static binding ■ Auto:OFFERED: The binding sent in the DHCP-OFFER ■...
  • Page 715: Display Dhcp Server Tree

    [ pool-name ]: Displays the tree organization information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the tree organization information of all address pools will be displayed.
  • Page 716: Dns-List

    The IP address and MAC address of the static binding 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 Sibling node The sibling node of the current node, nodes of this kind in the output are: Child node: The child node (subnet segment) address pool ■ of the current node Parent node: The parent node (nature network segment) ■...
  • Page 717: Domain-Name

    <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] domain-name mydomain.com expired Syntax expired { day day [ hour hour [ minute minute ] ] | unlimited } undo expired View DHCP address pool view Parameter day day: Specifies the number of days, in the range of 0 to 365.
  • Page 718: Gateway-List

    DHCP undo expired address pool. The lease duration defaults to one day. Note that if the lease duration you specified is beyond the year 2106, the system regards the lease as expired. Related command: dhcp server ip-pool.
  • Page 719: Nbns-List

    The destination returns the name-to-IP mapping to the client after receiving the message. p-node: Peer-to-peer node. A p-node client sends the destination name in a unicast message to the WINS server, and the WINS server returns the mapping to the client.
  • Page 720: Network

    Hybrid node, a combination of a p-node first and b-node second. An h-node is a p-node with the peer-to-peer communication mechanism. An h-node client unicasts the destination name to the WINS server, if there is no response, and then broadcasts it to get the mapping from the destination.
  • Page 721: Option

    Specifies an ASCII string with 1 to 63 characters. hex hex-string&<1-16>: Specifies hex digit strings. &<1-16> indicates you can specify up to 16 hex digit strings, separated by spaces. Each string contains 2, 4, 6 or 8 hex digits.
  • Page 722: Reset Dhcp Server Conflict

    [ pool-name ]: Clears the dynamic binding information of a specified address pool. The pool name is a string of 1 to 35 characters. If no pool name is specified, the dynamic binding information of all address pools is cleared.
  • Page 723: Static-Bind Client-Identifier

    ■ static-bind ip-address command to accomplish a static binding configuration. The ID of the static binding of a client must be identical to the ID displayed by ■ using the display dhcp client verbose command on the client. Otherwise, the client cannot obtain an IP address.
  • Page 724: Static-Bind Ip-Address

    IP address of a static binding, if no mask and mask length is specified, the natural mask is used. mask-length: Mask length of the IP address, that is, the number of digit 1 in the mask. mask mask: Specifies the IP address mask.
  • Page 725: Static-Bind Mac-Address

    Relate command: dhcp server ip-pool, static-bind client-identifier and static-bind ip-address. Example # Bind the client MAC address 0000-e03f-0305 to the IP address 10.1.1.1 with the mask 255.255.255.0 in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0...
  • Page 726: Tftp-Server Ip-Address

    By default, no TFTP server name is specified. Using the tftp-server domain-name command repeatedly will overwrite the previous configuration. Example # Specify the TFTP server name as aaa in DHCP address pool 0. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] tftp-server domain-name aaa...
  • Page 727 Specifies the failover IP address and dialer string. The dialer-string is a string of 1 to 39 characters, which can be 0 to 9, and “*”. ncp-ip ip-address: Specifies IP address for the primary network calling processor.
  • Page 728 51: DHCP S HAPTER ERVER ONFIGURATION OMMANDS...
  • Page 729: Dhcp Relay Agent Configuration Commands

    DHCP R ELAY GENT ONFIGURATION OMMANDS The DHCP relay agent configuration is supported only on the Layer 3 Ethernet ■ interface (or subinterface), virtual Ethernet interface, VLAN interface, and serial interface. DHCP Snooping cannot be configured on the DHCP relay agent.
  • Page 730: Dhcp Relay Information Enable

    By default, the function is disabled. Note that this command can be executed only on Layer 3 Ethernet interfaces (including sub-interfaces) and VLAN interfaces. Example # Enable IP address match checking on the DHCP relay agent.
  • Page 731: Dhcp Relay Information Strategy

    Specifies the verbose padding format. node-identifier { mac | sysname | user-defined node-identifier }: Specifies access node identifier. By default, the node MAC address is used as the node identifier. mac indicates using MAC address as the node identifier.
  • Page 732: Dhcp Relay Release Ip

    DHCP server for releasing a specified client IP address. Example # Send a release request to the DHCP server for releasing the IP address 1.1.1.1. <Sysname> system-view [Sysname] dhcp relay release ip 1.1.1.1 dhcp relay security static...
  • Page 733: Dhcp Relay Security Tracker

    No manual IP-to-MAC binding is configured on the DHCP relay agent by default. Note that: When using the dhcp relay security static command to bind an interface to a static binding entry, make sure that the interface is configured as a DHCP relay agent;...
  • Page 734: Dhcp Relay Server-Detect

    Use the undo dhcp relay security tracker command to restore the default interval. The default handshake interval is auto, the value of 60 seconds divided by the number of binding entries. Example # Set the handshake interval as 100 seconds.
  • Page 735: Dhcp Relay Server-Select

    DHCP server undo dhcp relay server-group from a DHCP server group, if no ip ip-address is specified, all servers in the DHCP server group and the server group itself will be removed. By default, no DHCP server is specified for a DHCP server group.
  • Page 736: Dhcp Select Relay

    After DHCP is enabled, the DHCP server is enabled on an interface by default. That is, upon receiving a client’s request from the interface, the DHCP server allocates an IP address from the DHCP address pool to the client.
  • Page 737: Display Dhcp Relay

    Displays information about static bindings. Description Use the command to display information about display dhcp relay security bindings of DHCP relay agents. If no parameter is specified, information about all bindings will be displayed. Example # Display information about all bindings.
  • Page 738: Display Dhcp Relay Security Statistics

    # Display statistics about client address binding entries. <Sysname> display dhcp relay security statistics Static Items Dynamic Items Temporary Items All Items Table 133 Description on fields of the display dhcp relay security statistics command Field Description Static Items Static client address binding items Dynamic Items...
  • Page 739: Display Dhcp Relay Server-Group

    View Any view Parameter group-id: Specifies a server group number in the range of 0 to 19 about which to display DHCP packet statistics. all: Specifies all server groups about which to display DHCP packet statistics. Information for each group will be displayed.
  • Page 740 DHCPNAK packets received: BOOTPREPLY packets: DHCP packets sent to servers: DHCP packets sent to clients: # Display DHCP packet statistics related to every server group on the relay agent. <Sysname> display dhcp relay statistics server-group all DHCP relay server-group Packet type Packet number Client ->...
  • Page 741: Reset Dhcp Relay Statistics

    [ server-group group-id ] View User view Parameter server-group group-id: Specifies a server group ID in the range of 0 to 19 about which to remove statistics from the relay agent. Description Use the reset dhcp relay statistics command to remove statistics from the relay agent.
  • Page 742 52: DHCP R HAPTER ELAY GENT ONFIGURATION OMMANDS...
  • Page 743: Dhcp Client Configuration Commands

    The DHCP client configuration is supported only on the Layer 3 Ethernet ■ interface (or subinterface) and VLAN interface. When multiple VLAN interfaces having the same MAC address use DHCP for IP ■ address acquisition via a relay agent, the DHCP server cannot be the Windows 2000 Server or Windows 2003 Server.
  • Page 744: Ip Address Dhcp-Alloc

    View Interface view Parameter client-identifier mac interface-type interface-number: Specifies the MAC address of an interface using which as the client ID to obtain an IP address. Description Use the command to configure an interface to use DHCP ip address dhcp-alloc for IP address acquisition.
  • Page 745 The DHCP snooping enabled device does not work if it is between the DHCP ■ relay agent and DHCP server, and it can work when it is between the DHCP client and relay agent or between the DHCP client and server.
  • Page 746 53: DHCP C HAPTER LIENT ONFIGURATION OMMANDS...
  • Page 747: Dhcp Snooping Configuration Commands

    Use the command to disable DHCP snooping. undo dhcp-snooping With DHCP snooping disabled, all ports can forward responses from any DHCP servers and does not record binding information about MAC addresses of DHCP clients and the obtained IP addresses. By default, DHCP snooping is disabled.
  • Page 748: Display Dhcp-Snooping

    ==== =============== =============== ========== ==== ================= 10.1.1.1 00e0-fc00-0006 Ethernet1/0 1 dhcp-snooping item(s) found Table 136 Description on fields of the display dhcp snooping command Field Description Type Binding type IP Address IP address assigned to the DHCP client MAC Address...
  • Page 749 # Display information about trusted ports. <Sysname> display dhcp-snooping trust DHCP Snooping is enabled. DHCP Snooping trust becomes active. Interface Trusted ========================= ============ Ethernet1/0 Trusted The above output shows that DHCP snooping is enabled, DHCP snooping trust is active, and port Ethernet 1/0 is trusted.
  • Page 750 54: DHCP S HAPTER NOOPING ONFIGURATION OMMANDS...
  • Page 751: Bootp Client Configuration Commands

    If several VLAN interfaces sharing the same MAC address obtain IP addresses ■ through a BOOTP relay agent, the BOOTP server cannot be a Windows 2000 Server or Windows 2003 Server. You are not recommended to enable both the DHCP client and the DHCP ■...
  • Page 752: Ip Address Bootp-Alloc

    BOOTP server while the BOOTP client sends a BOOTP request to the BOOTP server. If the values of the XID field are different in the BOOTP response and request, the BOOTP client will drop the BOOTP response.
  • Page 753: Dhcp D C

    EBUGGING OMMANDS debugging dhcp server Syntax debugging dhcp server { all | error | event | packet } undo debugging dhcp server { all | error | event | packet } View User view Default Level 1: Monitor level Parameters all: All types of debugging for DHCP server.
  • Page 754 56: DHCP D HAPTER EBUGGING OMMANDS Table 138 Description on the fields of the debugging dhcp server packet command Field Description Broadcast flag: BroadcastFlag DHCP broadcast flag: 1 refers to broadcast, and 0 refers to unicast. Your IP address: YourIPAddress...
  • Page 755 Examples # Configure DHCP server on the device, and enable all types of debugging for DHCP server. The DHCP client applies for IP address from the DHCP sever via a DHCP relay agent. <Sysname> terminal debugging <Sysname> debugging dhcp server all *0.263828 Sysname DHCPS/7/DHCPS_DEBUG_COMMON:...
  • Page 756 56: DHCP D HAPTER EBUGGING OMMANDS // The DHCP server receives a response from a client at 22.0.0.1, which indicates the IP address is in use. *0.278406 Sysname DHCPS/7/DHCPS_DEBUG_COMMON: DHCPServer: Sending ICMP ECHOREQUEST to target IP: 22.0.0.2. // Checking whether the IP address 22.0.0.2 is in use *0.278406 Sysname DHCPS/7/DHCPS_DEBUG_COMMON:...
  • Page 757: Debugging Dhcp Relay

    Syntax debugging dhcp relay { all | error | event | packet [ client mac mac-address ] } undo debugging dhcp relay { all | error | event | packet [ client mac mac-address ] } View User view...
  • Page 758 Examples # The DHCP client obtains IP address from the DHCP server via a DHCP relay agent. Enable all types of debugging for the DHCP relay agent. <Sysname> terminal debugging <Sysname>...
  • Page 759 CHardAddr: 00e0.fc14.1601, server-group: 0 // The DHCP relay agent received a DHCP-DISCOVER message from the DHCP client, and forwarded it to the DHCP server at 11.0.0.1 in DHCP server group 0. *0.230891 Sysname DHCPR/7/DHCPR_DEBUG_EVENT: Begin to deal with DHCP Offer packet.
  • Page 760: Debugging Dhcp Client

    DHCP message type: DHCP Ack *0.231063 Sysname DHCPR/7/DHCPR_DEBUG_RELAYPKT: Pkt Sent: send reply interface Vlan-interface22, dest IP: 255.255.255.255, CHardAddr: 00e0.fc14.1601, server-group: 0 // The DHCP relay agent received a DHCP-ACK message from the DHCP server, and then broadcast it. debugging dhcp client Syntax...
  • Page 761 Table 144 Description on the fields of the debugging dhcp client packet command Field Description Decode option 43: Original data in Option 43 of the received DHCP message type(DHCPmessagetype) DHCP message type, which can be: DHCP Offer ■ DHCP ACK ■...
  • Page 762 Options : 63 82 53 63 35 01 01 0C 06 63 6C 69 65 6E 74 37 04 01 03 06 0F 39 02 04 80 3C 10 00 00 00 00 20 B8 C4 B1 E4 B5 B1 C7 B0 C2 B7 BE 3D 20 00 30 30...
  • Page 763 Options : 63 82 53 63 35 01 03 0C 06 63 6C 69 65 6E 74 32 04 16 00 00 02 36 04 0B 00 00 01 37 04 01 03 06 0F 39 02 04 80 3C 10 00 00 00 00 44 65 63 00 4E...
  • Page 764 *0.111421 Sysname DHCPC/7/DHCP_Client: Vlan-interface2: Move to BOUND state in 1 seconds if no arp reply is received. // If no ARP reply is received, the state of the DHCP client will be changed to BOUND state after 1 second. *0.112375 Sysname DHCPC/7/DHCP_Client: Vlan-interface2: Receive no arp reply for 22.0.0.2, begin to use the address.
  • Page 765: Dns Configuration

    DNS C ONFIGURATION OMMANDS This document only covers IPv4 DNS configuration commands. For IPv6 DNS configuration commands, refer to “IPv6 Basics Configuration Commands” on page 829. display dns domain Syntax display dns domain [ dynamic ] View Any view Parameter dynamic: Displays the domain name suffixes dynamically obtained through DHCP or other protocols.
  • Page 766: Display Dns Proxy Table

    Time a mapping can be stored in the cache (seconds). The domain-name field in the display dns dynamic-host command contains 21 characters at most. If a resolved domain name consists of more than 21 characters, only the first 21 characters are displayed.
  • Page 767: Display Dns Server

    Use the command to display the host names and corresponding display ip host IP addresses in the static DNS database. Example # Display the host names and corresponding IP addresses in the static DNS database. <Sysname> display ip host Host Flags...
  • Page 768: Dns Domain

    Domain name suffix, which is case-insensitive and consists of character strings separated by a dot (for example, aabbcc.com). Each separated string contains no more than 63 characters. The length of a domain name suffix with dots included is up to 238 characters. Character strings can contain letters, digits, hyphens (-), underscores (_), and dots (.).
  • Page 769: Dns Resolve

    IP address of the DNS server. Description Use the dns server command to configure an IP address for the DNS server. Use the to remove the IP address. undo dns server No IP address is configured for the DNS server by default.
  • Page 770: Ip Host

    System view Parameter Hostname: Host name, consisting of 1 to 20 characters, including case-insensitive letters, numbers, hyphens (-), or dots (.). The host name must include at least one letter. ip-address: IP address of the specified host in dotted decimal notation.
  • Page 771 Description Use the command to clear the information in the reset dns dynamic-host dynamic domain name cache. Related command: display dns dynamic-host. Example # Clear the information in the dynamic domain name cache. <Sysname> reset dns dynamic-host...
  • Page 772 57: DNS C HAPTER ONFIGURATION OMMANDS...
  • Page 773: Ip Accounting

    Displays information about the IP packets in the interior table. The interior table records rule-compliant packets. If no firewall is configured on the interface, packets refer to all incoming and outgoing IP packets. If a firewall is configured, only those valid packets can pass the firewall.
  • Page 774: Display Ip Count Rule

    58: IP A HAPTER CCOUNTING ONFIGURATION OMMANDS Table 152 Description on the fields of the display ip count command Field Description Protocol Protocol carried in a packet Pkts Number of packets Bytes Number of bytes of packets display ip count rule...
  • Page 775: Ip Count Exterior-Threshold

    IP packets are counted in the firewall-denied table. If the source or destination IP address of the IP packets passing the interface (in ■ this case, a firewall may be configured or not) matches a network address in the IP accounting rule, the packets are recorded in the interior table.
  • Page 776: Ip Count Inbound-Packets

    # Count the outgoing IP packets denied by the firewall on Ethernet1/0. <Sysname> system-view [Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] ip count firewall-denied outbound-packets # Specify not to count the outbound IP packets denied by the firewall on Ethernet1/0. <Sysname> system-view [Sysname] interface ethernet 1/0...
  • Page 777: Ip Count Interior-Threshold

    If no firewall is configured on the interface, valid packets refer to all incoming and outgoing IP packets. If a firewall is configured, valid packets refer to only those passing the firewall. Example # Count incoming IP packets on Ethernet1/0.
  • Page 778: Ip Count Outbound-Packets

    All IP accounting rules will be deleted if no parameter is specified. Each IP accounting rule consists of an IP address and its mask, namely, a network address, which is the result of ANDing the IP address with its mask. IP packets are sorted as follows:...
  • Page 779: Ip Count Timeout

    IP packets are counted in the firewall-denied table. If the source or destination IP address of the IP packets passing the interface (in ■ this case, a firewall may be configured or not) matches a network address in the rule, the packets are counted in the interior table.
  • Page 780 OMMANDS View User view Parameter all: Clears all statistics. firewall: Clears the statistics from the firewall-denied table. exterior: Clears the statistics from the exterior table. interior: Clears the statistics from the interior table. Description Use the command to clear the statistics of IP packets.
  • Page 781: Ip Addressing Configuration Commands

    Syntax display ip interface [ interface-type interface-number ] View Any view Parameter interface-type interface-number: Specifies an interface by its type and number. Description Use the command to display information about a specified display ip interface or all Layer 3 interfaces.
  • Page 782 DDRESSING ONFIGURATION OMMANDS Unknown type: DHCP packet deal mode: global Table 154 Description on fields of the display ip interface command Field Description current state Current physical state of an interface Line protocol current state Current state of the network layer protocol...
  • Page 783: Display Ip Interface Brief

    Note that: If you have configured the time slots of a CE1/PRI or CT1/PRI interface as an ISDN PRI group using the pri-set command, then executing the display ip interface brief command only displays the time slot used by the control channel (D channel), instead of the ones used by the user channels (B channels).
  • Page 784: Ip Address

    Syntax ip address ip-address { mask | mask-length } [ sub ] undo ip address [ ip-address { mask | mask-length } [ sub ] ] View Interface view Parameter ip-address: IP address of interface, in dotted decimal notation.
  • Page 785: Ip Address Unnumbered

    The primary and secondary IP addresses can be located in the same network ■ segment. Before removing the primary IP address, remove all secondary IP addresses. ■ You can assign a secondary IP address only when the interface is not ■...
  • Page 786 59: IP A HAPTER DDRESSING ONFIGURATION OMMANDS...
  • Page 787: Ip Performance

    ERFORMANCE ONFIGURATION OMMANDS display fib Syntax display fib [ | { begin | include | exclude } string | acl acl-number | ip-prefix ip-prefix-name ] View Any view Parameter | { begin | include | exclude } string: Displays FIB information in the buffer related to the specified string according to a regular expression.
  • Page 788 10.2.0.0/16 10.2.1.1 t[1150900568] Eth1/0 invalid 10.2.1.1/32 127.0.0.1 t[1150900568] InLoop0 invalid # Display all entries that contain the string “127” and start from the first one. <Sysname> display fib | begin 127 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Reject L:Generated by ARP or ESIS...
  • Page 789: Display Fib Ip-Address

    Displays FIB entries that match the specified address/mask and have masks longer than or equal to the mask that a user enters. If no masks are specified, FIB entries that match the natural network address and have the masks longer than or equal to the natural mask will be displayed.
  • Page 790: Display Icmp Statistics

    Example # Display statistics about the FIB entries. <Sysname> display fib statistics Route Entry Count Table 157 Description on the fields of the display fib statistics command Field Description Route Entry Count Number of FIB entries display icmp statistics...
  • Page 791: Display Ip Socket

    Displays the socket information of this type. The sock type is in the range 1 to 3, corresponding to TCP, UDP and raw IP respectively. task-id: Displays the socket information of this task. Task ID is in the range 1 to 100.
  • Page 792: Display Ip Statistics

    = SS_PRIV Task = RDSO(59), socketid = 1, Proto = 17, LA = 0.0.0.0:1024, FA = 0.0.0.0:0, sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0, socket option = SO_UDPCHECKSUM, socket state = SS_PRIV SOCK_RAW: Task = ROUT(68), socketid = 2, Proto = 65, LA = 0.0.0.0, FA = 0.0.0.0,...
  • Page 793: Display Tcp Statistics

    Fragment:input output dropped fragmented couldn’t fragment 0 Reassembling:sum timeouts Table 160 Description on the fields of the display ip statistics command Field Description Input: Total number of packets received local Total number of packets with destination being local bad protocol...
  • Page 794 0, window update packets: 0 checksum error: 0, offset error: 0, short error: 0 duplicate packets: 4 (88 bytes), partially duplicate packets: 5 (7 bytes) out-of-order packets: 0 (0 bytes) packets of data after window: 0 (0 bytes)
  • Page 795 Table 161 Description on the fields of the display tcp statistics command Field Description Received packets: Total Total number of packets received packets in sequence Number of packets arriving in sequence window probe packets Number of window probe packets received...
  • Page 796: Display Tcp Status

    60: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS Table 161 Description on the fields of the display tcp statistics command Field Description Packets dropped with MD5 authentication Number of packets dropped with MD5 authentication Packets permitted with MD5 authentication Number of packets permitted with MD5...
  • Page 797: Ip Forward-Broadcast

    Interface view Parameter acl acl-number: Number of an ACL from 2000 to 3999. From 2000 to 2999 are numbers for basic ACLs, and from 3000 to 3999 are numbers for advanced ACLs. Only directed broadcasts permitted by the ACL can be forwarded.
  • Page 798: Ip Redirects Enable

    ICMP timeout packets. undo ip ttl-expires Sending ICMP timeout packets is enabled by default. If the feature is disabled, the device will not send TTL timeout ICMP packets, but still send “reassembly timeout” ICMP packets. Example # Disable sending ICMP timeout packets.
  • Page 799: Ip Unreachables Enable

    ICMP destination unreachable packets. Sending ICMP destination unreachable packets is enabled by default. If the feature is disabled, the device will not send network unreachable and source route failure ICMP packets, but still send other destination unreachable ICMP packets.
  • Page 800: Reset Udp Statistics

    Naptha attack. By default, the protection against Naptha attack is disabled. Note that the configurations of the tcp state and tcp timer check-state command will be deleted after the protection against Naptha attack is disabled. The support for this command varies with devices.
  • Page 801: Tcp Mss

    By default, the maximum size of a TCP packet is 1460 bytes. As the default MTU on an interface is 1500 bytes, and there are link layer cost and IP packet head, so the recommended maximum size of TCP packets is about 1200 bytes.
  • Page 802: Tcp Syn-Cookie Enable

    You can respectively configure the maximum number of TCP connections in ■ each state. If the maximum number of TCP connections in a state is 0, the aging of TCP ■ connections in this state will not be accelerated. Related command: tcp anti-naptha enable.
  • Page 803: Tcp Timer Check-State

    View System view Parameter time-value: TCP connection state check interval in seconds, in the range of 1 to Description Use the tcp timer check-state command to configure the TCP connection state check interval.
  • Page 804: Tcp Timer Syn-Timeout

    By default, the length of the TCP finwait timer is 675 seconds. Note that the actual length of the finwait timer is determined by the following formula: Actual length of the finwait timer = (Configured length of the finwait timer - 75) + configured length of the synwait timer Related command: tcp timer syn-timeout and tcp window.
  • Page 805: Tcp Window

    Syntax tcp window window-size undo tcp window View System view Parameter window-size: Receiving/sending buffer size of TCP connection in KB, ranging from 1 to 32. Description Use the command to configure the receiving/sending buffer size of tcp window TCP connection.
  • Page 806 60: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS...
  • Page 807: Ip Unicast Policy Routing Configuration Commands

    Use the command to remove the undo apply default output-interface configuration. Using this command can set two outgoing interfaces at most for load-sharing. Related commands: apply ip-precedence, apply ip-address next-hop, apply output-interface, and apply ip-address default next-hop. Examples # Set the default outgoing interface for matched packets to Serial2/0.
  • Page 808: Apply Ip-Address Next-Hop

    Use the command to remove the undo apply ip-address next-hop configuration. You can specify up to two next hops in one command line for load-sharing. Related commands: apply ip-precedence, apply output-interface, apply default output-interface, and apply ip-address default next-hop.
  • Page 809: Apply Ip-Precedence

    Parameters type: Specifies the precedence type of IP packets. value: Specifies a precedence value. There are eight precedences (0 to 7) for an IP packet, each corresponding to a keyword. The precedences are listed in the following table:...
  • Page 810: Apply Output-Interface

    Use the command to remove the configuration. undo apply output-interface This command is used to specify interfaces (two interfaces at most) to send the matched IP packets. Note that: Two outgoing interfaces at most can be specified for matched IP packets.
  • Page 811: Display Ip Policy-Based-Route Setup

    Interface Ethernet1/0 policy based routing configuration information: policy-based-route pr01 permit node 1 if-match acl 3101 apply output-interface Ethernet1/0 Table 166 Description on fields of the display ip policy-based-route setup command Field Description Interface Ethernet1/0 policy based routing Configuration information of policy...
  • Page 812: Display Ip Policy-Based-Route Statistics

    61: IP U HAPTER NICAST OLICY OUTING ONFIGURATION OMMANDS Table 166 Description on fields of the display ip policy-based-route setup command Field Description policy-based-route pr01 The referenced policy name is pr01. permit node 1 The match mode is permit and the policy consists of only node 1.
  • Page 813: Display Policy-Based-Route

    View policy-based-route view Parameters acl-number: ACL number, in the range of 2000 to 3999. The number of a basic ACL ranges from 2000 to 2999 and that of an advanced ACL ranges from 3000 to 3999. Description Use the command to define an ACL match rule.
  • Page 814: If-Match Packet-Length

    Parameters min-len: Minimum IP packet length in bytes, in the range of 0 to 65535. max-len: Maximum IP packet length in bytes, in the range of 1 to 65535. max-len must be no less than min-len. Description Use the...
  • Page 815: Ip Policy-Based-Route

    Interface policy routing is disabled by default. Note that: You can only reference one policy when enabling policy routing on an ■ interface. The referenced policy filters incoming packets on the interface. ■...
  • Page 816: Reset Policy-Based-Route Statistics

    There is an AND relationship between the if-match clauses of a node. That is to say, a packet must satisfy all matching rules specified by all if match clauses for the node before the action specified by the apply clause is taken.
  • Page 817 If no policy name is specified, this command clears all the policy routing statistics. Examples # Clear all the policy routing statistics. <Sysname> reset policy-based-route statistics...
  • Page 818 61: IP U HAPTER NICAST OLICY OUTING ONFIGURATION OMMANDS...
  • Page 819: Udp Helper Configuration Commands

    Packets sent Ethernet1/0 192.1.1.2 The information above shows that the IP address of the destination server corresponding to the interface Ethernet 1/0 is 192.1.1.2, and that no packets are forwarded to the destination server. reset udp-helper packet Syntax reset udp-helper packet...
  • Page 820: Udp-Helper Enable

    [Sysname] udp-helper enable udp-helper port Syntax udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time } undo udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }...
  • Page 821: Udp-Helper Server

    By default, the UDP Helper enabled device forwards broadcast packets with any of the six destination port numbers 69, 53, 37, 137, 138 and 49. The configured UDP port numbers (including the default UDP port numbers) will all be removed if UDP Helper is disabled.
  • Page 822 62: UDP H HAPTER ELPER ONFIGURATION OMMANDS...
  • Page 823: Urpf Configuration

    URPF C ONFIGURATION OMMANDS ip urpf Syntax ip urpf { loose | strict } [ allow-default-route ] [ acl acl-number ] undo ip urpf View Interface view Parameter loose: Specifies the loose URPF check. strict: Specifies the strict URPF check.
  • Page 824 63: URPF C HAPTER ONFIGURATION OMMANDS...
  • Page 825: Display Ip Fast-Forwarding Cache

    484 :0 8.0.0.1 7.0.0.13 Eth1/1 Eth1/0 819 :0 8.0.0.1 7.0.0.13 Eth1/2 Eth1/0 Table 169 Description on the fields of the display ip fast-forwarding cache command Field Description Index Unique entry index Source IP address SPort Source port number Destination IP address...
  • Page 826 Enables or disables fast forwarding only in the inbound direction. outbound: Enables or disables fast forwarding only in the outbound direction. If no parameter is specified, fast forwarding is enabled or disabled in both the inbound and outbound directions.
  • Page 827: Reset Ip Fast-Forwarding Cache

    View User view Parameter None Description Use the reset ip fast-forwarding cache command to clear the information in the fast forwarding cache. Example # Clear the information in the fast forwarding cache. <Sysname> reset ip fast-forwarding cache...
  • Page 828 64: F HAPTER ORWARDING OMMANDS...
  • Page 829: Display Dns Ipv6 Dynamic-Host

    Time an entry can be cached in seconds For a domain name displayed with the display dns ipv6 dynamic-host command, no more than 21 characters can be displayed. If the domain name exceeds the maximum length, the first 21 characters will be displayed.
  • Page 830: Display Ipv6 Fib

    DNS server, and “D” represents a DNS server obtained dynamically through DHCP. IPv6 Address IPv6 address of the DNS server Interface Name Name of the interface on the DNS server whose IP address is an IPv6 link-local address. display ipv6 fib Syntax display ipv6 fib [ ipv6-address ]...
  • Page 831: Display Ipv6 Fibcache

    Parameter None Description Use the command to display the mappings between host display ipv6 host names and IPv6 addresses in the static DNS database. Example # Display the mappings between host names and IPv6 addresses in the static DNS database.
  • Page 832: Display Ipv6 Interface

    Note that: If you have configured the time slots of a CE1/PRI or CT1/PRI interface as an ISDN PRI group using the pri-set command, then executing the display ip interface brief command only displays the time slot used by the control channel (D channel), instead of the ones used by the user channels (B channels).
  • Page 833 ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds Hosts use stateless autoconfig for addresses Table 174 Description on fields of the display ipv6 interface command (on a router) Field Description Ethernet1/0 current state...
  • Page 834: Display Ipv6 Neighbors

    “Unassigned” will be displayed.) display ipv6 neighbors Syntax display ipv6 neighbors { ipv6-address | all | dynamic | interface interface-type interface-number | static | vlan vlan-id } [ | { begin | exclude | include } string ] View Any view Parameter ipv6-address: IPv6 address whose neighbor information is to be displayed.
  • Page 835: Display Ipv6 Neighbors Count

    Type of neighbor information, including static configuration and dynamic acquisition. For a static entry, a hyphen “-” is displayed. For a dynamic entry, the reachable time (in seconds) elapsed is displayed, and if it is never reachable, “#” is displayed (for a neighbor acquired dynamically).
  • Page 836: Display Ipv6 Pathmtu

    Parameter socktype socket-type: Displays the socket information of this type. The socket type is in the range of 1 to 3. The value “1” represents a TCP socket, “2” a UDP socket, and “3” a raw IP socket. task-id: Displays the socket information of the task. The task ID is in the range 1 to...
  • Page 837: Display Ipv6 Statistics

    Displays the information of the socket. The socket ID is in the range 0 to 3072. Description Use the command to display socket information. display ipv6 socket Example # Display the information of all sockets. <Sysname> display ipv6 socket...
  • Page 838 Deliver failed: bad length: ratelimited: Table 179 Description on fields of the display ipv6 statistics command Field Description IPv6 Protocol: Statistics of IPv6 packets...
  • Page 839 Table 179 Description on fields of the display ipv6 statistics command Field Description Sent packets: Statistics of sent IPv6 packets, including: Total: 0 Total number of sent packets ■ Local sent out: 0 forwarded: Number of packets sent locally ■...
  • Page 840: Display Tcp Ipv6 Statistics

    65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 179 Description on fields of the display ipv6 statistics command Field Description Received packets: Statistics of received ICMPv6 packets, including Total: 0 Total number of received packets ■ checksum error: 0 too Number of packets with checksum errors ■...
  • Page 841 Keepalive timeout: 0, keepalive probe: 0, keepalive timeout, so connections di sconnected : 0 Initiated connections: 0, accepted connections: 0, established connections: 0 Closed connections: 0 (dropped: 0, initiated dropped: 0) Table 180 Description on fields of the display tcp ipv6 statistics command Field Description Received packets:...
  • Page 842: Display Tcp Ipv6 Status

    65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 180 Description on fields of the display tcp ipv6 statistics command Field Description Sent packets: Statistics of sent packets, including Total: 0 1 Total number of packets urgent packets: 0 2 Number of packets containing an...
  • Page 843: Display Udp Ipv6 Statistics

    Table 181 Description on fields of the display tcp ipv6 status command Field Description TCP6CB IPv6 address of the TCP control block (hexadecimal) Local Address Local IPv6 address Foreign Address Remote IPv6 address State IPv6 TCP connection status, including Closed ■...
  • Page 844: Dns Server Ipv6

    65: IP HAPTER ASICS ONFIGURATION OMMANDS Table 182 Description on fields of the display udp ipv6 statistics command Field Description shorter than header Total number of UDP packets whose total length is less than specified by the packet header data length larger than packet...
  • Page 845: Ipv6 Address

    Note that except the link-local address automatically configured and the one generated through stateless autoconfiguration, all IPv6 addresses will be removed from the interface if you carry out the undo ipv6 address command without any parameter specified. Example # Set the aggregatable global IPv6 unicast address of Ethernet1/0 to 2001::1/64.
  • Page 846: Ipv6 Address Eui-64

    By default, a link-local address will automatically be generated after a site-local or global IPv6 unicast address is configured for an interface. Example # Configure Ethernet1/0 to automatically generate a link-local address.
  • Page 847: Ipv6 Fibcache

    IPv6 FIB. By default, the caching function of the IPv6 FIB is disabled. Note that the caching function of the IPv6 FIB is valid only for packets to be forwarded. Example # Enable the caching function of the IPv6 FIB.
  • Page 848: Ipv6 Host

    By default, the load sharing based on polling is adopted, that is, each ECMP route is used in turn to forward packets. Example # Specify the load sharing mode based on the HASH algorithm for packet forwarding.
  • Page 849: Ipv6 Icmpv6 Multicast-Echo-Reply Enable

    Parameter bucket bucket-size: Number of tokens in a token bucket, in the range of 1 to 200. ratelimit interval: Update period of the token bucket in milliseconds, in the range of 0 to 2,147,483,647. The update period “0” indicates that the number of ICMPv6 error packets sent is not restricted.
  • Page 850: Ipv6 Nd Autoconfig Managed-Address-Flag

    Use the command to undo ipv6 nd autoconfig managed-address-flag restore the M flag to the default value “0” so that the host can acquire an IPv6 address through stateless autoconfiguration. By default, the M flag is set to 0. Example # Configure the host to acquire an IPv6 address through stateful autoconfiguration.
  • Page 851: Ipv6 Nd Dad Attempts

    View Interface view Parameter value: Number of attempts to send an NS message for DAD, in the range of 0 to 600. The default value is “1”. When it is set to 0, the DAD is disabled. Description Use the...
  • Page 852: Ipv6 Nd Ns Retrans-Timer

    OMMANDS Parameter value: Number of hops, in the range of 0 to 255. When it is set to 0, the Cur Hop Limit field in RA messages sent by the device is 0. That is, the number of hops is determined by the host itself, but not specified by the device.
  • Page 853: Ipv6 Nd Ra Halt

    Reachable Timer field in RA messages as 0, so that the number of hops is determined by the host itself, but not specified by the device.
  • Page 854: Ipv6 Nd Ra Interval

    200 seconds. Note the following: The minimum interval should be three-fourths of the maximum interval or less. ■ The maximum interval for sending RA messages should be less than or equal to ■ the router lifetime in RA messages. Example # Set the maximum interval for advertising RA messages to 1,000 seconds and the minimum interval to 700 seconds.
  • Page 855: Ipv6 Nd Ra Router-Lifetime

    View Interface view Parameter time: Router lifetime in seconds, in the range of 0 to 9,000. When it is set to 0, the device does not serve as the default router. Description Use the command to configure the router lifetime in ipv6 nd ra router-lifetime RA messages.
  • Page 856: Ipv6 Neighbor

    Note that you can adopt the IPv6 address and link layer address of the Layer 3 VLAN interface or those of the VLAN port to configure a static neighbor entry.
  • Page 857: Ipv6 Neighbors Max-Learning-Num

    View System view Parameter ipv6-address: Specified IPv6 address. value: PMTU of a specified IPv6 address in bytes, in the range of 1,280 to 10,000. Description Use the command to configure a static PMTU for a specified IPv6 ipv6 pathmtu address.
  • Page 858: Ipv6 Pathmtu Age

    View System view Parameter age-time: Aging time for PMTU in minutes, in the range of 10 to 100. Description Use the ipv6 pathmtu age command to configure the aging time for a dynamic PMTU.
  • Page 859: Reset Ipv6 Fibcache

    Example # Clear FIB cache entries. <Sysname> reset ipv6 fibcache reset ipv6 neighbors Syntax reset ipv6 neighbors { all | dynamic | interface interface-type interface-number | static } View User view Parameter all: Clears the static and dynamic neighbor information on all interfaces.
  • Page 860: Reset Ipv6 Statistics

    Use the command to clear the statistics of IPv6 packets and reset ipv6 statistics ICMPv6 packets. Example # Clear the statistics of IPv6 packets and ICMPv6 packets. <Sysname> reset ipv6 statistics reset tcp ipv6 statistics Syntax reset tcp ipv6 statistics...
  • Page 861: Tcp Ipv6 Timer Fin-Timeout

    By default, the length of the synwait timer of TCP connections is 75 seconds. Example # Set the synwait timer length of TCP connections to 100 seconds.
  • Page 862: Tcp Ipv6 Window

    View System view Parameter size: Size of the TCP sending/receiving buffer in KB (kilobyte), in the range of 1 to Description Use the tcp ipv6 window command to set the size of the TCP sending/receiving buffer.
  • Page 863: Display Natpt Address-Group

    # Display the configuration information of a NAT-PT address pool. <Sysname> display natpt address-group NATPT IPv4 Address Pool Information: 1: from 1.1.1.1 to 1.1.1.4 Table 183 Description on fields of the display natpt address-group command Field Description Address pool number from 1.1.1.1 Start address in an address pool to 1.1.1.4...
  • Page 864: Display Natpt Aging-Time

    Type Indicates whether the connection is initiated by an IPv6 host or an IPv4 host. If initiated by an IPv6 host, the IPv6 address is the source address. Otherwise, it is the destination address. In the example, 3001::0001 is the source address and 2.2.2.2 is the destination address.
  • Page 865: Display Natpt All

    Table 185 Description on fields of the display natpt aging-time command Field Description icmp -------aging-time value is 20 The timeout time for an ICMP packet is 20 seconds. dns -------aging-time value is 10 The timeout time for a DNS packet is 10 seconds.
  • Page 866: Display Natpt Frag-Sessions

    Total Address Mapping: 0 (static: 0 dynamic: 0 ) Total V6Server Mappings: 0 NATPT Interfaces: Ethernet1/0 For the explanations to the information displayed above, see the descriptions of related commands. display natpt frag-sessions Syntax display natpt frag-sessions View Any view...
  • Page 867: Display Natpt Session

    Syntax display natpt session { all | icmp | tcp | udp } View Any view Parameter all: Displays the information of all sessions. icmp: Displays the information of ICMP sessions. tcp: Displays the information of TCP sessions.
  • Page 868: Natpt Address-Group

    View System view Parameter group-number: Number of an address pool, in the range of 1 to 31. start-ipv4-address: Start IPv4 address in a pool. end-ipv4-address: End IPv4 address in a pool. Description Use the command to configure a NAT-PT address pool.
  • Page 869: Natpt Aging-Time

    <Sysname> system-view [Sysname] natpt address-group 3 2.3.4.5 2.3.4.10 natpt aging-time Syntax natpt aging-time { default | { dns | finrst | frag | icmp | syn | frag | tcp | udp | } time-value } View System view Parameter default: Restores the default NAT-PT session timeout time.
  • Page 870: Natpt Enable

    ■ 86,400 seconds for a TCP packet ■ Example # Set the NAT-PT session timeout time to 30 seconds for UDP packets and to 45 seconds for ICMP packets. <Sysname> system-view [Sysname] natpt aging-time udp 30 [Sysname] natpt aging-time icmp 45...
  • Page 871: Natpt Prefix

    Prefix of an IPv6 address, 96 bits in length. interface-type interface-number: Interface from which an IPv6 packet is forwarded if the prefix of the destination address of the packet complies with the format of the natpt-prefix argument during a dynamic mapping on the IPv6 network side.
  • Page 872: Natpt Turn-Off Tos

    Traffic Class field in an IPv6 packet translated from an IPv4 packet to the value of the ToS field in the IPv4 packet. By default, the value of the Traffic Class field in an IPv6 packet translated from an IPv4 packet is the same as that of the ToS field in the IPv4 packet.
  • Page 873: Natpt V4Bound Dynamic

    For a packet from an IPv4 host to an IPv6 host, if the source IPv4 address complies with the specified ACL rule, a NAT-PT prefix will be added to translate the source IPv4 address into an IPv6 address.
  • Page 874: Natpt V6Bound Dynamic

    View System view Parameter acl-number: IPv6 access control list (ACL) number, in the range of 2000 to 2999. natpt-prefix: NAT-PT prefix, 96 bits in length. address-group: IPv4 address pool number, in the range of 1 to 31. interface-type: IPv4 interface type.
  • Page 875: Natpt V6Bound Static

    Example # Translate the source address of an IPv6 packet that matches IPv6 ACL 2001 into an IPv4 address in address pool 1. <Sysname> system-view [Sysname] natpt address-group 1 2.3.4.5 2.3.4.10...
  • Page 876: Reset Natpt Statistics

    <Sysname> reset natpt dynamic-mappings reset natpt statistics Syntax reset natpt statistics View User view Parameter None Description Use the command to clear all NAT-PT statistics reset natpt statistics information. Example # Clear all NAT-PT statistics information. <Sysname> reset natpt statistics...
  • Page 877: Dual

    [ ipv6-address prefix-length | ipv6-address/prefix-length ] View Interface view Parameter ipv6-address: IPv6 address for the interface. prefix-length: Length of the prefix in bits, in the range of 1 to 128. Description Use the ipv6 address command to configure a site-local address or global unicast address for an interface.
  • Page 878: Ipv6 Address Auto Link-Local

    View Ethernet interface view Parameter ipv6-address/prefix-length: IPv6 address and prefix length. They together specify the prefix of an IPv6 address in the EUI-64 format. The prefix length of an EUI-64 address ranges from 1 to 64.
  • Page 879: Ipv6 Address Link-Local

    Interface view Parameter ipv6-address: IPv6 link-local address. The high-order ten bits of an IPv6 link-local address must be 1111111010 (binary), that is to say, the first group of the IPv6 link-local address must range from FE80 to FEBF (hexadecimal). Description...
  • Page 880 67: D HAPTER TACK ONFIGURATION OMMANDS...
  • Page 881: Tunneling

    UNNELING ONFIGURATION OMMANDS A tunnel interface number is in the X format, where X ranges from 0 to 1023. destination Syntax destination { ip-address | ipv6-address } undo destination View Tunnel interface view Parameter ip-address: Destination IPv4 address of a specified tunnel interface.
  • Page 882: Display Interface Tunnel

    Syntax display interface tunnel [ number ] View Any view Parameter number: Tunnel interface number. If the number argument is not specified, the information of all tunnel interfaces will be displayed. Description Use the display interface tunnel command to display related information of a specified tunnel interface, such as source address, destination address, and encapsulation mode.
  • Page 883: Display Ipv6 Interface Tunnel

    Description Use the command to display related IPv6 display ipv6 interface tunnel information of a specified tunnel interface, including link state, IPv6 protocol state, and IPv6 address. Example # Display information of the interface tunnel 0. <Sysname> display ipv6 interface tunnel 0...
  • Page 884: Encapsulation-Limit

    [ number ] undo encapsulation-limit View Tunnel interface view Parameter number: Number of nested encapsulations in a tunnel, in the range of 1 to 10. The default value is 4. Description Use the command to configure the maximum number of encapsulation-limit nested encapsulations of a packet.
  • Page 885: Mtu

    View System view Parameter number: Tunnel interface number, in the range of 0 to 1023. The number of tunnels that can be created is restricted by the total number of interfaces and the memory. Description Use the command to create a tunnel interface and enter tunnel interface tunnel interface view.
  • Page 886: Source

    By default, no source address is configured for a tunnel interface. Note that: The source address of a tunnel interface is the address of the interface sending ■ packets and is usually the destination address of the peer tunnel interface.
  • Page 887: Tunnel-Protocol

    Syntax tunnel-protocol { ipv4-ipv4 | ipv6-ipv4 [ 6to4 | auto-tunnel | isatap ] | ipv6-ipv6 | ipv4-ipv6 } undo tunnel-protocol View Tunnel interface view Parameter ipv4-ipv4: Sets the tunnel to an IPv4 over IPv4 tunnel. Ipv4-ipv6: Sets the tunnel to an IPv4 over IPv6 tunnel.
  • Page 888 68: T HAPTER UNNELING ONFIGURATION OMMANDS...
  • Page 889: Ip V 6 Unicast Policy Routing Configuration Commands

    This command only applies to packets not finding a match in the routing table. You can specify up to five default outgoing interfaces, implementing load balancing based on data streams.
  • Page 890: Apply Ipv6-Address Default Next-Hop

    This command only applies to packets not finding a match in the routing table. You can specify up to five default next hops, implementing load balancing based on data streams. The interface to reach the next hop must be a P2P interface rather than a broadcast interface.
  • Page 891: Apply Ipv6-Address Next-Hop

    The next hop must be adjacent to the device. You can specify up to five next hops, implementing load balancing based on data streams. Related command: apply ipv6-precedence, apply output-interface, apply default output-interface and apply ipv6-address default next-hop.
  • Page 892: Apply Output-Interface

    Note that: Five outgoing interfaces at most can be specified, and load balancing based on ■ data streams can be implemented. For non-P2P interfaces (broadcast and NBMA interfaces) such as Ethernet ■...
  • Page 893: Display Ipv6 Config Policy-Based-Route

    Example # Specify the interface Serial 2/0 as the outgoing interface for matched IPv6 packets. <Sysname> system-view [Sysname] ipv6 policy-based-route aa permit node 11 [Sysname-pbr6-aa-11] apply output-interface serial 2/0 display ipv6 config policy-based-route Syntax display ipv6 config policy-based-route policy-name View...
  • Page 894: Display Ipv6 Policy-Based-Route Setup

    Node permit : if-match acl6 2000 Node permit : apply destination-based-forwarding Table 194 Description on fields of the display ipv6 policy-based-route setup command Field Description ipv6 policy-based-route : test Name of the referenced policy Node 6 permit The match mode of Node 6 is permit.
  • Page 895: Display Ipv6 Policy-Based-Route Statistics

    View IPv6 policy-based-route view Parameter acl6-number: IPv6 ACL number, in the range 2000 to 3999. The number of a basic IPv6 ACL ranges from 2000 to 2999 and that of an advanced IPv6 ACL ranges from 3000 to 3999. Description...
  • Page 896: If-Match Packet-Length

    Minimum IPv6 packet length in bytes, in the range of 0 to 65535. max-len: Maximum IPv6 packet length in bytes, in the range of 1 to 65535. The value of max-len must be no less than that of min-len.
  • Page 897: Ipv6 Policy-Based-Route (Interface View)

    Parameter policy-name: Policy name, a string of 1 to 19 characters. deny: Specifies the match mode of the policy node as deny. When a packet satisfies all rules defined by the if-match clauses, the packet will be denied by the...
  • Page 898 There is an OR relationship between nodes of the policy. That is, if a packet ■ passes a node, it passes the policy. A packet passing a node of a policy will not go to the next node of the policy ■ for a match.
  • Page 899: Terminal

    The terminal access feature supports the automatic link teardown function. You can enable the function and configure the teardown time in terminal template view. With this function enabled, if a terminal is disconnected from the router, the terminal enters the state of DOWN, and the router will automatically tear down the TCP connection to the front-end processor (FEP) after the specified time period.
  • Page 900: Bind Vpn-Instance

    (manual link establishment is the default mode). The router establishes a TCP connection to the FEP only after a user enters a character on the terminal, except the special characters for hotkeys and terminals. Special characters are the characters that the terminals process directly, such as <Shift+F2>.
  • Page 901: Data Protect Router-Unix

    By default, data read blocking is disabled. Note that, if data read blocking is enabled, when the router fails to send data from the terminal, the router stops receiving data from the terminal until the data is...
  • Page 902: Data Send Delay

    By default; the data send delay is 0 milliseconds, namely, there is no data send delay. A router configured with data send delay begins to send the data received from a terminal to an FEP after the configured data send delay time expires.
  • Page 903 Encrypt Now: no Receive remote buffer address: 593c904 Receive buffer head: 499 Receive buffer tail: 499 Time from APP is linked till now: 00h00m00s Table 196 Description on the fields of the display rta terminal-number vty-number command Field Description APP Index...
  • Page 904 Receive buffer head: 2032 Receive buffer tail: 2032 ------------------------------------ Type State Kept Table 197 Description on the fields of the display rta terminal-number brief command Field Description TTY 1 TTY" indicates the terminal access type and “1” the terminal number.
  • Page 905 Table 197 Description on the fields of the display rta terminal-number brief command Field Description Current VTY Send Data, in bytes, sent by the current VTY Current APP Recv Data, in bytes, received by the current application Current APP Send...
  • Page 906: Driverbuf Save

    Use the command to restore the default. undo driverbuf save By default, the router clears the terminal receive buffer after the TCP connection is established. Terminal receive buffer is the buffer used on a router to store terminal data. Example...
  • Page 907: Idle-Timeout

    By default, the terminal access idle timeout time is 0 seconds; that is, the TCP connection never times out. With the idle timeout time configured, if no data is transmitted over the terminal access connection in the specified period of time, the connection is automatically torn down.
  • Page 908: Menu Hotkey

    ■ configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
  • Page 909: Print Connection-Info

    Note that this function requires terminal support and the screen code configured on the router and that specified on the terminal must be the same. Screen codes vary with terminal types. For details, refer to the corresponding terminal manuals.
  • Page 910: Print Information

    By default, the router can print characters on the terminal. You can use this command when the terminal is connected to a printer for printing. Related command: print connection-info and print menu.
  • Page 911: Print Language

    By default, terminal menu information is printed. This command takes effect only in TTY and Telnet terminal access. Make sure you enable the router to print characters on the terminal before using this command. Related command: print information.
  • Page 912: Reset Rta Connection

    ■ that of any other hotkey configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
  • Page 913: Resetkey

    Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays too much data.
  • Page 914: Rta Rtc-Server Listen-Port

    FEP are consistent), the connection is established; otherwise, no connection can be established between the router and the FEP. Only a MAC address or a character string can be configured at a time, and the ■...
  • Page 915: Rta Server Enable

    By default, terminal access is disabled on the router. Note that, after terminal access is disabled, the settings of template, terminal, and VTY will be kept. Example # Enable terminal access.
  • Page 916: Rta Template

    TCP connection source IP address for dial-up backup and address hiding. If a source IP address is also configured in a terminal template, this address is ■ preferred as the source IP address for the corresponding terminal to establish TCP connections.
  • Page 917: Sendbuf Bufsize

    By default, the maximum size of data to be sent to the terminal at one time is 500 byes. The router sends data in packets to the terminal. The sizes of the sent packets are different.
  • Page 918: Sendbuf Threshold

    By default, no threshold is configured. The send buffer is used to store the data that the router is to send to the terminal. The threshold specifies the maximum data in bytes that the send buffer can store.
  • Page 919: Testkey

    TCP settings. undo tcp By default, receive buffer size is 2,048 bytes, send buffer size is 2,048 bytes, delay is enabled, keepalive interval is 50 seconds, and the number of keepalives is 3. If you specify the nodelay keyword, the TCP Nagle algorithm will not be used.
  • Page 920: Update Changed-Config

    ■ other hotkey configured on the device. Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using the hotkey may not get a response rapidly when the terminal displays ■...
  • Page 921: Vty Description

    VTY. undo vty description By default, no description is configured for a VTY. For a VTY of a service, you are recommended to use the service name as the description information of the VTY for convenience. Example # Set the description information of VTY 1 to chuxu.
  • Page 922: Vty Password

    Otherwise, hotkey conflicts will occur. For example, the hotkey value cannot be set to 17 or 19 because these two values are used for the hotkeys of flow control. Using a hotkey may not get a response rapidly when the terminal displays too much data.
  • Page 923: Vty Rtc-Client Remote

    Example # Create VTY 1 to serve as an RTC client, setting the IP address of the corresponding RTC server to 1.1.1.1, the listening port of the RTC server to 9010, and the source IP address to be used for establishing TCP connections to 2.2.2.2.
  • Page 924: Vty Screencode

    Note that, after this configuration, no more Telnet VTYs, TTY VTYs, or RTC client VTYs can be configured in the template of the VTY. Example # Create a VTY to serve as the RTC server, setting the IP address of the RTC client to 2.2.2.2 and the terminal number to 1. <Sysname> system-view [Sysname] rta template abc [Sysname-rta-template-abc] vty 1 rtc-server remote 2.2.2.2 1...
  • Page 925: Vty Telnet Remote

    Terminal template view Parameters vty-number: VTY number, ranging 0 to 7. ip-address: FEP IP address. port-number: Listening Telnet port on the FEP. It ranges 1 to 50000 and defaults to source source-ip: Source IP address bound. Description Use the vty telnet remote command to create a VTY for Telnet terminal access.
  • Page 926: Vty-Switch Priority

    Note that, after this configuration, no more RTC client VTYs or RTC server VTYs can be configured in the template of the VTY. Example # Create VTY 1 for TTY terminal access, setting FEP IP address to 1.1.1.1, listening port number to 9010, and source IP address to 2.2.2.2. <Sysname> system-view [Sysname] rta template abc [Sysname-rta-template-abc] vty 1 tty remote 1.1.1.1 9010 source 2.2.2.2...
  • Page 927 RTC client needs to initiate a connection to an RTC server, it first initiates a connection to the RTC server with the lowest VTY number. If the number of connection failures exceeds the threshold, the RTC client initiates a connection to the RTC server with the second lowest VTY number.
  • Page 928 70: T HAPTER ERMINAL CCESS ONFIGURATION OMMANDS...
  • Page 929: Ip Routing

    (the number of packets already forwarded through these interfaces is considered). Examples # Enable bandwidth-based load sharing. <Sysname> system-view [Sysname] bandwidth-based-sharing display ip routing-table Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] | { begin | exclude | include } regular-expression ] View Any view...
  • Page 930 With this argument absent, the command displays only summary information about active routes. |: Uses a regular expression to filter output information. begin: Displays routing table entries starting from the one specified by the regular expression. include: Displays routing table entries specified by the regular expression.
  • Page 931 127.0.0.1 InLoop0 192.168.80.0/24 Direct 0 192.168.80.10 Eth0/1 192.168.80.10/32 Direct 0 127.0.0.1 InLoop0 Table 202 Description on the fields of the display ip routing-table command Field Description Destinations Number of destination addresses Routes Number of routes Destination/Mask Destination address/mask length Proto...
  • Page 932: Display Ip Routing-Table Acl

    Label State Status of the route, which could be Active, Inactive, Adv, or NoAdv. Time that the route has been in the routing table, in the sequence of hour, minute, and second from left to right. Route tag display ip routing-table acl...
  • Page 933 This command is intended for the follow-up display of routing policies. For more information about routing policy, refer to “Routing Policy Common Configuration Commands” on page 1187. If the specified ACL does not exist or it has no rules configured, the entire routing table is displayed. Examples # Define basic ACL 2000 and set the route filtering rules.
  • Page 934 Interface: InLoop0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h05m32s Tag: 0 Table 204 Description on the fields of the display ip routing-table command Field Description Destination Destination address Mask Mask Protocol Routing protocol that discovered the route...
  • Page 935: Display Ip Routing-Table Ip-Address

    A Static route are not lost when you perform the save operation and then restart the router. Routes configured manually are marked as static. Unicast Unicast routes Age of the route in the routing table, in the form of hh:mm:ss. Cost Route cost display ip routing-table ip-address Syntax...
  • Page 936 ANDs the destination IP address in each route entry with its corresponding subnet mask. If the two operations yield the same result for an entry and this entry is active, it is displayed. display ip routing-table ip-address mask ■...
  • Page 937 Static 60 0.0.0.0 NULL0 11.1.1.0/24 Static 60 0.0.0.0 NULL0 # Display route entries by specifying a destination IP address and mask and the longer-match keyword. [Sysname] display ip routing-table 11.1.1.1 24 longer-match Routing Table : Public Summary Count : 1 Destination/Mask...
  • Page 938: Display Ip Routing-Table Ip-Prefix

    (without the verbose keyword) is displayed. Examples # Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length between 24 and 32. <Sysname> system-view [Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32...
  • Page 939: Display Ip Routing-Table Protocol

    Parameters protocol: Displays the routes of a routing protocol, not including routes redistributed into the protocol. It can be bgp, direct, isis, ospf, rip, or static. inactive: Displays only inactive routes. With this argument absent, the command displays information about both active and inactive routes.
  • Page 940: Display Ip Routing-Table Statistics

    [ vpn-instance vpn-instance-name ] statistics View Any view Parameters vpn-instance vpn-instance-name: Displays routing table information for a VPN instance. The VPN instance name is a string of 1 to 31 characters. Description Use the command to display statistics display ip routing-table statistics about the public network routing table or a VPN routing table.
  • Page 941: Display Ip Relay-Route

    Table 205 Description on the fields of the display ip routing-table statistics command Field Description deleted Number of routes marked as deleted, which will be freed after a period. freed Number of routes that got freed, that is, got removed permanently...
  • Page 942: Display Load-Sharing Ip Address

    10.1.2.2 1193501 155000 Atm1/0/0 10.1.3.2 15914 2048 Serial2/0/0 Table 208 Description on the fields of the display load-sharing ip address command Field Description Nexthop Nexthop address Packet Total number of packets forwarded through the outbound interface Bandwidth Bandwidth of the outbound interface used for load sharing...
  • Page 943: Display Ipv6 Routing-Table Acl

    IPv6 ACL. If the specified IPv6 ACL is not available, all routing information is displayed. Examples # Display brief routing information permitted by ACL 2000. <Sysname> display ipv6 routing-table acl 2000...
  • Page 944: Display Ipv6 Routing-Table Ipv6-Address

    ANDs the destination IPv6 address in each route entry with the input prefix length. If the two operations yield the same result for an entry and the entry is active with a prefix length less than or equal to the input prefix length, the entry is displayed.
  • Page 945: Display Ipv6 Routing-Table Ipv6-Address1 Ipv6-Address2

    Examples # Display brief routing information for the specified destination IPv6 address and prefix. <Sysname> display ipv6 routing-table 10::1 127 Routing Table: Summary Count: 3 Destination: 10::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost Destination: 10::/68...
  • Page 946: Display Ipv6 Routing-Table Ipv6-Prefix

    [ verbose ] View Any view Parameters ipv6-prefix-name: Name of the IPv6 prefix list, in the range 1 to 19 characters. verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed. Description...
  • Page 947: Display Ipv6 Routing-Table Statistics

    DIRECT STATIC RIPng OSPFv3 IS-ISv6 BGP4+ Total Table 210 Description on the fields of the display ipv6 routing-table statistics command Field Description Protocol Routing protocol route Route number of the protocol active Active route number added Routes added after the last startup of the router...
  • Page 948: Display Ipv6 Routing-Table Verbose

    State : Active NoAdv Cost Tunnel ID : 0x0 Label : NULL : 22161sec Table 211 Description on the fields of the display ipv6 routing-table verbose command Field Description Destination Destination IPv6 address PrefixLength Prefix length of the address Nexthop...
  • Page 949: Display Ipv6 Relay-Tunnel

    <Sysname> display ipv6 relay-route Total Number of relay-route is: 1 Dest/Mask: 192::1/64 Related instance id(always 0): 0(1) Table 212 Description on the fields of the display ipv6 relay-route command Field Description Total Number of Relay-route Total number of recursive routes...
  • Page 950: Load-Bandwidth

    Use the command to restore the default. undo load-bandwidth The load sharing bandwidth of an interface defaults to the physical bandwidth of the interface. Examples # Configure the load sharing bandwidth of the interface. <Sysname> system-view...
  • Page 951: Reset Ip Routing-Table Statistics Protocol

    Parameters vpn-instance-name: VPN instance name, a string of 1 to 31 characters. all: Clears the routing statistics of all the routing protocols in the IPv4 routing table. protocol: Clears the routing statistics of the specified routing protocol in the IPv6 routing table.
  • Page 952 71: IP R HAPTER OUTING ABLE OMMANDS Examples # Clear the routing statistics of all the routing protocols in the routing table. <Sysname> reset ipv6 routing-table statistics protocol all...
  • Page 953: Bgp Configuration

    Creates a summary with AS set. attribute-policy route-policy-name: Sets the attributes of the summary route according to the routing policy, the name of which is a string of 1 to 19 characters. detail-suppressed: Only advertises the summary route. suppress-policy route-policy-name: Suppresses specific routes defined in the routing policy, the name of which is a string of 1 to 19 characters.
  • Page 954: Balance (Bgp/Bgp-Vpn Instance View)

    View BGP view/VPN instance view Parameters number: Number of BGP routes for load balancing, in the range 1 to 8. When it is set to 1, no load balancing is available. Description Use the balance command to configure the number of BGP routes for load balancing.
  • Page 955: Bestroute As-Path-Neglect (Bgp/Bgp-Vpn Instance View)

    Related commands: display bgp routing-table. Examples # In BGP view, set the number of routes participating in BGP load balancing to 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] balance 2 # In BGP-VPN instance view, set the number of routes participating in BGP load balancing to 2 (the VPN has been created).
  • Page 956: Bestroute Compare-Med (Bgp/Bgp-Vpn Instance View)

    This comparison is not enabled by default. Examples # In BGP view, enable the comparison of MEDs for paths from each AS when selecting the best route. <Sysname> system-view [Sysname] bgp 100...
  • Page 957: Bgp

    The system only compares MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison. Examples # In BGP view, enable the comparison of the MED for paths from peers within the confederation. <Sysname> system-view [Sysname] bgp 100...
  • Page 958: Confederation Id

    Do not use this command unless associated ASs adopt the same IGP protocol and routing selection method. Examples # In BGP view, enable to compare the MED for paths from peers in different ASs. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med # In BGP-VPN instance view, enable to compare the MED for paths from peers in different ASs (The VPN has been created).
  • Page 959: Confederation Nonstandard

    Examples # Confederation 9 consists of four sub-ASs, namely, 38, 39, 40 and 41. The peer 10.1.1.1 is a member of the confederation while the peer 200.1.1.1 is outside of the confederation. Take sub AS 41 as an example.
  • Page 960: Dampening (Bgp/Bgp-Vpn Instance View)

    Specifies a half-life for suppressed routes from 1 to 45 minutes. By default, the value is 15 minutes. reuse: Specifies a reuse threshold value for suppressed routes from 1 to 20000. A suppressed route whose penalty value decreases under the value is reused. By...
  • Page 961: Default Ipv4-Unicast

    Specifies a suppression threshold from 1 to 20000. The route with a penalty value higher than the threshold is suppressed. The default value is 2000. ceiling: Specifies a ceiling penalty value from 1001 to 20000. The value must be bigger than the suppress value. By default, the value is 16000.
  • Page 962: Default Local-Preference (Bgp/Bgp-Vpn Instance View)

    # In BGP view, set the default local preference to 180. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default local-preference 180 # In BGP-VPN instance view, set the default local preference to 180 (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 963: Default-Route Imported (Bgp/Bgp-Vpn Instance View)

    Multi-exit discriminator (MED) is an external metric for routes. Different from local preference, MED is exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower MED is preferred. When a router running BGP obtains several routes with an identical destination but different next-hops from various external peers, it will select the best route depending on the MED value.
  • Page 964: Display Bgp Group

    ONFIGURATION OMMANDS Related commands: import-route (BGP/BGP-VPN instance view). Examples # In BGP view, allow default route redistribution from OSPF into BGP. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default-route imported [Sysname-bgp] import-route ospf 1 # In BGP-VPN instance view, enable redistributing default route from OSPF into BGP (the VPN has been created).
  • Page 965: Display Bgp Network

    Table 215 Description on the fields of the display bgp group command Field Description Configured hold timer value Holdtime interval Keepalive timer value Keepalive interval Minimum time between advertisement Minimum time between advertisement runs runs Peer Preferred Value Preferred value of the routes from the peer...
  • Page 966: Display Bgp Paths

    Short for INCOMPLETE. It indicates that the origin of a route is unknown and the route is learned by other means. display bgp peer Syntax display bgp peer [ ip-address { log-info | verbose } | group-name log-info | verbose ] View Any view Parameters...
  • Page 967 Name of a peer group to be displayed, a string of 1 to 47 characters. log-info: Displays the log information of the specified peer. verbose: Displays the detailed information of the peer/peer group. Description Use the command to display peer/peer group information.
  • Page 968: Display Bgp Routing-Table

    Preferred value specified for the routes from the peer Routing policy configured Local routing policy display bgp routing-table Syntax display bgp routing-table [ ip-address [ { mask | mask-length } [ longer-prefixes ] ] ] View Any view Parameters ip-address: Destination IP address.
  • Page 969: Display Bgp Routing-Table As-Path-Acl

    Table 219 Description on the fields of the display bgp routing command Field Description BGP Local router BGP Local router ID Status codes Status codes: * - valid > - best d - damped h - history i - internal (IGP)
  • Page 970: Display Bgp Routing-Table Cidr

    OMMANDS <Sysname> display bgp routing-table as-path-acl 1 BGP Local router ID is 20.20.20.1 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete...
  • Page 971: Display Bgp Routing-Table Community

    View Any view Parameters aa:nn: Community number. Both aa and nn are in the range 0 to 65535. &<1-13>: Argument before it can be entered up to 13 times. no-advertise: Displays BGP routes that are not advertised to any peer.
  • Page 972: Display Bgp Routing-Table Dampened

    HAPTER ONFIGURATION OMMANDS whole-match: Displays routes exactly matching the specified basic-community-list. &<1-16>: Specifies the argument before it can be entered up to 16 times. Description Use the command to display BGP display bgp routing-table community-list routing information matching the specified BGP community list.
  • Page 973: Display Bgp Routing-Table Dampening Parameter

    Table 220 Description on the fields of the display bgp routing-table dampened command Field Description From IP address from which the route was received Reuse Reuse time of the route Refer to Table 219 for description on the other fields above.
  • Page 974: Display Bgp Routing-Table Flap-Info

    Matches the longest prefix. Description Use the command to display BGP route display bgp routing-table flap-info flap statistics. If no parameter is specified, this command displays all BGP route flap statistics. Examples # Display BGP route flap statistics. <Sysname> display bgp routing-table flap-info BGP Local router ID is 2.2.2.2...
  • Page 975: Display Bgp Routing-Table Peer

    Table 222 Description on the fields of the display bgp routing flap-info command Field Description From Source IP address of the route Flaps Number of routing flaps Duration Duration time of the flap route Reuse Reuse time of the flap route Refer to Table 219 for description on the other fields above.
  • Page 976: Display Bgp Routing-Table Regular-Expression

    Examples # Display BGP routing statistics. <Sysname> display bgp routing-table statistic Total Number of Routes: 4 Table 223 Description on the fields of the display bgp routing-table statistic command Field Description Total number of routes Total number of routes...
  • Page 977: Filter-Policy Export (Bgp/Bgp-Vpn Instance View)

    Use the command to disable the function. undo ebgp-interface-sensitive This function is enabled by default. Examples # In BGP view, enable the clearing of EBGP session on any interface that becomes down. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ebgp-interface-sensitive # In BGP-VPN instance view, enable the clearing of EBGP session on any interface that becomes down (the VPN has been created).
  • Page 978: Filter-Policy Import (Bgp/Bgp-Vpn Instance View)

    72: BGP C HAPTER ONFIGURATION OMMANDS rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in the range 1 to 65535. static: Filters static routes. If no routing protocol is specified, all outgoing routes are filtered.
  • Page 979: Graceful-Restart Timer Restart

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] graceful-restart graceful-restart timer restart Syntax graceful-restart timer restart timer undo graceful-restart timer restart View BGP view Parameters timer: Maximum time for a peer to reestablish a BGP session, in the range 3 to 600 seconds.
  • Page 980: Graceful-Restart Timer Wait-For-Rib

    Use the command to restore the default. undo graceful-restart timer restart By default, the maximum time for a peer to reestablish a BGP session is 150 seconds. Examples # Configure the maximum time for a peer to reestablish a BGP session as 300 seconds.
  • Page 981: Import-Route (Bgp/Bgp-Vpn Instance View)

    Redistributes routes from the specified routing protocol, which can be direct, isis, ospf, rip, or static at present. process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is isis, ospf, or rip.
  • Page 982: Log-Peer-Change

    Examples # In BGP view, redistribute routes from RIP. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] import-route rip # In BGP-VPN instance view, redistribute routes from RIP (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1...
  • Page 983: Network (Bgp/Bgp-Vpn Instance View)

    Mask of the network address, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. short-cut: Specifies the route to use the local preference. If the route is an EBGP route whose preference is higher than the local one, using this keyword can configure the EBGP route to use the local preference, so the route is hard to become the optimal route.
  • Page 984: Peer Advertise-Community (Bgp/Bgp-Vpn Instance View)

    { group-name | ip-address } advertise-community View BGP view/BGP-VPN instance view Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the command to advertise the community peer advertise-community attribute to a peer/peer group.
  • Page 985: Peer Allow-As-Loop (Bgp/Bgp-Vpn Instance View)

    By default, the local AS number is allowed. Related commands: display bgp routing-table peer. Examples # In BGP view, configure the repeating times of the local AS number as 2 for routes from peer 1.1.1.1. <Sysname> system-view [Sysname] bgp 100...
  • Page 986: Peer As-Number (Bgp/Bgp-Vpn Instance View)

    # In BGP view, specify the AS number of the peer group test as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 # In BGP-VPN instance view, specify the AS number of the peer group test as 100 (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 987: Peer Capability-Advertise Conventional

    By default, no AS path ACL filtering is configured. Related commands: ip as-path acl, if-match as-path and apply as-path. Examples # In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer group test. <Sysname> system-view [Sysname] bgp 100...
  • Page 988: Peer Capability-Advertise Route-Refresh

    { group-name | ip-address } capability-advertise route-refresh View BGP view/BGP-VPN instance view Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer capability-advertise route-refresh command to enable the BGP route refresh capability.
  • Page 989: Peer Connect-Interface (Bgp/Bgp-Vpn Instance View)

    TCP connections to the peers when using the outbound interfaces of the best routes as the source interfaces. Examples # In BGP view, specify loopback 0 as the source interface for routing updates to the peer group test. <Sysname> system-view...
  • Page 990: Peer Description (Bgp/Bgp-Vpn Instance View)

    # In BGP view, advertise a default route to peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test default-route-advertise # In BGP-VPN instance view, advertise a default route to peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 991: Peer Ebgp-Max-Hop (Bgp/Bgp-Vpn Instance View)

    Create a peer/peer group before configuring a description for it. Related commands: display bgp peer. Examples # In BGP view, configure the description information of the peer group test as ISP1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test description ISP1 # In BGP-VPN instance view, configure the description information of the peer group test as ISP1(the VPN has been created).
  • Page 992: Peer Enable (Bgp View)

    [Sysname] bgp 100 [Sysname-bgp] peer test ebgp-max-hop # In BGP-VPN instance view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1...
  • Page 993: Peer Filter-Policy (Bgp/Bgp-Vpn Instance View)

    By default, no fake local AS number is configured for a peer or peer group. The peer fake-as command is only applicable to an EBGP peer or peer group. Examples # In BGP view, configure a fake AS number of 200 for the peer group test. <Sysname> system-view [Sysname] bgp 100...
  • Page 994: Peer Group (Bgp/Bgp-Vpn Instance View)

    72: BGP C HAPTER ONFIGURATION OMMANDS Examples # In BGP view, apply the ACL 2000 to filter routes advertised to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test filter-policy 2000 export # In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised to the peer group test (the VPN has been created).
  • Page 995: Peer Ignore (Bgp/Bgp-Vpn Instance View)

    After the peer ignore command is executed, the system disables the session with the specified peer or peer group and clears all the related routing information. For a peer group, this means all sessions with the peer group will be tore down. Examples # In BGP view, disable session establishment with peer 10.10.10.10.
  • Page 996: Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View)

    By default, no IP prefix list is specified. Examples # In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer group test. <Sysname> system-view [Sysname] bgp 100...
  • Page 997: Peer Log-Change (Bgp/Bgp-Vpn Instance View)

    The logging is enabled by default. Examples # In BGP view, enable the logging of session state and event information for peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test log-change # In BGP-VPN instance view, enable the logging of session state and event information for peer group test (the VPN has been created).
  • Page 998: Peer Password

    IBGP peer/peer group do not take the local router as the next hop. Examples # In BGP view, set the next hop of routes advertised to peer group test to the router itself. <Sysname> system-view...
  • Page 999: Peer Preferred-Value (Bgp/Bgp-Vpn Instance View)

    Otherwise, the TCP connection will not be set up. Examples # In BGP view, perform MD5 authentication on the TCP connection set up between the local router 10.1.100.1 and the peer router 10.1.100.2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.1.100.2 password simple aabbcc...
  • Page 1000: Peer Public-As-Only (Bgp/Bgp-Vpn Instance View)

    Note that: If you both reference a routing policy and use the peer { group-name | ip-address } preferred-value value command to set a preferred value for routes from a peer, the routing policy sets a specified non-zero preferred value for routes matching it.
  • Page 1001: Peer Reflect-Client (Bgp/Bgp-Vpn Instance View)

    The command does not take effect if the BGP update has both public and private AS numbers. The range of private AS number is from 64512 to 65535. Examples # In BGP view, carry no private AS number in BGP updates sent to the peer test. <Sysname> system-view [Sysname] bgp 100...

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents