3Com S7906E Command Reference Manual

3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

3Com S7900E Family

Command Reference Guide

Release 6300 Series
S7910E
S7906E
S7906E-V
S7903E
S7903E-S
S7902E
Manual Version:
20090615-C-1.01
www.3com.com
3Com Corporation
350 Campus Drive, Marlborough,
MA, USA 01752 3064

Advertisement

Chapters

Table of Contents
loading

Summary of Contents for 3Com S7906E

  • Page 1: Command Reference Guide

    3Com S7900E Family Command Reference Guide Release 6300 Series S7910E S7906E S7906E-V S7903E S7903E-S S7902E Manual Version: 20090615-C-1.01 www.3com.com 3Com Corporation 350 Campus Drive, Marlborough, MA, USA 01752 3064...
  • Page 2 Software is delivered as “Commercial Computer Software” as defined in DFARS 252.227-7014 (June 1995) or as a “commercial item” as defined in FAR 2.101(a) and as such is provided with only such rights as are provided in 3Com’s standard commercial license for the Software. Technical data is provided with limited rights only as provided in DFAR 252.227-7015 (Nov 1995) or FAR 52.227-14 (June 1987), whichever is applicable.
  • Page 3: About This Manual

    About This Manual Organization 3Com S7900E Family Command Reference Guide - Release 6300 Series is organized as follows: Volume Features Ethernet Service Link aggregation Port Isolation Interface Loopback Group DLDP Smart Link LLDP VLAN 01-Access Volume GVRP QinQ BPDU Tunnel...
  • Page 4 Optional alternative items are grouped in square brackets and [ x | y | ... ] * separated by vertical bars. Many or none can be selected. The argument(s) before the ampersand (&) sign can be entered 1 to n &<1-n> times.
  • Page 5 This guide provides all the information you 3Com S7900E Family Getting Started Guide need to install and use the 3Com S7900E Family. Obtaining Documentation You can access the most up-to-date 3Com product documentation on the World Wide Web at this URL: http://www.3com.com.
  • Page 6 Feature List The S7900E series support abundant features and the related documents are divided into the volumes as listed in Table 1-1. Table 1-1 Feature list Volume Features Ethernet Service Link aggregation Port Isolation Interface Loopback Group DLDP Smart Link...
  • Page 7 Volume Features Basic System Device File System Login Configuration Management Management MAC Address System SNMP RMON Table Maintenance and 08-System Volume Management Debugging Information Track Center VRRP Hotfix...
  • Page 8: Command Index

    The command index includes all the commands in the Command Manual, which are arranged alphabetically. A B C D E F G H I J K L M N O P Q R S T U V W X Y Z abr-summary (OSPF area view)
  • Page 9: Table Of Contents

    Access Volume-15-EPON OLT Commands 3-18 alarm software-error enable Access Volume-15-EPON OLT Commands 3-19 apply as-path IP Routing Volume-12-Route Policy Commands apply comm-list delete IP Routing Volume-12-Route Policy Commands apply community IP Routing Volume-12-Route Policy Commands apply cost IP Routing Volume-12-Route Policy Commands...
  • Page 10 System Volume-04-File System Management 1-15 Commands balance (BGP/BGP-VPN instance view) IP Routing Volume-06-BGP Commands balance (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands balance (IPv6 MBGP address family IP Multicast Volume-12-IPv6 MBGP Commands view) balance (MBGP family view)
  • Page 11: System Volume-04-File System Management

    QoS Volume-01-QoS Commands bandwidth downstream priority-queue QoS Volume-01-QoS Commands bandwidth-reference IP Routing Volume-09-IPv6 OSPFv3 commands bandwidth-reference (IS-IS view) IP Routing Volume-05-IS-IS Commands bandwidth-reference (OSPF view) IP Routing Volume-04-OSPF Commands bestroute as-path-neglect IP Routing Volume-06-BGP Commands...
  • Page 12 Access Volume-01-Ethernet Interface Commands bsr-policy (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands bsr-policy (PIM view) IP Multicast Volume-03-PIM Commands Security Volume-07-SSH2.0 Commands 1-27 System Volume-04-File System Management Commands cache-sa-enable IP Multicast Volume-04-MSDP Commands QoS Volume-01-QoS Commands c-bsr (IPv6 PIM view)
  • Page 13 Access Volume-14-Connectivity Fault Detection 1-11 Commands check region-configuration Access Volume-16-MSTP Commands checkzero IP Routing Volume-03-RIP Commands checkzero IP Routing Volume-08-IPv6 RIPng Commands circuit-cost IP Routing Volume-05-IS-IS Commands classifier behavior Access Volume-10-QinQ Commands classifier behavior QoS Volume-01-QoS Commands 2-17 clock datetime...
  • Page 14 System Volume-04-File System Management Commands cost-style IP Routing Volume-05-IS-IS Commands c-rp (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands c-rp (PIM view) IP Multicast Volume-03-PIM Commands c-rp advertisement-interval (IPv6 PIM IP Multicast Volume-11-IPv6 PIM Commands view) c-rp advertisement-interval (PIM view)
  • Page 15 1-12 view) default med (BGP-VPNv4 subaddress MPLS Volume-04-MPLS L3VPN Commands family view) default med (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands default med (IPv6 MBGP address family IP Multicast Volume-12-IPv6 MBGP Commands view) default med (MBGP family view)
  • Page 16 Commands description Access Volume-02-Link Aggregation Commands description Access Volume-08-VLAN Commands description MPLS Volume-01-MCE Commands description (any NQA test type view) System Volume-12-NQA Commands description (for IPv4) Security Volume-08-ACL Commands description (for IPv6) Security Volume-08-ACL Commands 1-23 description (OSPF/OSPF area view)
  • Page 17 IP Services Volume-02-ARP Commands display bgp group IP Routing Volume-06-BGP Commands 1-13 display bgp ipv6 group IP Routing Volume-11-IPv6 BGP Commands display bgp ipv6 multicast group IP Multicast Volume-12-IPv6 MBGP Commands 1-11 display bgp ipv6 multicast network IP Multicast Volume-12-IPv6 MBGP Commands...
  • Page 18 IP Multicast Volume-12-IPv6 MBGP Commands 1-19 dampened display bgp ipv6 multicast routing-table IP Multicast Volume-12-IPv6 MBGP Commands 1-20 dampening parameter display bgp ipv6 multicast routing-table IP Multicast Volume-12-IPv6 MBGP Commands 1-21 different-origin-as display bgp ipv6 multicast routing-table...
  • Page 19 IP Multicast Volume-05-MBGP Commands 1-24 different-origin-as display bgp multicast routing-table IP Multicast Volume-05-MBGP Commands 1-25 flap-info display bgp multicast routing-table peer IP Multicast Volume-05-MBGP Commands 1-26 display bgp multicast routing-table IP Multicast Volume-05-MBGP Commands 1-27 regular-expression display bgp multicast routing-table...
  • Page 20 MPLS Volume-04-MPLS L3VPN Commands 1-19 display bgp vpnv4 vpn-instance group MPLS Volume-01-MCE Commands display bgp vpnv4 vpn-instance network MPLS Volume-01-MCE Commands display bgp vpnv4 vpn-instance paths MPLS Volume-01-MCE Commands display bgp vpnv4 vpn-instance peer MPLS Volume-01-MCE Commands...
  • Page 21 IP Services Volume-03-DHCP Commands 2-12 display dhcp relay security IP Services Volume-03-DHCP Commands 2-13 display dhcp relay security statistics IP Services Volume-03-DHCP Commands 2-14 display dhcp relay security tracker IP Services Volume-03-DHCP Commands 2-15 display dhcp relay server-group...
  • Page 22 Access Volume-15-EPON OLT Commands 1-10 display epon-capability interface Access Volume-15-EPON OLT Commands display epon-multicast information Access Volume-15-EPON OLT Commands display epon-oam interface Access Volume-15-EPON OLT Commands display epon-parameter slot Access Volume-15-EPON OLT Commands display epon-version interface...
  • Page 23: Ip Routing Volume-12-Route Policy Commands

    IP Multicast Volume-05-MBGP Commands display ip multicast routing-table IP Multicast Volume-05-MBGP Commands 1-11 ip-address display ip relay-route IP Routing Volume-01-IP Routing Table Display 1-13 Commands display ip relay-tunnel IP Routing Volume-01-IP Routing Table Display 1-13 Commands...
  • Page 24 IP Services Volume-08-IPv6 Basics Commands 1-10 display ipv6 pathmtu IP Services Volume-08-IPv6 Basics Commands 1-11 display ipv6 relay-route IP Routing Volume-01-IP Routing Table Display 1-22 Commands display ipv6 relay-tunnel IP Routing Volume-01-IP Routing Table Display 1-22 Commands...
  • Page 25 IP Routing Volume-05-IS-IS Commands 1-18 display isis route IP Routing Volume-05-IS-IS Commands 1-21 display isis route ipv6 IP Routing Volume-10-IPv6 IS-IS Commands display isis spf-log IP Routing Volume-05-IS-IS Commands 1-23 display isis statistics IP Routing Volume-05-IS-IS Commands 1-25...
  • Page 26 System Volume-03-Device Management 1-10 Commands display mirroring-group Access Volume-18-Mirroring Commands display mld group IP Multicast Volume-10-MLD Commands display mld group port-info IP Multicast Volume-10-MLD Commands display mld interface IP Multicast Volume-10-MLD Commands display mld routing-table IP Multicast Volume-10-MLD Commands...
  • Page 27 IP Multicast Volume-04-MSDP Commands display multicast boundary IP Multicast Volume-01-Multicast Routing and Forwarding Commands display multicast forwarding-table IP Multicast Volume-01-Multicast Routing and Forwarding Commands display multicast ipv6 boundary IP Multicast Volume-09-IPv6 Multicast Routing and Forwarding Commands display multicast ipv6 forwarding-table...
  • Page 28 MPLS Volume-04-MPLS L3VPN Commands 1-25 display ospf vlink IP Routing Volume-04-OSPF Commands 1-29 display ospfv3 IP Routing Volume-09-IPv6 OSPFv3 commands display ospfv3 interface IP Routing Volume-09-IPv6 OSPFv3 commands display ospfv3 lsdb IP Routing Volume-09-IPv6 OSPFv3 commands display ospfv3 lsdb statistic...
  • Page 29: System Volume-10-Poe Commands

    IP Multicast Volume-11-IPv6 PIM Commands 1-17 display pim ipv6 routing-table IP Multicast Volume-11-IPv6 PIM Commands 1-18 display pim ipv6 rp-info IP Multicast Volume-11-IPv6 PIM Commands 1-20 display pim join-prune IP Multicast Volume-03-PIM Commands 1-20 display pim neighbor...
  • Page 30: Ip Services Volume-02-Arp Commands

    IP Routing Volume-03-RIP Commands display rip route IP Routing Volume-03-RIP Commands display ripng IP Routing Volume-08-IPv6 RIPng Commands display ripng database IP Routing Volume-08-IPv6 RIPng Commands display ripng interface IP Routing Volume-08-IPv6 RIPng Commands display ripng route...
  • Page 31: Ip Routing Volume-12-Route Policy Commands

    IP Routing Volume-12-Route Policy Commands 1-12 display router id IP Routing Volume-01-IP Routing Table Display 1-23 Commands display rrpp brief Access Volume-17-RRPP Commands display rrpp ring-group Access Volume-17-RRPP Commands display rrpp statistics Access Volume-17-RRPP Commands display rrpp verbose...
  • Page 32 System Volume-03-Device Management 1-13 Commands display switchover state System Volume-15-HA Commands display tcp ipv6 statistics IP Services Volume-08-IPv6 Basics Commands 1-16 display tcp ipv6 status IP Services Volume-08-IPv6 Basics Commands 1-18 display tcp statistics IP Services Volume-05-IP Performance...
  • Page 33 IP Services Volume-04-DNS Commands dns proxy enable IP Services Volume-04-DNS Commands dns resolve IP Services Volume-04-DNS Commands dns server IP Services Volume-04-DNS Commands dns server ipv6 IP Services Volume-08-IPv6 Basics Commands 1-20 dns-list IP Services Volume-03-DHCP Commands 1-14 domain Security Volume-01-AAA Commands 1-20...
  • Page 34: Ip Routing Volume-04-Ospf Commands

    MPLS Volume-02-MPLS Basics Commands 1-24 du-readvertise timer MPLS Volume-02-MPLS Basics Commands 1-24 ebgp-interface-sensitive IP Routing Volume-06-BGP Commands 1-30 embedded-rp IP Multicast Volume-11-IPv6 PIM Commands 1-21 enable link-local-signaling IP Routing Volume-04-OSPF Commands 1-30 enable log IP Routing Volume-04-OSPF Commands 1-30 enable log updown...
  • Page 35: Ip Routing Volume-09-Ipv6 Ospfv3 Commands

    System Volume-12-NQA Commands filter IP Routing Volume-04-OSPF Commands 1-32 filter QoS Volume-01-QoS Commands filter-policy export IP Routing Volume-08-IPv6 RIPng Commands filter-policy export MPLS Volume-01-MCE Commands 1-15 filter-policy export (BGP/BGP-VPN IP Routing Volume-06-BGP Commands 1-31 instance view) filter-policy export (BGP-VPNv4...
  • Page 36: Access Volume-15-Epon Olt Commands

    System Volume-04-File System Management Commands flash-flood IP Routing Volume-05-IS-IS Commands 1-29 flow-control Access Volume-01-Ethernet Interface 1-14 Commands flow-control System Volume-01-Login Commands flow-interval Access Volume-01-Ethernet Interface 1-15 Commands flush enable Access Volume-06-Smart Link Commands format System Volume-04-File System Management Commands...
  • Page 37: Ip Services Volume-02-Arp Commands

    IP Services Volume-02-ARP Commands gratuitous-arp-sending enable IP Services Volume-02-ARP Commands group (BGP/BGP-VPN instance view) IP Routing Volume-06-BGP Commands 1-35 group (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands 1-23 group member Access Volume-15-EPON OLT Commands 1-22 group-member...
  • Page 38 System Volume-12-NQA Commands holdtime assert (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands 1-26 holdtime assert (PIM view) IP Multicast Volume-03-PIM Commands 1-30 holdtime join-prune (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands 1-26 holdtime join-prune (PIM view) IP Multicast Volume-03-PIM Commands...
  • Page 39 IP Multicast Volume-02-IGMP Commands 1-13 igmp require-router-alert IP Multicast Volume-02-IGMP Commands 1-14 igmp robust-count IP Multicast Volume-02-IGMP Commands 1-15 igmp send-router-alert IP Multicast Volume-02-IGMP Commands 1-15 igmp ssm-mapping enable IP Multicast Volume-02-IGMP Commands 1-16 igmp startup-query-count IP Multicast Volume-02-IGMP Commands...
  • Page 40 QoS Volume-01-QoS Commands import route-policy MPLS Volume-01-MCE Commands 1-17 import route-policy MPLS Volume-04-MPLS L3VPN Commands 1-31 import-route IP Routing Volume-08-IPv6 RIPng Commands import-route (BGP/BGP-VPN instance IP Routing Volume-06-BGP Commands 1-36 view) import-route (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands 1-24...
  • Page 41: Access Volume-15-Epon Olt Commands

    Access Volume-15-EPON OLT Commands 2-14 ip address IP Services Volume-01-IP Addressing Commands ip address dhcp-alloc IP Services Volume-03-DHCP Commands ip as-path IP Routing Volume-12-Route Policy Commands 1-18 ip binding vpn-instance MPLS Volume-01-MCE Commands 1-17 ip binding vpn-instance MPLS Volume-04-MPLS L3VPN Commands 1-32...
  • Page 42 1-33 ipv4-family multicast IP Multicast Volume-05-MBGP Commands 1-31 ipv4-family vpn-instance MPLS Volume-01-MCE Commands 1-18 ipv6 IP Services Volume-08-IPv6 Basics Commands 1-21 ipv6 address IP Services Volume-08-IPv6 Basics Commands 1-21 ipv6 address auto link-local IP Services Volume-08-IPv6 Basics Commands 1-22 ipv6 address eui-64...
  • Page 43 IP Services Volume-08-IPv6 Basics Commands 1-33 ipv6 neighbors max-learning-num IP Services Volume-08-IPv6 Basics Commands 1-34 ipv6 pathmtu IP Services Volume-08-IPv6 Basics Commands 1-35 ipv6 pathmtu age IP Services Volume-08-IPv6 Basics Commands 1-35 ipv6 preference IP Routing Volume-10-IPv6 IS-IS Commands...
  • Page 44: Access Volume-15-Epon Olt Commands

    Access Volume-01-Ethernet Interface 1-17 Commands key (HWTACACS scheme view) Security Volume-01-AAA Commands key (RADIUS scheme view) Security Volume-01-AAA Commands l2vpn-family MPLS Volume-03-MPLS L2VPN Commands 1-20 label advertise MPLS Volume-02-MPLS Basics Commands 1-29 label-distribution MPLS Volume-02-MPLS Basics Commands 1-30...
  • Page 45: Access Volume-15-Epon Olt Commands

    System Volume-09-Information Center 1-25 Commands log-peer-change IP Routing Volume-04-OSPF Commands 1-39 log-peer-change IP Routing Volume-06-BGP Commands 1-37 log-peer-change IP Routing Volume-09-IPv6 OSPFv3 commands 1-26 log-peer-change (IS-IS view) IP Routing Volume-05-IS-IS Commands 1-51 loopback Access Volume-01-Ethernet Interface 1-19 Commands loopback enable...
  • Page 46: Access Volume-15-Epon Olt Commands

    (IS-IS view) IP Routing Volume-05-IS-IS Commands 1-54 maximum load-balancing (OSPF view) IP Routing Volume-04-OSPF Commands 1-41 maximum load-balancing (OSPFv3 IP Routing Volume-09-IPv6 OSPFv3 commands 1-26 view) maximum load-balancing (RIP view) IP Routing Volume-03-RIP Commands 1-13 maximum load-balancing (RIPng view)
  • Page 47 Security Volume-07-SSH2.0 Commands 1-33 mkdir System Volume-04-File System Management Commands mkdir System Volume-04-File System Management 2-18 Commands IP Multicast Volume-10-MLD Commands 1-10 mld enable IP Multicast Volume-10-MLD Commands 1-11 mld group-policy IP Multicast Volume-10-MLD Commands 1-12 mld last-listener-query-interval IP Multicast Volume-10-MLD Commands...
  • Page 48: Access Volume-15-Epon Olt Commands

    IP Multicast Volume-13-MLD Snooping 1-18 Commands mld-snooping query-interval IP Multicast Volume-13-MLD Snooping 1-18 Commands mld-snooping router-aging-time IP Multicast Volume-13-MLD Snooping 1-19 Commands mld-snooping source-deny IP Multicast Volume-13-MLD Snooping 1-20 Commands mld-snooping special-query source-ip IP Multicast Volume-13-MLD Snooping 1-20...
  • Page 49: Ip Services Volume-02-Arp Commands

    IP Multicast Volume-04-MSDP Commands 1-10 mtracert IP Multicast Volume-01-Multicast Routing and 1-11 Forwarding Commands mtu (MPLS L2VPN view) MPLS Volume-03-MPLS L2VPN Commands 1-24 multicast boundary IP Multicast Volume-01-Multicast Routing and 1-12 Forwarding Commands multicast forwarding-table IP Multicast Volume-01-Multicast Routing and...
  • Page 50 1-19 network IP Routing Volume-03-RIP Commands 1-13 network (BGP/BGP-VPN instance view) IP Routing Volume-06-BGP Commands 1-37 network (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands 1-25 network (IPv6 MBGP address family IP Multicast Volume-12-IPv6 MBGP Commands 1-28 view) network (MBGP family view)
  • Page 51 1-44 open System Volume-04-File System Management 2-19 Commands open ipv6 System Volume-04-File System Management 2-20 Commands operation (FTP test type view) System Volume-12-NQA Commands 1-14 operation (HTTP test type view) System Volume-12-NQA Commands 1-14 operation interface System Volume-12-NQA Commands 1-15...
  • Page 52 IP Routing Volume-09-IPv6 OSPFv3 commands 1-27 ospfv3 area IP Routing Volume-09-IPv6 OSPFv3 commands 1-28 ospfv3 cost IP Routing Volume-09-IPv6 OSPFv3 commands 1-29 ospfv3 dr-priority IP Routing Volume-09-IPv6 OSPFv3 commands 1-29 ospfv3 mtu-ignore IP Routing Volume-09-IPv6 OSPFv3 commands 1-30 ospfv3 network-type...
  • Page 53 IP Routing Volume-06-BGP Commands 1-40 (BGP/BGP-VPN instance view) peer advertise-ext-community (IPv6 IP Routing Volume-11-IPv6 BGP Commands 1-27 address family view) peer advertise-ext-community (IPv6 IP Multicast Volume-12-IPv6 MBGP Commands 1-30 MBGP address family view) peer advertise-ext-community (MBGP IP Multicast Volume-05-MBGP Commands...
  • Page 54 MPLS Volume-04-MPLS L3VPN Commands 1-38 peer enable (BGP view) IP Routing Volume-06-BGP Commands 1-48 peer enable (IPv6 MBGP address family IP Multicast Volume-12-IPv6 MBGP Commands 1-33 view) peer enable (MBGP family view) IP Multicast Volume-05-MBGP Commands 1-36...
  • Page 55 (IPv6 MBGP address IP Multicast Volume-12-IPv6 MBGP Commands 1-35 family view) peer keep-all-routes (BGP/BGP-VPN IP Routing Volume-06-BGP Commands 1-53 instance view) peer keep-all-routes (IPv6 address IP Routing Volume-11-IPv6 BGP Commands 1-37 family view) peer keep-all-routes (IPv6 MBGP IP Multicast Volume-12-IPv6 MBGP Commands...
  • Page 56 IP Routing Volume-11-IPv6 BGP Commands 1-44 view) peer timer (BGP/BGP-VPN instance IP Routing Volume-06-BGP Commands 1-63 view) peer timer (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands 1-45 peer vpn-instance enable MPLS Volume-04-MPLS L3VPN Commands 1-46 peer vpn-instance group...
  • Page 57 IP Multicast Volume-03-PIM Commands 1-38 pim holdtime join-prune IP Multicast Volume-03-PIM Commands 1-39 pim ipv6 IP Multicast Volume-11-IPv6 PIM Commands 1-28 pim ipv6 bsr-boundary IP Multicast Volume-11-IPv6 PIM Commands 1-29 pim ipv6 dm IP Multicast Volume-11-IPv6 PIM Commands...
  • Page 58 MPLS Volume-04-MPLS L3VPN Commands 1-48 port Access Volume-06-Smart Link Commands port Access Volume-08-VLAN Commands port (IPv6 multicast VLAN view) IP Multicast Volume-14-IPv6 Multicast VLAN Commands port (multicast VLAN view) IP Multicast Volume-08-Multicast VLAN Commands port access vlan Access Volume-08-VLAN Commands...
  • Page 59 Access Volume-06-Smart Link Commands preference IP Routing Volume-03-RIP Commands 1-15 preference IP Routing Volume-04-OSPF Commands 1-56 preference IP Routing Volume-08-IPv6 RIPng Commands 1-10 preference IP Routing Volume-09-IPv6 OSPFv3 commands 1-36 preference (BGP/BGP-VPN instance IP Routing Volume-06-BGP Commands 1-64 view)
  • Page 60 1-18 probe packet-timeout System Volume-12-NQA Commands 1-18 probe timeout System Volume-12-NQA Commands 1-19 probe-interval (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands 1-39 probe-interval (PIM view) IP Multicast Volume-03-PIM Commands 1-44 protected-vlan Access Volume-06-Smart Link Commands protected-vlan Access Volume-17-RRPP Commands...
  • Page 61 Access Volume-15-EPON OLT Commands 2-25 redirect QoS Volume-01-QoS Commands 2-10 reflect between-clients MPLS Volume-04-MPLS L3VPN Commands 1-49 reflect between-clients (BGP view) IP Routing Volume-06-BGP Commands 1-64 reflect between-clients (IPv6 address IP Routing Volume-11-IPv6 BGP Commands 1-46 family view) 2-56...
  • Page 62 (IPv6 MBGP IP Multicast Volume-12-IPv6 MBGP Commands 1-43 address family view) reflect between-clients (MBGP family IP Multicast Volume-05-MBGP Commands 1-45 view) reflector cluster-id (BGP view) IP Routing Volume-06-BGP Commands 1-65 reflector cluster-id (IPv6 address family IP Routing Volume-11-IPv6 BGP Commands...
  • Page 63 IP Routing Volume-06-BGP Commands 1-68 reset bgp ipv4 multicast IP Multicast Volume-05-MBGP Commands 1-48 reset bgp ipv4 multicast dampening IP Multicast Volume-05-MBGP Commands 1-48 reset bgp ipv4 multicast flap-info IP Multicast Volume-05-MBGP Commands 1-49 reset bgp ipv6...
  • Page 64 IP Routing Volume-12-Route Policy Commands 1-27 reset ip ipv6-prefix IP Routing Volume-12-Route Policy Commands 1-31 reset ip routing-table statistics protocol IP Routing Volume-01-IP Routing Table Display 1-24 Commands reset ip statistics IP Services Volume-05-IP Performance 1-18 Commands...
  • Page 65 IP Multicast Volume-04-MSDP Commands 1-19 reset msdp statistics IP Multicast Volume-04-MSDP Commands 1-19 reset multicast forwarding-table IP Multicast Volume-01-Multicast Routing and 1-17 Forwarding Commands reset multicast ipv6 forwarding-table IP Multicast Volume-09-IPv6 Multicast Routing 1-11 and Forwarding Commands...
  • Page 66 1-23 rip summary-address IP Routing Volume-03-RIP Commands 1-24 rip version IP Routing Volume-03-RIP Commands 1-25 ripng IP Routing Volume-08-IPv6 RIPng Commands 1-10 ripng default-route IP Routing Volume-08-IPv6 RIPng Commands 1-11 ripng enable IP Routing Volume-08-IPv6 RIPng Commands 1-12 ripng metricin...
  • Page 67 MPLS Volume-04-MPLS L3VPN Commands 1-55 route-option bypass-route System Volume-12-NQA Commands 1-21 route-policy IP Routing Volume-12-Route Policy Commands 1-21 router id IP Routing Volume-01-IP Routing Table Display 1-24 Commands router-aging-time (IGMP-Snooping IP Multicast Volume-07-IGMP Snooping 1-27 view) Commands router-aging-time (MLD-Snooping view)
  • Page 68 Access Volume-15-EPON OLT Commands 3-20 save System Volume-04-File System Management 1-20 Commands schedule job System Volume-03-Device Management 1-24 Commands schedule reboot at System Volume-03-Device Management 1-25 Commands schedule reboot delay System Volume-03-Device Management 1-27 Commands screen-length System Volume-01-Login Commands...
  • Page 69 System Volume-04-File System Management 1-21 Commands slave restart System Volume-15-HA Commands slave switchover System Volume-15-HA Commands slave switchover { disable | enable } System Volume-15-HA Commands smart-link flush enable Access Volume-06-Smart Link Commands smart-link group Access Volume-06-Smart Link Commands snmp-agent...
  • Page 70 System Volume-05-SNMP Commands 1-25 snmp-agent trap queue-size System Volume-05-SNMP Commands 1-25 snmp-agent trap source System Volume-05-SNMP Commands 1-26 snmp-agent usm-user { v1 | v2c } System Volume-05-SNMP Commands 1-27 snmp-agent usm-user v3 System Volume-05-SNMP Commands 1-28 source IP Services Volume-09-Tunneling Commands...
  • Page 71 (MLD view) IP Multicast Volume-10-MLD Commands 1-25 ssm-policy (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands 1-44 ssm-policy (PIM view) IP Multicast Volume-03-PIM Commands 1-49 startup saved-configuration System Volume-04-File System Management 1-22 Commands startup-query-count (IGMP view) IP Multicast Volume-02-IGMP Commands...
  • Page 72 System Volume-03-Device Management 1-29 Commands stub (OSPF area view) IP Routing Volume-04-OSPF Commands 1-61 stub (OSPFv3 area view) IP Routing Volume-09-IPv6 OSPFv3 commands 1-39 stub-router IP Routing Volume-04-OSPF Commands 1-62 subvlan Access Volume-08-VLAN Commands subvlan (IPv6 multicast VLAN view)
  • Page 73 IP Routing Volume-03-RIP Commands 1-27 summary (IS-IS view) IP Routing Volume-05-IS-IS Commands 1-58 summary automatic IP Routing Volume-06-BGP Commands 1-70 summary automatic (MBGP family view) IP Multicast Volume-05-MBGP Commands 1-49 super System Volume-02-Basic System Configuration 1-19 Commands super password System Volume-02-Basic System Configuration...
  • Page 74 Access Volume-17-RRPP Commands 1-17 timer (BGP/BGP-VPN instance view) IP Routing Volume-06-BGP Commands 1-71 timer (IPv6 address family view) IP Routing Volume-11-IPv6 BGP Commands 1-52 timer hello (IPv6 PIM view) IP Multicast Volume-11-IPv6 PIM Commands 1-48 timer hello (PIM view)
  • Page 75 IP Routing Volume-05-IS-IS Commands 1-61 time-range Security Volume-08-ACL Commands timers IP Routing Volume-03-RIP Commands 1-27 timers IP Routing Volume-08-IPv6 RIPng Commands 1-16 tnl-policy (VPN instance view) MPLS Volume-04-MPLS L3VPN Commands 1-60 System Volume-12-NQA Commands 1-24 tracert System Volume-08-System Maintaining and...
  • Page 76 1-26 user System Volume-04-File System Management 2-25 Commands user privilege level System Volume-01-Login Commands 1-27 user-bind Security Volume-06-IP Source Guard Command user-interface System Volume-01-Login Commands 1-26 username (FTP test type view) System Volume-12-NQA Commands 1-27 user-name-format (HWTACACS Security Volume-01-AAA Commands...
  • Page 77 Access Volume-16-MSTP Commands 1-37 vlink-peer (OSPF area view) IP Routing Volume-04-OSPF Commands 1-64 vlink-peer (OSPFv3 area view) IP Routing Volume-09-IPv6 OSPFv3 commands 1-40 voice vlan Access Volume-08-VLAN Commands voice vlan aging Access Volume-08-VLAN Commands voice vlan enable Access Volume-08-VLAN Commands...
  • Page 78 Security Volume-01-AAA Commands 1-29 2-73...
  • Page 79: Manual Version

    Configuring a Static Aggregation Group Configuring a Dynamic Aggregation Group Configuring an Aggregate Interface The port isolation feature allows you to isolate different ports within the Port Isolation same VLAN. This document introduces the commands for the isolation group configuration.
  • Page 80 GVRP configuration GARP Timers configuration As defined in IEEE802.1Q, 12 bits are used to identify a VLAN ID, so a device can support a maximum of 4094 VLANs. The QinQ feature extends the VLAN space by allowing Ethernet frames to travel across the service provider network with double VLAN tags.
  • Page 81 OLT Configuration ONU Remote Management Configuration UNI Port Configuration Alarm Configuration MSTP is used to eliminate loops in a LAN. It is compatible with STP and RSTP. This document introduces the commands for: Configuring the Root Bridge Configuring Leaf Nodes...
  • Page 82 Traffic mirroring is implemented by a QoS policy, which defines certain match criteria to match the packets to be mirrored and defines the action of mirroring such packets to the specified destination.This document introduces the commands for:...
  • Page 83 Table of Contents 1 Ethernet Interface Configuration Commands·························································································1-1 Ethernet Interface Configuration Commands ·························································································1-1 broadcast-suppression ····················································································································1-1 description ·······································································································································1-2 display brief interface·······················································································································1-3 display interface·······························································································································1-6 display loopback-detection ············································································································1-10 display port combo ························································································································1-11 display port-group manual ·············································································································1-12 display storm-constrain··················································································································1-13 duplex ············································································································································1-14 flow-control ····································································································································1-14 flow-interval ···································································································································1-15 group-member ·······························································································································1-16...
  • Page 84: Ethernet Interface Configuration Commands

    Parameters ratio: Maximum percentage of broadcast traffic to the total transmission capability of an Ethernet interface, in the range 1 to 100. The smaller the ratio, the less broadcast traffic is allowed to pass through the interface. pps max-pps: Specifies the maximum number of broadcast packets that can be forwarded on the Ethernet interface(s) per second.
  • Page 85: Description

    [Sysname] interface ethernet 2/0/1 [Sysname-Ethernet2/0/1] broadcast-suppression 20 # For all the ports of the manual port group named group1, allow broadcast traffic equivalent to 20% of the total transmission capability of each port to pass and suppress excessive broadcast packets.
  • Page 86: Display Brief Interface

    To use a type of Unicode characters or symbols in a port description, you need to install the corresponding Input Method Editor (IME) and log in to the device through remote login software that supports this character type.
  • Page 87 Use the display brief interface command to display brief interface information. 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.
  • Page 88 Eth3/0/10 DOWN auto auto access # Display the information of interfaces beginning with the string “spoof”. <Sysname> display brief interface | begin spoof The brief information of interface(s) under route mode: Interface Link Protocol-link Protocol type Main IP...
  • Page 89: Display Interface

    The brief information of interface(s) under route Brief information of interface(s) in route mode mode: Interface Abbreviated interface name Interface physical link state, which can be up or Link down Interface protocol link state, which can be up or Protocol-link...
  • Page 90 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 of the specified interface will be displayed.
  • Page 91 Untagged VLAN ID stripped off Last 300 seconds input: 0 packets/sec 0 bytes/sec Average rate of input and output traffic in the last 300 seconds, in pps and Bps Last 300 seconds output: 0 packets/sec 0 bytes/sec Packet statistics on the inbound direction of the interface,...
  • Page 92 Frames received that were longer than 1518 bytes (without giants VLAN tags) or 1522 bytes (with VLAN tags) The number of times the receiver on the interface was disabled, throttles possibly because of buffer or CPU overload Total number of packets received that had a normal length, but...
  • Page 93: Display Loopback-Detection

    None Description Use the display loopback-detection command to display loopback detection information on a port. If loopback detection is already enabled, this command will also display the detection interval and information on the ports currently detected with a loopback. Examples # Display loopback detection information on a port.
  • Page 94: Display Port Combo

    Ports of the Combo ports that are inactive As for the optical port and the electrical port of a Combo port, the one with the smaller port number is active by default. The port number varies with device models. You can determine whether a port is an optical port or an electrical port by checking the “Media type is”...
  • Page 95: Display Port-Group Manual

    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 display port-group manual command to display the information about a manual port group or all the manual port groups.
  • Page 96: Display Storm-Constrain

    If you provide no argument or keyword, this command displays the information about storm constrain for all types of packets on all the interfaces. Examples # Display the information about storm constrain for all types of packets on all the interfaces. <Sysname> display storm-constrain Flow Statistic Interval: 10(second)
  • Page 97: Duplex

    Indicates that the interface is in auto-negotiation state. full: Indicates that the interface is in full-duplex state. half: Indicates that the interface is in half-duplex state. The optical interface of a Combo port does not support the half keyword.
  • Page 98: Flow-Interval

    Use the undo flow-control command to disable flow control on an Ethernet interface. By default, flow control on an Ethernet interface is disabled. The flow control function takes effect on the local Ethernet interface only when it is enabled on both the local and peer devices.
  • Page 99: Group-Member

    Parameters interface-list: Ethernet interface list, in the form of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where &<1-10> indicates that you can specify up to 10 port or port ranges. Description Use the group-member command to add an Ethernet interface to a specified manual port group.
  • Page 100: Jumboframe Enable

    By default, the device allows frames no larger than 1536 bytes to pass through an Ethernet interface. You can configure length of jumbo frames in global configuration mode (in system view) or on a port (in Ethernet interface view, port-group view) to allow them to pass through Ethernet interfaces.
  • Page 101: Link-Delay

    The latest configuration takes effect if you configure the value argument for multiple times in Ethernet interface view or port-group view. Examples # Enable jumbo frames to pass through all the Ethernet interfaces in the manual port group named group1. <Sysname> system-view...
  • Page 102: Loopback

    Ethernet interface loopback testing should be enabled while testing certain functionalities, such as during the initial identification of any network failure. While enabled, Ethernet interface loopback testing will work in full-duplex mode. The interface will return to its original state upon completion of the loopback testing.
  • Page 103: Loopback-Detection Enable

    Use the undo loopback-detection control enable command to restore the default. By default, loopback detection for a Trunk port or Hybrid port is disabled. Note that this command is inapplicable to an Access port as its loopback detection is enabled by default.
  • Page 104: Loopback-Detection Interval-Time

    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. If the loopback detection control function is enabled on the port, the port will transit to the loopback detection control state, where the incoming packets of the port are dropped and the outgoing packets of the port are forwarded normally.
  • Page 105: Loopback-Detection Per-Vlan Enable

    Use the undo loopback-detection per-vlan enable command to enable loopback detection in the default VLAN with Trunk ports or Hybrid ports. By default, loopback detection is only enabled in the default VLAN(s) with Trunk ports or Hybrid ports. Note that the loopback-detection per-vlan enable command is not applicable to Access ports.
  • Page 106: Mdi

    Use the mdi command to configure the MDI mode for an Ethernet interface. Use the undo mdi command to restore the system default. By default, the MDI mode of an Ethernet interface is auto, that is, the Ethernet interface determines the physical pin roles (transmit or receive) through negotiation.
  • Page 107 Parameters ratio: Maximum percentage of multicast traffic to the total transmission capability of an Ethernet interface, in the range 1 to 100. The smaller the ratio is, the less multicast traffic is allowed to pass through the interface. pps max-pps: Specifies the maximum number of multicast packets allowed on the Ethernet interface(s) per second...
  • Page 108: Port-Group Manual

    <Sysname> system-view [Sysname] interface ethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] multicast-suppression 20 # For all the ports of the manual port group group1, allow multicast traffic equivalent to 20% of the total transmission capability of each port to pass. <Sysname> system-view [Sysname] port-group manual group1...
  • Page 109: Reset Counters Interface

    Description Use the reset counters interface command to clear the statistics of an interface. Before sampling network traffic within a specific period of time on an interface, you need to clear the existing statistics. If neither interface type nor interface number is specified, this command clears the statistics of all the interfaces.
  • Page 110: Speed

    Note that in case of a double Combo port, only one interface (either the optical port or the electrical port) is active at a time. That is, once the optical port is active (after you execute the undo shutdown command), the electrical port will be inactive automatically, and vice versa.
  • Page 111: Speed Auto

    You are recommended to configure the same port rate and duplex mode on two ports connected to each other, for example, set the duplex mode of both ports to auto negotiation or full/half duplex, so as to avoid packet loss.
  • Page 112: Storm-Constrain

    10 and 100 Mbps on one end and 1000 Mbps on the other, the rate negotiation will fail. When the auto-negotiation rate ranges set on the local and peer ends intersect, for example, 10 and 100 Mbps on one end and 100 and 1000 Mbps on the other, the negotiation rate range is the intersection, 100 Mbps.
  • Page 113: Storm-Constrain Control

    For a 1-Gbps port, this value ranges from 1 to 1488100. For a 10-Gbps port, this value ranges from 1 to 14881000. min-pps-values: Lower threshold to be set, in pps. The range of this argument is 1 to max-pps-values. Description Use the storm-constrain command to enable the storm constrain function for specific type of packets and set the upper and lower thresholds.
  • Page 114: Storm-Constrain Enable Log

    Parameters block: Blocks the traffic of a specific type on a port when the traffic detected exceeds the upper threshold. shutdown: Shuts down a port when a type of traffic exceeds the corresponding upper threshold. A port shut down by the storm constrain function stops forwarding all types of packets.
  • Page 115: Storm-Constrain Enable Trap

    Use the storm-constrain enable trap command to enable trap message sending. With trap message sending enabled, the system sends trap messages when traffic reaching a port exceeds the corresponding threshold or the traffic drops down below the lower threshold after exceeding the upper threshold.
  • Page 116: Unicast-Suppression

    Maximum percentage 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 maximum number of unknown unicast packets passing through an Ethernet interface per second.
  • Page 117 Use the unicast-suppression command to configure a unicast storm suppression ratio. Use the undo unicast-suppression command to restore the default unicast suppression ratio. By default, all unicast traffic is allowed to go through an Ethernet interface, that is, unicast traffic is not suppressed.
  • Page 118: Virtual-Cable-Test

    The optical interface of a Combo port does not support this command. The support of other Ethernet interfaces for this command varies with device models. 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 119 Near-end crosstalk: - db 1-36...
  • Page 120 Table of Contents 1 Link Aggregation Configuration Commands··························································································1-1 Link Aggregation Configuration Commands ···························································································1-1 description ·······································································································································1-1 display lacp system-id ·····················································································································1-2 display link-aggregation member-port ·····························································································1-2 display link-aggregation summary···································································································1-4 display link-aggregation verbose·····································································································1-6 enable snmp trap updown ···············································································································1-8 interface bridge-aggregation ···········································································································1-9 lacp port-priority·······························································································································1-9 lacp system-priority························································································································1-10 link-aggregation mode ···················································································································1-10...
  • Page 121: Link Aggregation Configuration Commands

    To use a type of Unicode characters or symbols in a port description, you need to install the corresponding Input Method Editor (IME) and log in to the device through remote login software that supports this character type.
  • Page 122: Display Lacp System-Id

    Parameters None Description Use the display lacp system-id command to display the system ID of the local system (that is, the actor). The ID comprises the system LACP priority and the system MAC address. Examples # Display the local system ID.
  • Page 123 For an interface in a static aggregation group, only its port number and operational key are displayed, because it is not aware of the information of the partner.
  • Page 124: Display Link-Aggregation Summary

    0 for false. H indicates whether the receive state machine of the 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 is displayed.
  • Page 125 You may find out that information about the remote system for a static link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group is not aware of its partner.
  • Page 126: Display Link-Aggregation Verbose

    Parameters bridge-aggregation: Displays detailed information about the Layer-2 aggregate groups corresponding to Layer-2 aggregate interfaces. interface-number: Aggregate interface number. The value range is 1 to 1,024. Note that the aggregate interface you specify must already exist. Description Use the display link-aggregation verbose command to display detailed information about the aggregation groups corresponding to the aggregate interfaces.
  • Page 127 0 for false. E indicates whether the sending system considers that collection of incoming frames Flags is enabled on the link. 1 for true and 0 for false. F indicates whether the sending system considers that distribution of outgoing frames is enabled on the link.
  • Page 128: Enable Snmp Trap Updown

    By default, linkUp/linkDown trap generation is enabled for an aggregate interface. Note that for an aggregate interface to generate linkUp/linkDown traps when its link state changes, you must also enable linkUp/linkDown trap generation globally with the snmp-agent trap enable [ standard [ linkdown | linkup ] * ] command.
  • Page 129: Interface Bridge-Aggregation

    Upon creation of a Layer-2 aggregate interface, a Layer-2 aggregation group numbered the same is created automatically. Removing the Layer-2 aggregate interface also removes the Layer-2 aggregation group. At the same time, the member ports of the aggregation group, if any, leave the aggregation group.
  • Page 130: Lacp System-Priority

    Default Level 2: System level Parameters system-priority: LACP priority of the local system, in the range of 0 to 65535. Description Use the lacp system-priority command to set the LACP priority of the local system. Use the undo lacp port-priority command to restore the default.
  • Page 131: Port Link-Aggregation Group

    Use the undo link-aggregation mode command to restore the default. By default, an aggregation group works in static aggregation mode. If there is any member port in an aggregation group, you cannot modify the aggregation mode of the aggregation group.
  • Page 132: Reset Lacp Statistics

    Note that both the start interface and the end interface are inclusive. Description Use the reset lacp statistics command to clear the LACP statistics for the specified interface(s) or all interfaces if no interface is specified. Related commands: display link-aggregation member-port.
  • Page 133 Parameters None Description Use the shutdown command to shut down the current aggregate interface. Use the undo shutdown command to bring up the current aggregate interface. By default, aggregate interfaces are enabled. Examples # Shut down aggregate interface Bridge-Aggregation 1.
  • Page 134 Table of Contents 1 Port Isolation Configuration Commands ································································································1-1 Port Isolation Configuration Commands ·································································································1-1 display port-isolate group ················································································································1-1 port-isolate enable ···························································································································1-2...
  • Page 135: Port Isolation Configuration Commands

    Default Level 1: Monitor level Parameters None Description Use the display port-isolate group command to display information about the default isolation group (isolation group 1). Examples # On a single-isolation-group device, display information about the isolation group. <Sysname> display port-isolate group...
  • Page 136 If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For detailed information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 137 <Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] quit [Sysname] interface Ethernet 2/0/1 [Sysname-Ethernet2/0/1] port link-aggregation group 1 [Sysname-Ethernet2/0/1] quit [Sysname] interface Ethernet 2/0/2 [Sysname-Ethernet2/0/2] port link-aggregation group 1 [Sysname-Ethernet2/0/2] quit [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] port-isolate enable...
  • Page 138 Table of Contents 1 Service Loopback Group Configuration Commands·············································································1-1 Service Loopback Group Configuration Commands ··············································································1-1 display service-loopback group ·······································································································1-1 port service-loopback group ············································································································1-2 service-loopback group ···················································································································1-2...
  • Page 139: Service Loopback Group Configuration Commands

    Default Level 1: Monitor level Parameters number: ID of the service loopback group to be displayed. The range of the number argument is 1 to 1,024. Description Use the display service-loopback group command to display information of the specified service loopback group.
  • Page 140: Port Service-Loopback Group

    Default Level 2: System level Parameters number: Service loopback group ID. The value range for the number argument is 1 to 1,024.. Description Use the port service-loopback group command to assign the Layer-2 Ethernet interface to the specified service loopback group.
  • Page 141 You can change the service type of an existing service loopback group. For the change to be successful, you must ensure that the service group has not been referenced; the attributes of all member ports (if any) are not conflicting with the target service type;...
  • Page 142 Table of Contents 1 DLDP Configuration Commands··············································································································1-1 DLDP Configuration Commands·············································································································1-1 display dldp······································································································································1-1 display dldp statistics·······················································································································1-3 dldp authentication-mode ················································································································1-4 dldp delaydown-timer ······················································································································1-5 dldp enable ······································································································································1-5 dldp interval ·····································································································································1-6 dldp reset·········································································································································1-7 dldp unidirectional-shutdown···········································································································1-8 dldp work-mode ·······························································································································1-8 reset dldp statistics ··························································································································1-9...
  • Page 143: Dldp Configuration Commands

    Port type and port number. Description Use the display dldp command to display the DLDP configuration of a port. If you do not provide the interface-type or interface-number arguments, this command displays the DLDP configuration of all the DLDP-enabled ports. Examples # Display the DLDP configuration of all the DLDP-enabled ports.
  • Page 144 Interface GigabitEthernet2/0/2 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-1100 Neighbor port index : 81 Neighbor state : two way Neighbor aged time : 12 # Display the DLDP configuration of GigabitEthernet2/0/1.
  • Page 145 Port type and port number. Description Use the display dldp statistics command to display the statistics on the DLDP packets passing through a port. If you do not provide the interface-type or interface-number argument, this command displays the statistics on the DLDP packets passing through all the DLDP-enabled ports.
  • Page 146: Dldp Authentication-Mode

    Specifies to perform MD5 authentication and sets the password. The md5-password argument is the password, a string of 1 to 16 characters or a 24-bit string. The former indicates a plain text password and the latter indicates a cipher text password. Note that this argument is case-sensitive.
  • Page 147: Dldp Delaydown-Timer

    Default Level 2: System level Parameters Time: Setting of the DelayDown timer, in the range 1 to 5 (in seconds). Description Use the dldp delaydown-timer command to set the DelayDown timer. Use the undo dldp delaydown-timer command to restore the default.
  • Page 148: Dldp Interval

    Ethernet port view, these two commands enables/disables DLDP on the current port; when executed in port group view, these two commands enables/disables DLDP on all the ports in the port group. By default, DLDP is disabled globally or on a port.
  • Page 149: Dldp Reset

    None Description Use the dldp reset command to reset DLDP state for ports shut down by DLDP to enable them to perform unidirectional link detect. When executed in system view, this command applies to all the ports shut down by DLDP; when executed in Ethernet port view, this command applies to the current port;...
  • Page 150: Dldp Unidirectional-Shutdown

    2: System level Parameters auto: Sets the port shutdown mode as auto mode, where, when a unidirectional link is detected, the port involved is shut down by DLDP. manual: Sets the port shutdown mode as manual mode, where, when a unidirectional link is detected, DLDP prompts you to shut down the involved port instead of doing so automatically.
  • Page 151: Reset Dldp Statistics

    Specifies the normal DLDP mode. When a device operates in this mode and a neighbor entry it maintains expires, the device removes the neighbor entry directly.
  • Page 152 Port type and port number. Description Use the reset dldp statistics command to clear the statistics on DLDP packets passing through a port. If you do not provide the interface-type or interface-number argument, this command clears the statistics on the DLDP packets passing through all the DLDP-enabled ports.
  • Page 153 Table of Contents 1 Smart Link Configuration Commands·····································································································1-1 Smart Link Configuration Commands ·····································································································1-1 display smart-link flush ····················································································································1-1 display smart-link group···················································································································1-2 flush enable ·····································································································································1-3 port···················································································································································1-3 port smart-link group························································································································1-4 preemption mode·····························································································································1-5 protected-vlan··································································································································1-6 reset smart-link statistics ·················································································································1-7 smart-link flush enable·····················································································································1-7 smart-link group·······························································································································1-8...
  • Page 154: Smart Link Configuration Commands

    Default Level 1: Monitor level Parameters None Description Use the display smart-link flush command to display information about the received flush messages. Examples # Display information about the received flush messages. <Sysname> display smart-link flush Received flush packets : 10...
  • Page 155: Display Smart-Link Group

    Default Level 1: Monitor level Parameters group-id: Smart link group ID. The minimum value is 1, while the maximum value is 48. all: Displays information about all smart link groups. Description Use the display smart-link group command to display information about the specified or all smart link groups.
  • Page 156: Flush Enable

    Use the flush enable command to enable flush update. Use the undo flush enable command to disable flush update. By default, flush update is enabled for smart link groups and VLAN 1 is used for flush message transmission. Different smart link groups must be configured with different control VLANs.
  • Page 157: Port Smart-Link Group

    Specifies a port as the slave port. Description Use the port command to assign the specified port as the master or slave port of the current smart link group. Use the undo port command to remove the specified port from the smart link group.
  • Page 158: Preemption Mode

    Use the port smart-link group command to remove the port from the specified smart link group. Note that: Disable STP and RRPP on the ports you want to add to the smart link group, and make sure that the ports are not member ports of any aggregation group or service loopback group. On the other hand, you cannot enable STP or RRPP on a smart link group member port or assign a smart link group member port to an aggregation group or service loopback group.
  • Page 159: Protected-Vlan

    Specifies the MSTIs to be referenced in the form of instance-id-list = { instance-id [ to instance-id ] }&<1-10>, where the range of the instance-id argument is as specified in the command configuring MSTIs and &<1-10> indicates that you can provide up to ten MSTIs or MSTI lists.
  • Page 160: Reset Smart-Link Statistics

    Related commands: smart-link group, display stp region-configuration in MSTP Commands in the Access Volume. Examples # Configure the VLANs mapped to MSTIs 1 through 10 and MSTI 12 as the protected VLANs of smart link group 1. <Sysname> system-view [Sysname] smart-link group 1...
  • Page 161: Smart-Link Group

    Specifies the control VLANs used for receiving flush messages. The vlan-id-list is expressed in the form of vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where the vlan-id argument ranges from 1 to 4094 and &<1-10> indicates that you can provide up to ten VLAN IDs or VLAN ID lists.
  • Page 162 Note that a smart link group with member ports cannot be removed. Examples # Create smart link group 1. <Sysname> system-view [Sysname] smart-link group 1 [Sysname-smlk-group1]...
  • Page 163 Table of Contents 1 LLDP Configuration Commands ··············································································································1-1 LLDP Configuration Commands ·············································································································1-1 display lldp local-information ···········································································································1-1 display lldp neighbor-information·····································································································1-5 display lldp statistics ······················································································································1-10 display lldp status ··························································································································1-12 display lldp tlv-config ·····················································································································1-14 lldp admin-status ···························································································································1-16 lldp check-change-interval·············································································································1-16 lldp compliance admin-status cdp ·································································································1-17 lldp compliance cdp ·······················································································································1-18...
  • Page 164: Lldp Configuration Commands

    LLDP TLVs to be sent to neighboring devices through a port. If no keyword or argument is specified, this command displays all the LLDP information to be sent, including the global LLDP information and the LLDP information about the LLDP-enabled ports.
  • Page 165 Management address interface ID : 51 Management address OID Port VLAN ID(PVID): 1 Port and protocol VLAN ID(PPVID) : 1 Port and protocol VLAN supported : Yes Port and protocol VLAN enabled : No VLAN name of VLAN 1: VLAN 0001...
  • Page 166 LLDP information about a port interface-number Port ID subtype Port ID type, which can be MAC address or interface name Port ID Port ID, the value of which depends on the port ID type Port description Port description...
  • Page 167 PSE, indicating a power supply device PD, indicating a powered device PSE power supported Indicates whether or not the device can operate as a PSE. PSE power enabled Indicates whether or not the device is operating as a PSE. PSE pairs control ability Indicates whether or not the PSE-PD pair control is available.
  • Page 168: Display Lldp Neighbor-Information

    Port PSE priority, which can be : Unknown Port PSE Priority Critical High Port Available power value PoE power display lldp neighbor-information Syntax display lldp neighbor-information [ interface interface-type interface-number ] [ brief ] View Any view Default level 1: Monitor level...
  • Page 169 Displays the LLDP information in brief. Description Use the display lldp neighbor-information command to display the LLDP information about the neighboring devices received through a port. With no keyword/argument specified, this command displays the LLDP information received through all the ports.
  • Page 170 Network Address Interface name Agent circuit ID Locally assigned (indicating the local configuration) Port ID Port ID, the value of which depends on the port ID type Port description Port description System name System name of the neighboring device System description...
  • Page 171 PoE device type, which can be: Power port class PSE, indicating a power supply device. PD, indicating a powered device. Indicates whether or not the device can operate as a PSE power supported PSE. Indicates whether or not the device is operating as a PSE power enabled PSE.
  • Page 172 Class Ⅰ, indicating a normal terminal device. All terminal devices that are LLDP-enabled are of this type. Class Ⅱ , indicating a media terminal device. A device of this type is media-capable. That is, Device class besides the capabilities of a normal terminal device, it also supports media stream.
  • Page 173: Display Lldp Statistics

    Specifies a port by its type and number. Description Use the display lldp statistics command to display the global LLDP statistics or the LLDP statistics of a port. If no keyword/argument is specified, this command displays all the LLDP statistics.
  • Page 174 # Display all the LLDP statistics. <Sysname> display lldp statistics LLDP statistics global Information: LLDP neighbor information last change time:0 days,1 hours,45 minutes,5 seconds The number of LLDP neighbor information inserted : 6 The number of LLDP neighbor information deleted...
  • Page 175: Display Lldp Status

    Description Use the display lldp status command to display the LLDP status of a port. If no port is specified, this command displays the LLDP status of all the ports. Examples # Display the LLDP status of all the ports.
  • Page 176 Admin status LLDPDUs only. Tx_Only. A port in this mode sends LLDPDUs only. Disable. A port in this mode does not send or receive LLDPDUs. Trap Flag Indicates whether or not trap is enabled. LLDP polling interval. A value of 0 indicates Roll time LLDP polling is disabled.
  • Page 177: Display Lldp Tlv-Config

    Description Use the display lldp tlv-config command to display the TLVs that are currently sent through a port. If no port is specified, this command displays all the TLVs that are currently sent through all the ports. Examples # Display all the TLVs that are currently sent through all the ports.
  • Page 178 LLDP tlv-config of port number interface-type TLVs that are currently sent through a port interface-number NAME TLV type Indicates whether or not TLVs of a specific type STATUS are currently sent through a port Indicates whether or not TLVs of a specific type DEFAULT...
  • Page 179: Lldp Admin-Status

    Specifies the TxRx mode. A port in this mode sends and receives LLDPDUs. Description Use the lldp admin-status command to specify the LLDP operating mode for a port or all the ports in a port group. Use the undo lldp admin-status command to restore the default LLDP operating mode.
  • Page 180: Lldp Compliance Admin-Status Cdp

    Default level 2: System level Parameters value: LLDP polling interval to be set, in the range 1 to 30 (in seconds). Description Use the lldp check-change-interval command to enable LLDP polling and set the polling interval. Use the undo lldp check-change-interval command to restore the default.
  • Page 181: Lldp Compliance Cdp

    By default, global CDP compatibility is disabled. Note that, as the maximum TTL allowed by CDP is 255 seconds, your TTL configuration, that is, the product of the TTL multiplier and the LLDPDU transmit interval, must be no more than 255 seconds for CDP-compatible LLDP to work properly with Cisco IP phones.
  • Page 182: Lldp Encapsulation Snap

    Use the undo lldp enable command to disable LLDP. By default, LLDP is enabled at both the global and port levels. Note that LLDP takes effect on a port only when it is enabled both globally and on the port. Examples # Disable LLDP on GigabitEthernet 2/0/3.
  • Page 183: Lldp Fast-Count

    This argument ranges from 1 to 10. Description Use the lldp fast-count command to set the number of the LLDPDUs to be sent successively when a new neighboring device is detected. Use the undo lldp fast-count command to restore the default.
  • Page 184: Lldp Management-Address-Format String

    TTL multiplier × LLDPDU transmit interval You can set the TTL of the local device information by configuring the TTL multiplier. Note that the TTL can be up to 65535 seconds. TTLs longer than it will be rounded off to 65535 seconds.
  • Page 185: Lldp Management-Address-Tlv

    By default, the management address is sent through LLDPDUs, and the management address is the primary IP address of the VLAN with the least VLAN ID among the VLANs whose packets are permitted on the port. If the primary IP address is not configured, the management address is 127.0.0.1. For information about VLAN, refer to VLAN Configuration in the Access Volume.
  • Page 186: Lldp Timer Notification-Interval

    Parameters None Description Use the lldp notification remote-change enable command to enable trap for a port or all the ports in a port group. Use the undo lldp notification remote-change enable command to restore the default. By default, trap is disabled on a port.
  • Page 187: Lldp Timer Reinit-Delay

    Default level 2: System level Parameters value: Initialization delay period to be set, in the range 1 to 10 (in seconds). Description Use the lldp timer reinit-delay command to set the initialization delay period. Use the undo lldp timer reinit-delay command to restore the default.
  • Page 188: Lldp Timer Tx-Interval

    { basic-tlv { all | port-description | system-capability | system-description | system-name } | dot1-tlv { all | port-vlan-id | protocol-vlan-id [ vlan-id ] | vlan-name [ vlan-id ] } | dot3-tlv { all | link-aggregation | mac-physic | max-frame-size | power } | med-tlv { all | capability | inventory | location-id { civic-address device-type country-code { ca-type ca-value }&<1-10>...
  • Page 189 2: System level Parameters all: Sends all the basic LLDP TLVs, all the IEEE 802.1 defined LLDP TLVs, or all the IEEE 802.3 defined LLDP TLVs; or sends all the MED related LLDP TLVs except location identification TLVs. basic-tlv: Sends basic LLDP TLVs.
  • Page 190 Sends extended power-via-MDI TLVs. Description Use the lldp tlv-enable command to enable the sending of specific TLVs for a port or all the ports in a port group. Use the undo lldp tlv-enable command to disable the sending of specific TLVs.
  • Page 191 ······················································································································1-11 port hybrid vlan ······························································································································1-12 port link-type ··································································································································1-13 port trunk permit vlan·····················································································································1-15 port trunk pvid vlan ························································································································1-16 MAC Address-Based VLAN Configuration Commands ········································································1-18 display mac-vlan····························································································································1-18 display mac-vlan interface·············································································································1-19 mac-vlan enable ····························································································································1-20 mac-vlan mac-address ··················································································································1-20 vlan precedence ····························································································································1-21 Protocol-Based VLAN Configuration Commands ·················································································1-22...
  • Page 192 ··················································································································3-4 4 Voice VLAN Configuration Commands ···································································································4-1 Voice VLAN Configuration Commands···································································································4-1 display voice vlan oui·······················································································································4-1 display voice vlan state····················································································································4-2 voice vlan·········································································································································4-3 voice vlan aging·······························································································································4-4 voice vlan enable·····························································································································4-4 voice vlan mac-address···················································································································4-5 voice vlan mode auto·······················································································································4-6 voice vlan security enable ···············································································································4-7...
  • Page 193: Vlan Configuration Commands

    Use the undo description command to restore the default. For a VLAN, the default description is the VLAN ID, for example, VLAN 0001; for a VLAN interface, the default description is the name of the interface, for example, Vlan-interface 1 Interface.
  • Page 194: Display Interface Vlan-Interface

    1: Monitor level Parameters vlan-interface-id: VLAN interface number. Description Use the display interface vlan-interface command to display information about a specified or all VLAN interfaces if no interface is specified. Related commands: interface vlan-interface. Examples # Display the information of VLAN-interface 2.
  • Page 195: Display Vlan

    1: Monitor level Parameters vlan-id1: Displays the information of a VLAN specified by VLAN ID in the range of 1 to 4094. vlan-id1 to vlan-id2: Displays the information of a range of VLANs specified by a VLAN ID range. all: Displays all current VLAN information except for the reserved VLANs.
  • Page 196: Interface Vlan-Interface

    Description VLAN ID VLAN ID VLAN Type VLAN type (static or dynamic) Whether the VLAN interface is configured for the VLAN: not configured or Route interface configured Description VLAN description Primary IP address of the VLAN interface (available only on a VLAN interface configured with an IP address).
  • Page 197: Ip Address

    Before you can create the VLAN interface of a VLAN, create the VLAN first. Use the undo interface vlan-interface command to remove the specified VLAN interface. You can use the ip address command in VLAN interface view to configure an IP address for a VLAN interface to perform IP routing.
  • Page 198: Shutdown

    By default, no IP address is assigned to any VLAN interface. When a VLAN connects to one subnet, you need to assign only one IP address for its VLAN interface. When the VLAN connects to multiple subnets, you need to assign multiple IP addresses for the VLAN interface.
  • Page 199: Vlan

    Creates or removes all VLANs except reserved VLANs. Description Use the vlan vlan-id command to create a VLAN and enter its view or enter the view of an existing VLAN. Use the vlan vlan-id1 to vlan-id2 command to create a range of VLANs specified by vlan-id1 to vlan-id2, except reserved VLANs.
  • Page 200: Port-Based Vlan Configuration Commands

    Displays hybrid ports. trunk: Displays trunk ports. Description Use the display port command to display information about the hybrid or trunk ports on the device, including the port names, default VLAN IDs, and allowed VLAN IDs. Examples # Display information about the hybrid ports in the system.
  • Page 201: Port

    Note that: This command is only applicable on access ports. All ports are access ports by default. However, you can manually configure the port type. For more information, refer to port link-type. If you use this command to assign a Layer-2 aggregate interface to a VLAN, this command assigns the Layer-2 aggregate interface but not its member ports to the current VLAN.
  • Page 202: Port Access Vlan

    Default Level 2: System level Parameters vlan-id: VLAN ID, in the range of 1 to 4094. Be sure that the VLAN specified by the VLAN ID already exists. Description Use the port access vlan command to assign the current access port(s) to the specified VLAN.
  • Page 203: Port Hybrid Pvid Vlan

    If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 204: Port Hybrid Vlan

    VLANs that the hybrid ports will be assigned to. This argument is expressed in the format of [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges from 1 to 4094 and &<1-10> indicates that you can specify up to 10 VLAN IDs or VLAN ID ranges. Be sure that the specified VLANs already exist.
  • Page 205: Port Link-Type

    If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 206 For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume. To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access first.
  • Page 207: Port Trunk Permit Vlan

    If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 208: Port Trunk Pvid Vlan

    Examples # Assign the trunk port GigabitEthernet 2/0/1 to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100. <Sysname> system-view [Sysname] interface GigabitEthernet 2/0/1 [Sysname-GigabitEthernet2/0/1] port link-type trunk [Sysname-GigabitEthernet2/0/1] port trunk permit vlan 2 4 50 to 100 Please wait... Done.
  • Page 209 If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 210: Mac Address-Based Vlan Configuration Commands

    MAC Address-Based VLAN Configuration Commands display mac-vlan Syntax display mac-vlan { all | dynamic | mac-address mac-address [ mask mac-mask ] | static | vlan vlan-id } View Any view Default Level 1: Monitor level Parameters all: Displays all the MAC address-to-VLAN entries.
  • Page 211: Display Mac-Vlan Interface

    Default Level 1: Monitor level Parameters None Description Use the display mac-vlan interface command to display all the ports with MAC address-based VLAN enabled. Related commands: mac-vlan enable. Examples # Display all the interfaces with MAC address-based VLAN enabled. <Sysname> display mac-vlan interface...
  • Page 212: Mac-Vlan Enable

    Specifies a mask for the MAC address in the format of H-H-H. The mac-mask argument is comprised of the high-order part (all the binary bits of which are 1s) and the low-order part (all the binary bits of which are 0s). By default, the hexadecimal digits of this argument are all Fs.
  • Page 213: Vlan Precedence

    A MAC address-to-VLAN entry of this type describes the relationship between a group of MAC addresses and a VLAN, and a priority value. Another table contains the MAC address-to-VLAN entries configured without the mask keyword specified.
  • Page 214: Protocol-Based Vlan Configuration Commands

    Protocol Index Protocol Type ====================================================== ipv4 The sample output shows that untagged packets received on GigabitEthernet 2/0/1 will be tagged with VLAN ID 2 if they carry AppleTalk packets or with VLAN ID 3 if they carry IPv4 packets. 1-22...
  • Page 215: Display Protocol-Vlan Vlan

    Default Level 2: System level Parameters vlan-id1: ID of the protocol-based VLAN for which information is to be displayed, in the range of 1 to 4094. vlan-id1 to vlan-id2: Displays protocol-based VLAN information of a VLAN range from vlan-id1 to vlan-id2.
  • Page 216: Port Hybrid Protocol-Vlan

    If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 217 At present, the AppleTalk-based protocol template cannot be associated with a port on an S7900E series Ethernet switch. Related commands: display protocol-vlan interface. Examples # Associate the hybrid port GigabitEthernet 2/0/1 with protocol 0 in VLAN 2. <Sysname> system-view [Sysname] vlan 2...
  • Page 218: Protocol-Vlan

    Syntax protocol-vlan [ protocol-index ] { at | ipv4 | ipv6 | ipx { ethernetii | llc | raw | snap } | mode { ethernetii etype etype-id | llc { dsap dsap-id [ ssap ssap-id ] | ssap ssap-id } | snap etype etype-id } }...
  • Page 219 0xff when configuring the user-defined template for llc encapsulation. Otherwise, the encapsulation format of the matching packets will be the same as that of the ipx llc or ipx raw packets respectively. When either of the dsap-id and ssap-id arguments is configured, the system assigns aa to the other argument.
  • Page 220: Ip Subnet-Based Vlan Configuration Commands

    Parameters interface-type interface-number1: Specifies a port by its type and number. interface-type interface-number1 to Interface-type interface-number2: Specifies multiple ports. all: Displays IP subnet-based VLAN information about all the ports with IP subnet-based VLAN configured. Description Use the display ip-subnet-vlan interface command to display IP subnet-based VLANs and IP subnet indexes on the specified port(s).
  • Page 221: Display Ip-Subnet-Vlan Vlan

    2: System level Parameters vlan-id: VLAN ID, in the range 1 to 4094. to: Specifies a VLAN ID range. The argument after this keyword must be greater than or equal to the one before this keyword. all: Specifies all the VLANs.
  • Page 222: Port Hybrid Ip-Subnet-Vlan Vlan

    255.255.255.0. to: Specifies an IP subnet index range. ip-subnet-end: End IP subnet index, in the range of 0 to 11. This argument must be greater than or equal to the beginning IP subnet index. all: Removes all the associations between VLANs and IP subnets or IP addresses.
  • Page 223 If it fails to do that on an aggregation member port, it simply skips the port and moves to the next port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in the Access Volume.
  • Page 224 Please wait... Done [Sysname-Bridge-Aggregation1] port hybrid ip-subnet-vlan vlan 3 # Associate the hybrid Layer-2 aggregate interface Bridge-aggregation 1 with the IP subnet-based VLAN 3. Among the member ports of the aggregation group corresponding to Bridge-aggregation 1,GigabitEthernet 2/0/1 is an access port and GigabitEthernet 2/0/2 is a trunk port.
  • Page 225: Super Vlan Configuration Commands

    1: Monitor level Parameters supervlan-id: Super VLAN ID, in the range of 1 to 4094. Description Use the display supervlan command to display the mapping between a super VLAN and sub-VLANs, and the information of these VLANs. Related commands: supervlan, subvlan. Examples # Display the mapping between a super VLAN and sub-VLANs.
  • Page 226: Subvlan

    VLAN type, static or dynamic Whether a VLAN interface is configured for the current VLAN. Route Interface This field is the same for both sub-VLANs and the super VLAN. IP address of the VLAN interface, if configured. IP Address This field is the same for both sub-VLANs and the super VLAN.
  • Page 227: Supervlan

    VLAN and the sub-VLANs specified by vlan-list. Related commands: display supervlan. Examples # Associate VLAN 10 (the super VLAN) with VLAN 3, VLAN 4, VLAN 5, and VLAN 9 (the sub-VLANs). <Sysname> system-view [Sysname] vlan 10 [Sysname-vlan10] subvlan 3 to 5 9...
  • Page 228 Use the undo supervlan command to remove the super VLAN configuration for the current VLAN. Note that: You cannot configure a super VLAN as the guest VLAN for a port, and vice versa. For more information about guest VLAN, refer to 802.1X Configuration in the Security Volume.
  • Page 229: Isolate-User-Vlan Configuration Commands

    1: Monitor level Parameters isolate-user-vlan-id: Isolate-user-VLAN ID, in the range of 1 to 4094. Description Use the display isolate-user-vlan command to display the mapping between an isolate-user-vlan and secondary VLAN(s), and the information of these VLANs. Related commands: isolate-user-vlan, isolate-user-vlan enable. Examples # Display the mapping between an isolate-user-vlan and secondary VLANs.
  • Page 230: Isolate-User-Vlan

    Subnet Mask Subnet mask of the VLAN interface, if configured Description VLAN description Tagged Ports Ports through which packets of this VLAN are sent tagged Untagged Ports Ports through which packets of this VLAN are sent untagged isolate-user-vlan Syntax isolate-user-vlan isolate-user-vlan-id secondary secondary-vlan-id-list...
  • Page 231 VLANs. After associating an isolate-user-VLAN with the specified secondary VLANs, you cannot add/remove a port to/from each involved VLAN or remove each involved VLAN. To do that, you must cancel the association first. Related commands: display isolate-user-vlan.
  • Page 232: Isolate-User-Vlan Enable

    Use the isolate-user-vlan enable command to remove the isolate-user-VLAN configuration for the current VLAN. By default, no VLAN is an isolate-user-VLAN. An isolate-user-VLAN may include multiple ports, including the one connected to the upstream device. Related commands: display isolate-user-vlan. Examples # Configure VLAN 5 as an isolate-user-VLAN.
  • Page 233: Voice Vlan Configuration Commands

    Related commands: voice vlan, voice vlan enable. In general, 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. OUI addresses mentioned in this document, however, are different from those in common sense.
  • Page 234: Display Voice Vlan State

    Default Level 1: Monitor level Parameters None Description Use the display voice vlan state command to display voice VLAN configuration. Related commands: voice vlan vlan-id enable, voice vlan enable. Examples # Display voice VLAN configurations. <Sysname> display voice vlan state...
  • Page 235: Voice Vlan

    Default Level 2: System level Parameters vlan-id: ID of the VLAN to be enabled with the voice VLAN feature, in the range of 2 to 4094. Description Use the voice vlan command to enable the voice VLAN feature globally. Use the undo voice vlan enable command to disable the voice VLAN feature globally.
  • Page 236: Voice Vlan Aging

    VLAN based on the source MAC address of the voice packet. Upon assigning the port to the voice VLAN, the system starts the aging timer. If no voice packets are received on the port until the aging time expires, the system automatically removes the port from the voice VLAN.
  • Page 237: Voice Vlan Mac-Address

    AND result of mac-addr and oui-mask. An OUI address cannot be a broadcast address, a multicast address, or an address of all 0s or all fs. You can use the display voice vlan oui command to display the OUI addresses supported currently.
  • Page 238: Voice Vlan Mode Auto

    By default, the system is configured with the default OUI addresses, as illustrated in Table 4-3. You can remove the default OUI addresses and then add recognizable OUI addresses manually. Table 4-3 Default OUI addresses Number Description 0001-e300-0000 Siemens phone...
  • Page 239: Voice Vlan Security Enable

    The voice VLAN modes of different ports are independent of one another. To make voice VLAN take effect on a port which is enabled with voice VLAN and operates in manual voice VLAN mode, you need to assign the port to the voice VLAN manually.
  • Page 240 Only the voice vlan security enable command or the undo voice vlan security enable command issued before the voice vlan vlan-id enable command takes effect. Examples # Disable voice VLAN security mode. <Sysname> system-view [Sysname] undo voice vlan security enable...
  • Page 241 ······················································································································1-1 display garp timer ····························································································································1-2 garp timer ········································································································································1-2 garp timer leaveall ···························································································································1-4 reset garp statistics··························································································································1-5 GVRP Configuration Commands ············································································································1-5 display gvrp local-vlan interface ······································································································1-5 display gvrp state·····························································································································1-6 display gvrp statistics·······················································································································1-6 display gvrp status···························································································································1-7 display gvrp vlan-operation interface·······························································································1-8 gvrp··················································································································································1-8...
  • Page 242: Garp/Gvrp Configuration Commands

    Defines one or multiple Ethernet ports for which the GARP statistics will be displayed. You can provide up to 10 Ethernet port lists, by each of which you can specify an individual port in the form of interface-type interface-number, or a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end-port number specified by interface-number2 must be greater than the start-port number specified by interface-number1.
  • Page 243: Display Garp Timer

    Defines one or multiple Ethernet ports. You can provide up to 10 Ethernet port lists, by each of which you can specify an individual port in the form of interface-type interface-number, or a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end-port number specified by interface-number2 must be greater than the start-port number specified by interface-number1.
  • Page 244 Timer setting (in centiseconds), which must be a multiple of 5. Description Use the garp timer command to set a GARP timer for an Ethernet port or all ports in a port group in compliance with the timer setting dependencies shown in Table 1-1.
  • Page 245: Garp Timer Leaveall

    Examples # Set the GARP join timer to 25 centiseconds, assuming that both the hold timer and the leave timer are using the default. <Sysname> system-view [Sysname] interface GigabitEthernet 2/0/1 [Sysname-GigabitEthernet2/0/1] garp timer join 25 garp timer leaveall Syntax garp timer leaveall timer-value...
  • Page 246: Reset Garp Statistics

    Defines one or multiple Ethernet ports for which the GARP statistics are to be cleared. You can provide up to 10 Ethernet port lists, by each of which you can specify an individual port in the form of interface-type interface-number, or a port range in the form of interface-type interface-number1 to interface-type interface-number2, where the end-port number specified by interface-number2 must be greater than the start-port number specified by interface-number1.
  • Page 247: Display Gvrp State

    <Sysname> display gvrp local-vlan interface GigabitEthernet 2/0/1 Following VLANs exist in GVRP local database: 1(default),2-500 // The information above shows that GVRP maintains the information about VLAN 1, VLAN 2 through VLAN 500, which GigabitEthernet 2/0/1 belongs to. display gvrp state...
  • Page 248: Display Gvrp Status

    Use the display gvrp statistics command to display the GVRP statistics of specified or all trunk ports. Note that if the interface interface-list is not provided, the GVRP statistics of all trunk ports will be displayed. Otherwise, only the GVRP statistics of all the specified trunk port will be displayed.
  • Page 249: Display Gvrp Vlan-Operation Interface

    Default Level 1: Monitor level Parameters None Description Use the display gvrp status command to display the global enable/disable state of GVRP. Examples # Display the global GVRP enable/disable state. <Sysname> display gvrp status GVRP is enabled display gvrp vlan-operation interface...
  • Page 250: Gvrp Registration

    (in port group view). Use the undo gvrp command to disable GVRP globally, on a port, or on all ports in a port group depending on the view the command is executed.
  • Page 251 Layer-2 aggregate interface view) or all ports in a port group (in port group view). Use the undo gvrp registration command to restore the default on a port, or on all ports in a port group depending on the view the command is executed.
  • Page 252 Table of Contents 1 QinQ Configuration Commands···············································································································1-1 QinQ Configuration Commands··············································································································1-1 classifier behavior····························································································································1-1 if-match customer-vlan-id ················································································································1-2 nest top-most vlan-id ·······················································································································1-2 qinq enable ······································································································································1-3 qinq ethernet-type customer-tag ·····································································································1-4 qinq ethernet-type service-tag·········································································································1-5 qos apply policy ·······························································································································1-5 qos policy·········································································································································1-6 traffic behavior ·································································································································1-7 traffic classifier·································································································································1-7...
  • Page 253: Qinq Configuration Commands

    In a QoS policy with multiple class-to-traffic-behavior associations, if the action of creating an outer VLAN tag is configured in a traffic behavior, we recommend you not to configure any other action in this traffic behavior. Otherwise, the QoS policy may not function as expected after it is applied.
  • Page 254: If-Match Customer-Vlan-Id

    2: System level Parameters vlan-id-list: Customer VLAN IDs. You can specify up to eight VLAN IDs for the argument in the form of vlan-id to vlan-id or multiple discontinuous space-separated VLAN IDs. A VLAN ID ranges from 1 to 4094.
  • Page 255: Qinq Enable

    By default, basic QinQ is disabled for Ethernet port. After basic QinQ is enabled on the port, frames on this port will be tagged with a new VLAN tag, the VLAN ID in which is the default VLAN ID of the port.
  • Page 256: Qinq Ethernet-Type Customer-Tag

    System view Default Level 2: System level Parameters hex-value: Hexadecimal protocol type ID, in the range of 0x0001 to 0xFFFF, but you cannot set it to any of the protocol type values listed in Table 1-1. Table 1-1 Common protocol type values...
  • Page 257: Qinq Ethernet-Type Service-Tag

    Use the undo qinq ethernet-type service-tag command to restore the default. By default, the TPID value of the service provider network VLAN tags is 0x8100. Examples # Set the TPID value of the service provider network VLAN tags to 0x9100 for GigabitEthernet 2/0/1. <Sysname> system-view [Sysname] interface GigabitEthernet2/0/1...
  • Page 258: Qos Policy

    Use the undo qos apply policy command to remove the policy applied on a port or a port group. In selective QinQ implementation on SC/SA/EA series boards, a QoS policy can be applied only to incoming traffic. Therefore, the qos apply policy command can be applied only on ports receiving traffic from the customer network.
  • Page 259: Traffic Behavior

    Specifies the relationship between the match criteria in the specified class as logical AND. That is, a packet belongs to the class only when it matches all the match criteria defined in the class. or: Specifies the relationship between the match criteria in the class as logical OR. That is, a packet belongs to the class if it matches a match criterion defined in the class.
  • Page 260 Use the traffic classifier command to create a class. This command also leads you to class view. Use the undo traffic classifier command to remove a class. By default, a packet belongs to the class only when it matches all match criteria defined in the class. Examples # Create the class class1.
  • Page 261 Table of Contents 1 BPDU Tunneling Configuration Commands···························································································1-1 BPDU Tunneling Configuration Commands ···························································································1-1 bpdu-tunnel dot1q stp······················································································································1-1 bpdu-tunnel tunnel-dmac·················································································································1-2...
  • Page 262: Bpdu Tunneling Configuration Commands

    2: System level Parameters None Description Use the bpdu-tunnel dot1q stp command to enable BPDU tunneling for STP on the current port or ports. Use the undo bpdu-tunnel dot1q stp command to disable BPDU tunneling for STP on the port or ports.
  • Page 263 Default Level 2: System level Parameters mac-address: Destination multicast MAC address for BPDU tunnel frames, in the format of H-H-H. The allowed values are 0100-0CCD-CDD0, 0100-0CCD-CDD1, 0100-0CCD-CDD2, and 010F-E200-0003. Description Use the bpdu-tunnel tunnel-dmac command to configure the destination multicast MAC address for BPDU tunnel frames.
  • Page 264 Table of Contents 1 VLAN Mapping Configuration Commands······························································································1-1 VLAN Mapping Configuration Commands ······························································································1-1 qinq enable downlink ·······················································································································1-1 qinq enable uplink····························································································································1-2...
  • Page 265: Vlan Mapping Configuration Commands

    By default, customer-side QinQ is disabled on Ethernet ports. Configuration made in Ethernet interface view takes effect on the current port only, while configuration made in port group view takes effect on all ports in the port group. Examples...
  • Page 266 2: System level Parameters None Description Use the qinq enable uplink command to enable service provider-side QinQ on the current Ethernet port(s). Use the undo enable downlink command to disable service provider-side QinQ on the current Ethernet port(s). By default, service provider-side QinQ is disabled on Ethernet ports.
  • Page 267 Table of Contents 1 Ethernet OAM Configuration Commands ·······························································································1-1 OAM Configuration Commands ··············································································································1-1 display oam ·····································································································································1-1 display oam configuration················································································································1-5 display oam critical-event ················································································································1-7 display oam link-event ·····················································································································1-7 oam enable····································································································································1-10 oam errored-frame period··············································································································1-10 oam errored-frame threshold·········································································································1-11 oam errored-frame-period period ··································································································1-12 oam errored-frame-period threshold ·····························································································1-12 oam errored-frame-seconds period·······························································································1-13...
  • Page 268: Ethernet Oam Configuration Commands

    Use the display oam command to display the information about an Ethernet OAM connection, including connection status, information contained in Ethernet OAM packet header, and Ethernet OAM packet statistics. If you do not specify the interface keyword, this command displays the information about all the Ethernet OAM connections. Related commands: reset oam.
  • Page 269 In this case, all the packets other than Ethernet OAMPDUs received are returned to their sources along the ways they come. # Display the information about the Ethernet OAM connection established on the local port GigabitEthernet 2/0/1. <Sysname> display oam local interface GigabitEthernet 2/0/1...
  • Page 270 Indicates whether Ethernet OAM link error events occurred. A Link Fault value of 0 indicates no Ethernet OAM error event occurs; a value of 1 indicates Ethernet OAM error event occurrences. Indicate whether Dying Gasp events occurred. A value of 0 Dying Gasp indicates no Dying Gasp event occurs;...
  • Page 271 Peer receiving mode. Refer to Table 1-1 Remote_par_action more. # Display the Ethernet OAM information about the peer port GigabitEthernet 2/0/1. <Sysname> display oam remote interface GigabitEthernet 2/0/1 Port : GigabitEthernet2/0/1 Link Status : Up Information of the latest received OAM packet:...
  • Page 272: Display Oam Configuration

    Link Events events are supported (YES or NO) Indicates whether MIB variable retrieval is Variable Retrieval supported (YES or NO) Values of the peer Ethernet OAM flag fields in OAMRemoteFlagsField OAM packets Indicates whether Ethernet OAM link error Link Fault events occurred.
  • Page 273 Parameters None Description Use the display oam configuration command to display global Ethernet OAM configuration, including the periods and thresholds for Ethernet OAM link error event detection. Related commands: errored-frame period, errored-frame threshold, errored-frame-period period, oam errored-frame-period threshold, oam errored-frame-seconds period, oam errored-frame-seconds threshold.
  • Page 274: Display Oam Critical-Event

    Use the display oam critical-event command to display the statistics on critical Ethernet OAM link events occurred on a port. If you do not specify the interface keyword, this command displays the statistics on the critical Ethernet OAM link events occurred on all the ports of the switch.
  • Page 275 Use the display oam link-event command to display the statistics on Ethernet OAM link error events occurred on a local port or a peer port. Ethernet OAM link error events include errored symbol events, errored frame events, errored frame period events, and errored frame seconds events.
  • Page 276 Table 1-7 display oam link-event local command output description Field Description Port Port index Link Status Link status Information about local errored frame events. Event Time Stamp: time when an errored frame event occurred (in 100 milliseconds). Errored Frame Window:...
  • Page 277: Oam Enable

    Use the undo oam enable command to disable Ethernet OAM on the Ethernet port. By default, Ethernet OAM is disabled on all Ethernet ports. After you enable Ethernet OAM for an Ethernet port, the port attempts to establish an OAM connection to the peer in the predetermined mode.
  • Page 278: Oam Errored-Frame Threshold

    By default, the errored frame detection interval is one second. An error frame event occurs when a errored frame detection interval expires and the number of the frame errors occurred on an Ethernet port is larger than (or equal to) the errored frame event triggering threshold.
  • Page 279: Oam Errored-Frame-Period Period

    (in bps) and “period” is the configured period (in milliseconds). A errored frame period event occurs when a errored frame period detection interval expires and the number of the frame errors occurred on an Ethernet port is larger than (or equal to) the errored frame period event triggering threshold.
  • Page 280: Oam Errored-Frame-Seconds Period

    By default, the errored frame period event triggering threshold is 1. A errored frame period event occurs when a errored frame period detection interval expires and the number of the frame errors occurred on an Ethernet port is larger than (or equal to) the errored frame period event triggering threshold.
  • Page 281: Oam Errored-Frame-Seconds Threshold

    A errored frame seconds event occurs when a errored frame seconds detection interval expires and the number of the error seconds of an Ethernet port is larger than (or equal to) the errored frame seconds event triggering threshold. (A second is called an error second if error frames occur in the second.) The errored frame seconds detection interval configured applies to all the Ethernet ports on which Ethernet OAM connections are established.
  • Page 282: Oam Loopback

    Ethernet OAM loopback testing can be performed by Ethernet OAM entities operating in the active Ethernet OAM mode only. Ethernet OAM loopback testing is available only when it is supported on both the local port and the peer port. Enabling Ethernet OAM loopback testing interrupts data communications. After Ethernet OAM loopback testing is disabled, all the ports involved will be shut down and then brought up.
  • Page 283: Oam Mode

    Specifies the passive Ethernet OAM mode. Description Use the oam mode command to set the Ethernet OAM operating mode for an Ethernet port. By default, an Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode. Note that: No Ethernet OAM connection can be established between two Ethernet ports operating in the passive Ethernet OAM mode.
  • Page 284 Ethernet OAM link error events of all the ports. Related commands: display oam, display oam link-event. Examples # Clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of all the ports. <Sysname> reset oam 1-17...
  • Page 285 Table of Contents 1 Connectivity Fault Detection Configuration Commands·······································································1-1 Connectivity Fault Detection Configuration Commands ·········································································1-1 cfd cc enable ···································································································································1-1 cfd cc interval···································································································································1-1 cfd enable ········································································································································1-2 cfd linktrace ·····································································································································1-3 cfd linktrace auto-detection ·············································································································1-4 cfd loopback ····································································································································1-5 cfd ma ··············································································································································1-6 cfd md ··············································································································································1-7 cfd mep············································································································································1-7...
  • Page 286: Connectivity Fault Detection Configuration Commands

    Specifies the ID of an MEP, ranging from 1 to 8191. Description Use the cfd cc enable command to enable CCM sending on a specified MEP. Use the undo cfd cc enable command to cancel the configuration. By default, the CCM sending function is disabled.
  • Page 287: Cfd Enable

    Specifies the service instance ID, ranging from 1 to 32767. Description Use the cfd cc interval command to set the value of the interval field in the CCM messages. Use the undo cfd cc interval command to restore the value to the default value.
  • Page 288: Cfd Linktrace

    Specifies the destination MAC address, in the format of H-H-H. ttl ttl-value: Specifies the time to live value, ranging from 1 to 255 and defaulting to 64. hw-only: Indicates the hw-only position of the LTMs sent. When this keyword is present and the MIP that receives LTMs cannot find the destination MAC address in its forwarding table, the MIP will not forward these broadcast messages.
  • Page 289: Cfd Linktrace Auto-Detection

    2: System level Parameters size size-value: Specifies the size of the buffer used to store the auto-detection result, ranging from 1 to 100 (in terms of sending times). This value defaults to 5, which means the buffer stores the results of the recent five auto-detections.
  • Page 290: Cfd Loopback

    MEP, the link between the two is regarded as faulty and LTMs will be sent out. (The destination of the LTMs is the remote MEP, and the maximum value of TTL is 255.) Based on the LTRs that echo back, the fault source can be located.
  • Page 291: Cfd Ma

    2: System level Parameters ma-name: Name of the MA, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character. md md-name: Specifies the name of an MD, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.
  • Page 292: Cfd Md

    By default, no MD is created. Note that: You can create only one MD with a specific level. MD cannot be created if you enter an invalid MD name or an existing MD name. When deleting an MD, you will also delete the configurations related to that MD.
  • Page 293: Cfd Mep Enable

    Use the undo cfd mep command to delete the specified MEP. By default, no MEP is configured on a device port. In creating a MEP, the service instance you specified defines the MD and MA that the MEP belongs to. Examples # Create a MEP.
  • Page 294: Cfd Mip-Rule

    This rule means that if the lower level MA is not configured with MIPs, whether the current MA will create MIPs depends on whether the lower level MA is configured with MEPs. default: This rule means that if the lower level MA is not configured with MIPs, the current MA will create MIPs.
  • Page 295: Cfd Remote-Mep

    Use the cfd remote-mep command to configure the remote MEP for the specified local MEP (the two must be in the same service instance) on the local port. After this, the local MEP can receive CCMs from the remote MEP.
  • Page 296: Cfd Service-Instance

    Parameters instance-id: Service instance ID, ranging from 1 to 32767. md md-name: Specifies the name of an MD, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character. ma ma-name: Specifies the name of an MA, a string of 1 to 48 characters, composed of letters, numbers or underlines, but cannot start with an underline character.
  • Page 297: Display Cfd Linktrace-Reply

    Use the display cfd linktrace-reply command to display the LTR information received by a MEP. Note that: If this command is used without specifying MEP, the information of LTRs of all MEPs in the current service instance is displayed. If this command is used without specifying service instance, the information of LTRs of all MEPs is displayed.
  • Page 298: Display Cfd Linktrace-Reply Auto-Detection

    LTMs. These LTR messages are stored in the buffer after you executed the cfd linktrace auto-detection command. With the size parameter not specified, this command will display the information of all LTRs stored in the buffer.
  • Page 299: Display Cfd Ma

    Use the display cfd ma command to display the configuration of a specified MA. Note that: If MD is not specified, this command will display the MA configurations of all MDs on the device. If both MD and MA are specified, this command will display the specified MA configuration.
  • Page 300: Display Cfd Md

    Level of the MD to which the MA belongs display cfd md Syntax display cfd md View Any view Default level 2: System level Parameters None Description Use the display cfd md command to display the MD configuration information. 1-15...
  • Page 301: Display Cfd Mep

    MEP ID, ranging from 1 to 8191. service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767. Description Use the display cfd mep command to display the attribute and operating information of MEP(s). Examples # Display the attribute and operating information of a MEP.
  • Page 302 Linktrace: NextSeqNumber: 8877 SendLTR: 0 ReceiveLTM: 0 No CCM from some remote MEPs is received. One or more streams of error CCMs are received. The last-received CCM: Maintenance domain: mdtest1 Maintenance association: matest1 MEP ID: 5 Sequence Number: 0x34fc MAC Address: 0000-FC00-6504 Received Time: 2008/05/06 16:33:09 One or more streams of cross-connect CCMs is received.
  • Page 303: Display Cfd Mp

    CCMs are lost.) One or more streams of Display the content of the last CCM when one or more error CCMs are error CCMs is received. received. (This information is displayed only when error CCM(s) is/are The last-received CCM: received.)
  • Page 304 The information displayed is ordered by port name primarily, and within a single port, ordered by VLAN ID (from small to big), and within a single VLAN, in the order of outward-facing MEPs (from low to high level), MIPs, and inward-facing MEPs (from high to low level).
  • Page 305: Display Cfd Remote-Mep

    Specifies the service instance ID, ranging from 1 to 32767. mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191. Description Use the display cfd remote-mep command to display the information of the remote MEP. Examples # Display the information of the remote MEP.
  • Page 306: Display Cfd Service-Instance

    Use the display cfd service-instance command to display the configuration information of service instance. Without specifying the service instance ID, the command will display the configuration information of all service instances. With service instance ID specified, this command will display the configuration information of the specified service instance.
  • Page 307: Display Cfd Status

    Any view Default level 2: System level Parameters None Description Use the display cfd status command to display the status of CFD (enabled or disabled). Examples # Display the status of CFD. <Sysname> display cfd status CFD is enabled. 1-22...
  • Page 308 ······················································································································1-25 port hybrid vlan ······························································································································1-26 port link-type hybrid ·······················································································································1-26 port switch-over ·····························································································································1-27 using onu ·······································································································································1-28 2 ONU Remote Management Configuration Commands ··········································································2-1 ONU Remote Management Configuration Commands ··········································································2-1 bind onuid ········································································································································2-1 dba-report queue-id threshold ·········································································································2-2 dba-report queue-set-number ·········································································································2-2 deregister onu··································································································································2-3...
  • Page 309 ······························································································································2-18 onu-event·······································································································································2-19 onu port-isolate enable ··················································································································2-20 onu-protocol enable·······················································································································2-21 onu-protocol igmp-snooping··········································································································2-22 port access vlan·····························································································································2-23 port link-type ··································································································································2-23 port trunk pvid vlan ························································································································2-24 reboot onu ·····································································································································2-25 reset counters uni ··························································································································2-25 shutdown management-vlan-interface ··························································································2-26 uni auto-negotiation ·······················································································································2-27 uni description ·······························································································································2-28 uni duplex ······································································································································2-28 uni flow-control ······························································································································2-29...
  • Page 310 ·····································································································3-17 alarm registration-error enable ······································································································3-17 alarm remote-stable enable···········································································································3-18 alarm software-error enable ··········································································································3-19 monitor enable·······························································································································3-19 sample enable ·······························································································································3-20 timer monitor··································································································································3-21 timer sample ··································································································································3-21 4 Switch Feature-Related Configuration Commands ···············································································4-1 OLT Port Configuration Commands········································································································4-1 ONU Port Configuration Commands·······································································································4-3...
  • Page 311: Olt Configuration Commands

    OLT Configuration Commands This document discusses the commands specific to Ethernet Passive Optical Network (EPON). For the commands of switch features on optical line terminal (OLT) and optical network unit (ONU) ports, refer to 4 Switch Feature-Related Configuration Commands. The actual output information varies with devices.
  • Page 312: Dba-Algorithm Update

    2: System level Parameters file-url: String of up to 64 characters consisting of device name and the filename of the DBA algorithm. If no device name is entered, the Flash of the switching and routing process unit (SRPU) will be used.
  • Page 313: Dba-Parameters

    The value argument ranges from 32768 to 131070; it defaults to 65535 if you do not use the cycle-length keyword. 1 time quantum (TQ) is equal to 16 ns, which is the time it takes to transmit two bytes of data at 1 Gbps. Description Use the dba-parameters command to specify the cycle for the OLT to send discovery frames to ONUs and the period in TQs for the OLT to discover ONUs.
  • Page 314 CDR time is the time used by the OLT to synchronize the phase and frequency of received signals. ONU laser on time is the interval between when the ONU laser is turned on and when it becomes stable. ONU laser off time is the interval between when the ONU laser is turned off and when it...
  • Page 315: Display Epon-Oam Interface

    Use the display epon-oam interface command to display the operation, administration, and maintenance (OAM) information about an ONU. To display the OAM information about an ONU, make sure the ONU is online. Examples # Display the OAM information about an ONU.
  • Page 316: Display Epon-Parameter Slot

    OAM version: 3.3 Multiplexer action: forwarding non-OAM PDUs to the lower sublayer Parser action : forwarding non-OAM PDUs to higher layer Organization specific information TLVs: support Organization specific events : support Organization specific OAM PDUs : support Sending variable response OAM PDUs...
  • Page 317 Slot number of the EPON service board. Description Use the display epon-parameter slot command to display related information of EPON parameters, such as message timeout time in extended OAM discovery, OUI and extended OAM version number list, and encrypted parameters. Related commands: epon-parameter ouilist, encryption timer.
  • Page 318: Display Epon-Version Interface

    Use the display epon-version interface command to display OLT or ONU version information. Before displaying the version information about an ONU, make sure the ONU is online. Before displaying the version information about an OLT, make sure the OLT port is in Up state. Examples # Display OLT version information.
  • Page 319: Display Epon-Workmode Interface

    Description Use the display epon-workmode interface command to display the current work mode of an OLT or ONU. If the port type is OLT, this command can also display its MAC address and dynamic bandwidth allocation (DBA) algorithm mode. To display the working mode of an ONU, make sure the ONU is online.
  • Page 320: Display Epon Statistics Interface

    OLT/ONU port number. Description Use the display epon statistics interface command to display the statistics on a specified ONU/OLT port, including average error rate of data bits or data frames of the data exchanged between the OLT and the ONUs. 1-10...
  • Page 321: Display Fiber-Backup Group

    To display the statistics of an ONU, make sure the ONU is online. This command displays the average error rate, instead of the accumulated error rate, within a sampling interval. An error rate value less than 1e-9 is displayed as 0.
  • Page 322: Display Onu-Event Interface

    Examples # Display the information of the member OLT ports, their roles and states in fiber backup group 1. <Sysname> display fiber-backup group 1 fiber backup group 1 information:...
  • Page 323: Display Onuinfo

    The system supports up to 50 records for each ONU. After the number of records for an ONU reaches this maximum number, the old records will be overwritten by the new ones. If an ONU port is unbound from its ONU or the EPON card is reset, records will be cleared. Examples # Display the registration and deregistration information of the ONU.
  • Page 324 The displayed information includes ONU MAC address, LLID that OLT assigns to an ONU, actual length of the optical fiber between an OLT and an ONU, bound ONU port number, ONU type, hardware version, software version, EEPROM version, ONU status, and ONU MAC aging time.
  • Page 325: Display Onuinfo Mac-Address

    Parameters mac-address: MAC address of the ONU. Description Use the display onuinfo mac-address command to display the information about the legal ONU with the specified MAC address. Examples # Display the information about the legal ONU with the specified MAC address.
  • Page 326: Display Onuinfo Silent

    OLT port or to the EPON card seated in the specified slot. Examples # Display the information about all the silent ONUs connected to the EPON card seated in slot 4. <Sysname> display onuinfo silent slot 4...
  • Page 327: Display Optics-Parameters Interface

    Parameters interface-type: Port type, which can be OLT. interface-number: OLT port number. Description Use the display optics-parameters interface command to display the optical parameter information of the OLT port. Examples # Display the optical parameter information of the OLT port.
  • Page 328 Laser Rx loss signal polarity EPON optics transmission signal polarity: low PON optics transmission signal polarity Minimal length between the end of a grant to the Optics dead zone: start of the other Whether to use the optics signal loss signal...
  • Page 329: Encryption Timer

    Key update time, in seconds. It is in the range 1 to 255 and defaults to 10. timeout: Encryption reply timeout time, in a unit of 100 ms. It is in the range 1 to 2550 and defaults to 30.
  • Page 330: Epon-Parameter Ouilist

    Examples # Configure the key update time and encryption reply timeout time for the EPON card in slot 3 as 20 seconds and 5 seconds (50 × 100 ms) respectively. <Sysname> system-view [Sysname] ftth [Sysname-ftth] encryption timer update-time 20 no-reply-timeout 50 slot 3...
  • Page 331: Fiber-Backup Group

    Fiber backup group number, in the range 1 to 80. Description Use the fiber-backup group command to create a fiber backup group and enter fiber backup group view or directly enter fiber backup group view if the fiber backup group already exists.
  • Page 332: Group Member

    OLT port number. Description Use the group member command to add an OLT port to a fiber backup group (the group must exist). Use the undo group member command to remove an OLT port from a fiber backup group.
  • Page 333: Max-Rtt

    Configure the maximum RTT from the ONU to the OLT only when necessary. The relationship between the RTT and the distance (in meters) from the OLT to the ONU can be expressed by the formula: RTT = (Distance + 157)/1.6393.
  • Page 334: Port Fiber-Backup Group

    IGMP Report message, the OLT determines whether the multicast IP address contained in the message belongs to the multicast VLAN. If yes, the OLT generates a multicast forwarding entry in the multicast VLAN of the multicast IP address; otherwise, the OLT directly discards the message.
  • Page 335: Port Hybrid Pvid Vlan

    By default, the default VLAN of a hybrid port is VLAN 1. To add default VLAN tags to the untagged inbound packets on an OLT port, make sure the default VLAN ID is configured for the OLT port and QinQ is enabled on the port (by using the qinq enable command).
  • Page 336: Port Hybrid Vlan

    Related commands: port link-type, port hybrid pvid vlan. Examples # Assign the hybrid port OLT 3/0/1 to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100, and configure OLT 3/0/1 to send packets of these VLANs with tags kept.
  • Page 337: Port Switch-Over

    Use the port switch-over command to perform a master/slave switchover between the two OLT ports in the fiber backup group. After this command is executed, the original master OLT port becomes the new slave, while the original slave OLT port becomes the new master.
  • Page 338: Using Onu

    ONU port number, in the range 1 to 64. to onu-number2: Specifies an ONU port range. onu-number2 is an ONU port number, in the range 1 to &<1-10>: Indicates that you can specify up to 10 ONU port numbers/port ranges.
  • Page 339: Onu Remote Management Configuration Commands

    MAC address of the ONU to be bound, in the H-H-H format. Description Use the bind onuid command to bind the current ONU port to an ONU by associating the ONU port with the MAC address of the ONU.
  • Page 340: Dba-Report Queue-Id Threshold

    Queue number in the range 1 to 8. threshold-value: Threshold of a queue, in the range 0 to 65535. The default thresholds of queue 4 and queue 5 are 65535, and the default thresholds of other queues are 0.
  • Page 341: Deregister Onu

    Description Use the dba-report queue-set-number command to configure the number of queue sets supported by ONU Report frames. Use the undo dba-report queue-set-number command to restore the default number of queue sets supported by ONU Report frames. H3C's ONU Report frames support up to two queue sets.
  • Page 342 1: Monitor level Parameters None Description Use the display dhcp-client command to display the IP address allocation information when the ONU serves as a DHCP client. Examples # Display the IP address allocation information when the ONU serves as a DHCP client.
  • Page 343: Display Epon-Multicast Information

    [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] display epon-multicast information ONU is not in multicast-control mode. # Display multicast control information when the multicast mode of the ONU is multicast control mode but no multicast control information is generated. [Sysname-Onu3/0/1:1] display epon-multicast information Multicast-control information: None.
  • Page 344: Display Onu-Protocol

    Displays the information about IGMP snooping supported by the ONU. dhcp-snooping information: Displays the information about DHCP-Snooping Option82 supported by the ONU. Description Use the display onu-protocol command to display the information about the protocols supported by an ONU that is in up state.
  • Page 345: Display Vendor-Specific Information

    If no parameter is specified, the information about all the protocols that the ONU supports is displayed. This command takes effect on H3C ONUs only. STP runs normally only when all attached ONUs are H3C ONUs. Examples # Display the information about IGMP snooping supported by the ONU.
  • Page 346 Description Use the display vendor-specific information command to display the detailed information of the ONU when it is up. Examples # Display the detailed ONU information of ONU 3/0/1:1. <Sysname> system-view [Sysname] interface onu 3/0/1:1 [Sysname-Onu3/0/1:1] display vendor-specific information serial number...
  • Page 347 Queue states and thresholds. If the value of queue 4 : state:1 , value:65535 state is 0, it means the queue is disabled; if the value of state is 1, it means the queue is queue 5 : state:1 , value:65535 enabled.
  • Page 348: Display Uni-Information

    Default Level 1: Monitor level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the display uni-information command to display the state information about the current UNI.
  • Page 349 202 packets, 15270 bytes 8 broadcasts, 0 multicasts, 194 unicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 InRxErr, 0 CRC 0 buffer failures Output(total): 44644 packets, 2959256 bytes 37035 broadcasts, 7312 multicasts, 297 unicasts, 0 pauses...
  • Page 350: Encrypt Enable

    0 collisions, and 0 error packets in transmission. A runt is a frame that has a length less than 64 bytes in a correct format and contains a valid CRC field. A giant is a frame that has a valid length greater than 1518 bytes (without VLAN tag) or 1522 bytes (with VLAN tag).
  • Page 351: Encrypt Key

    Encryption key, a string of up to 16 characters. Description Use the encrypt key command to configure the encryption key. Use the undo encrypt command to restore the default encryption key. This command takes effect on H3C ONUs only. Currently, the encrypt key command is not supported.
  • Page 352: Forward-Error-Correction Enable

    Default Level 2: System level Parameters None Description Use the forward-error-correction enable command to enable forward error correction (FEC) on the OLT and ONUs. Use the undo forward-error-correction enable command to disable this function. This function is disabled by default. Examples # Enable FEC on the OLT and ONUs.
  • Page 353: Linktest

    Specifies whether or not to insert VLAN tags in test frames. The on keyword specifies to insert VLAN tags in test frames. The off keyword specifies not to insert VLAN tags to test frames. By default, test frames contain VLAN tags.
  • Page 354: Loopback Enable

    Use the linktest command to test the connectivity of the optical link between the OLT and the ONU. Make sure the ONU is online before you perform the link connectivity test. Examples # Set the number of test frames to 100 to test the link between the OLT and ONU 3/0/1:1. <Sysname> system-view [Sysname] interface onu 3/0/1:1...
  • Page 355: Management-Vlan

    Related commands: loopback command in Port Basic Configuration Commands. Use this command only when necessary as enabling MAC loopback for an ONU may affect the device performance. You need to use the undo loopback enable command to cancel the loopback, which does not end automatically. Examples # Enable MAC loopback on ONU 3/0/1:1, and cancel the loopback one minute later.
  • Page 356: Multicast-Control Host-Aging-Time

    Default Level 1: Monitor level Parameters host-aging-time: Aging time of multicast group member port in multicast control mode, in seconds. It is in the range 200 to 1000 and defaults to 260. Description Use the multicast-control host-aging-time command to configure the aging time of multicast group member port in multicast control mode.
  • Page 357: Onu-Event

    Description Use the onu-event { debug | log | trap } enable level command to specify the ONU to report log, debugging, or trap information to the OLT. Use the undo onu-event { debug | log | trap } command to restore the default.
  • Page 358: Onu Port-Isolate Enable

    <=WARN level messages to OLT (severity=4) [Sysname-Onu3/0/1:1] onu-event log enable level errors # Disable the OLT attached to ONU 3/0/3:1 from reporting log information to the ONU. <Sysname> system-view [Sysname] interface onu 3/0/3:1 [Sysname-Onu3/0/3:1] undo onu-event log enable Table 2-6 onu-event log enable level command output description...
  • Page 359: Onu-Protocol Enable

    STP runs normally only when all attached ONUs are H3C ONUs. When STP is enabled globally on the S7900E switch, make sure all the ONUs are enabled with STP and no ONU acts as an STP root bridge to avoid network anomalies.
  • Page 360: Onu-Protocol Igmp-Snooping

    25 and defaults to 1. report-aggregation enable: Enables IGMP report message suppression router-aging-time: Router port aging time, in seconds. It is in the range 1 to 1000 and defaults to 105. The max-response-time keyword in the onu-protocol igmp-snooping command sets the maximum response time of the group-specific queries.
  • Page 361: Port Access Vlan

    The router port here refers to the port connecting the ONU to the router. The ONU receives IGMP general query messages from the router through this port. The aging time of the router port should be a value about 2.5 times of the general query interval.
  • Page 362: Port Trunk Pvid Vlan

    Use the undo port link-type command to restore the default link type of an ONU port, which is Access by default. After an ONU port is configured as a trunk port, the ONU port allows the packets of all the VLANs to pass through.
  • Page 363: Reboot Onu

    For a Trunk port, after you execute the undo vlan command to remove the default VLAN of the Trunk port, the default VLAN of the Trunk port does not change. That is to say, the Trunk port can use the non-existing VLAN as the default VLAN.
  • Page 364: Shutdown Management-Vlan-Interface

    Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the maximum number of UNI ports supported by the ONU. By default, the maximum number is 80. Description Use the reset counters uni command to clear the counter information of the specified UNI port.
  • Page 365: Uni Auto-Negotiation

    Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the uni auto-negotiation command to enable auto-negotiation on a UNI port.
  • Page 366: Uni Description

    2: System level Parameters uni-number: UNI number of an ONU, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. text: String of 1 to 40 characters describing the UNI.
  • Page 367: Uni Flow-Control

    2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. full: Specifies the port to be in full duplex mode.
  • Page 368: Uni Igmp-Snooping Fast-Leave

    Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the uni igmp-snooping fast-leave command to enable fast leave on the UNI.
  • Page 369: Uni Multicast Vlan

    Use the undo uni uni-number mdi command to restore the MDI mode for UNIs to the default value. By default, the MDI mode for UNIs is auto, that is, the UNIs of the ONU can recognize the cable type automatically.
  • Page 370: Uni Multicast-Control Multicast-Address

    Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. vlan-id: Multicast VLAN ID, in the range 1 to 4094. &<1-50> means that you can provide up to 50 VLAN IDs for this argument.
  • Page 371: Uni Multicast-Group-Number

    Allowed preview times, in the range 1 to 3. reset-interval-time: Preview reset interval, namely, time elapsed (in minutes) after the preset number of preview times is reached and before the next preview can be performed. It is in the range 1 to 43200. Description Use the uni multicast-control multicast-address command to configure the access (permit, preview, or deny) to multicast channels for the users connected to the specified UNI.
  • Page 372: Uni Multicast-Strip-Tag Enable

    UNI ports of an ET704 series ONU is 64, the ONU will support 64 multicast channels. Examples # Allow the users connected to UNI 1 of the ONU to access up to 32 multicast channels at the same time. <Sysname> system-view...
  • Page 373: Uni Port-Isolate

    Default Level 2: System level Parameters uni-number: UNI number in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the uni multicast-strip-tag enable command to configure the specified UNI to remove the VLAN tag of the downlink multicast flow.
  • Page 374: Uni Restart Auto-Negotiation

    This command takes effect on H3C ONUs only. A UNI port of an ET254-L ONU can be added to an isolation group only when the UNI port's VLAN operation mode is the transparent transmission mode. Examples # Add UNI 1 and UNI 2 to the isolation group.
  • Page 375: Uni Speed

    Default Level 2: System level Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. Description Use the uni shutdown command to disable the UNIs.
  • Page 376: Uni Vlan-Mode Tag Pvid

    2: System level Parameters uni-number: UNI number, in the range 1 to the number of current ONU UNIs. The maximum number of UNI ports supported is 80. Value: 802.1p precedence value of a packet, in the range of 0 to 7.
  • Page 377: Uni Vlan-Mode Translation Pvid

    If a UNI of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN translation mode. If all ONU ports under an OLT port are access ports, to make sure that the packets received on the ONU port and PC are untagged packets, the VLAN operation mode of a UNI can only be configured as the transparent transmission mode.
  • Page 378: Uni Vlan-Mode Transparent

    If a UNI port of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN Translation mode. When all the ONU ports under an OLT port are Access ports, the operation mode of the UNI port can be set to the transparent transmission mode only to ensure the ONU ports and user PCs receive untagged packets.
  • Page 379: Upstream-Sla

    If a UNI port of an ET254-L ONU is added to an isolation group, the operation mode of the UNI port can be set to the transparent transmission mode only, but not VLAN tag mode or VLAN Translation mode. If all ONU ports under an OLT port are access ports, to make sure that the packets received on the ONU port and PC are untagged packets, the VLAN operation mode of a UNI can only be configured as the transparent mode.
  • Page 380: Update Onu Filename

    Update file name, a string of 1 to 64 characters composed of the device name and the ONU update file name. If no device name is specified, it is the name of the Flash of the SRPU. The files in the salve SRPU cannot be used for the update.
  • Page 381: Update Onu Onu-Type

    If the ONU corresponding to the ONU port is not online (because the ONU port is not bound with any ONU or the extended OAM connection fails on the bound ONU), the update process will not start until the ONU goes online.
  • Page 382 Update file name, a string of 1 to 64 characters composed of the device name and the ONU update file name. If no device name is specified, it is the name of the Flash of the SRPU. The files in the salve SRPU cannot be used for the update.
  • Page 383 After the command is executed, the OLT starts updating all the ET704-A-L ONUs on which no update command is configured under the ONU port. 2-45...
  • Page 384: Alarm Configuration Commands

    Alarm Configuration Commands An alarm command executed in FTTH view will take effect on all the OLT ports of the system or all the ONUs under the OLT; An alarm command executed in OLT port view will take effect on the current port and all the ONUs under it;...
  • Page 385: Alarm Bit-Error-Rate Enable

    The system generates a bit error rate alarm when the total number of error bits or bit error rate of the data transferred between the OLT and ONUs exceeds the alarm threshold. By default, both uplink and downlink data between OLT and ONU will be monitored.
  • Page 386: Alarm Frame-Error-Rate

    By default, the device fatal error alarm is enabled. When fatal errors occur to the device, the device fatal error alarm is generated. If the device does not detect the same error again within two minutes, the device fatal error alarm is removed.
  • Page 387: Alarm Frame-Error-Rate Enable

    When the total number of error frames and error frame rate of the data transferred between the OLT and ONU exceed the alarm thresholds, the frame error rate alarm occurs. By default, both uplink and downlink data between OLT and ONU are monitored.
  • Page 388: Alarm Llid-Mismatch Threshold

    Use the undo alarm llid-mismatch threshold command to restore the default alarm threshold. The system generates an LLID mismatch frame alarm when the timeslots are used in disorder, that is, one ONU uses another ONU's timeslot to forward data.
  • Page 389: Alarm Local-Stable Enable

    The system generates a local stable alarm in case of an ONU misuse in the system, for example, when an OAM 2.0 ONU and an OAM 3.3 ONU are mixed in the same system. (All ONUs in the same system must adopt the same OAM version.)
  • Page 390: Alarm Oam Dying-Gasp Enable

    Use the undo alarm oam critical-event enable command to disable the critical event alarm. By default, the critical event alarm is enabled. There are two types of critical events: local link fault and dying gasp. The system generates a critical event alarm when one of the two events occurs.
  • Page 391: Alarm Oam Error-Symbol-Period

    Use the undo alarm oam error-symbol-period command to restore the default window size and alarm threshold. The system generates an error symbol period alarm when the number of error bytes in a specific period (that is, the window size) exceeds the corresponding predefined threshold.
  • Page 392: Alarm Oam Error-Symbol-Period Enable

    When the upper limit and the lower limit of the alarm threshold are set to 0, large amount of alarms are generated immediately. Since alarm events are carried in the OAM packets, large amount of OAM packets are generated. In this case, OAM packets may be lost.
  • Page 393: Alarm Oam Error-Frame-Period

    OAM packets may be lost. The commands here take effect only for OAM 2.0 and above. Examples # Set the window size and alarm threshold for error frame period to 2 seconds and 30 frames on ONU 1/0/1:1. 3-10...
  • Page 394: Alarm Oam Error-Frame-Period Enable

    Parameters None Description Use the alarm oam error-frame-period enable command to enable the error frame period alarm. Use the undo alarm oam error-frame-period enable command to disable the error frame period alarm. By default, the error frame period alarm is enabled.
  • Page 395: Alarm Oam Error-Frame Enable

    OAM packets may be lost. The commands here take effect only for OAM 2.0 and above. Examples # Set the window size and alarm threshold for error frame to 20 seconds and 30 frames on ONU 1/0/1:1. <Sysname> system-view [Sysname] interface onu 1/0/1:1...
  • Page 396: Alarm Oam Error-Frame-Seconds-Summary

    2: System level Parameters window window: Specifies the window size, in the range 100 to 9000 (in 100 ms). By default, the window size is 600. threshold threshold: Specifies the alarm threshold, in the range 1 to 900 (in seconds). By default, the threshold is 1 second.
  • Page 397: Alarm Oam Error-Frame-Seconds-Summary Enable

    Related commands: alarm oam error-frame-seconds-summary enable. The commands here take effect only for OAM 2.0 and above. Examples # Set the window size and alarm threshold for error frame seconds summary to 800 and 2 on ONU 1/0/1:1. <Sysname> system-view...
  • Page 398: Alarm Oam Local-Link-Fault Enable

    Use the undo alarm oam local-link-fault enable command to disable the local link fault alarm. By default, the local ink fault alarm is enabled. The system generates a local link fault alarm when the receiving direction of the local data terminal is in trouble.
  • Page 399: Alarm Onu-Over-Limitation Enable

    Use the undo alarm onu-over- limitation enable command to disable ONU over limitation alarm. When the total number of ONUs connected to an OLT exceeds the limit, an alarm is generated. By default, the onu over limitation alarm is enabled.
  • Page 400: Alarm Port Bit-Error-Rate Enable

    When both the total number of error bits and bit error rate of the data transferred between the OLT and ONU exceed the alarm thresholds, the port bit error rate alarm occurs. The threshold setting of the port bit error rate alarm is the same as that of the bit error rate alarm. Related commands: alarm bit-error-rate.
  • Page 401: Alarm Remote-Stable Enable

    The system generates a remote stable alarm in case of an ONU misuse in the system, for example, when an OAM 2.0 ONU and an OAM 3.3 ONU are mixed in the same system. (All ONUs in the same system must adopt the same OAM version.) The local stable alarm differs from the remote stable alarm in the following way: The local stable alarm is generated at the OLT side.
  • Page 402: Alarm Software-Error Enable

    Use the undo alarm software-error enable command to disable the software error alarm of the system. The system generates a software error alarm when a signal error, DA abnormity (that is, data access abnormity) error, or memory allocation failure occurs.
  • Page 403: Sample Enable

    None Description Use the monitor enable command to enable alarm monitor in the EPON system. Use the undo monitor enable command to disable alarm monitor in the EPON system. By default, alarm monitor is enabled in the EPON system. Examples # Enable the alarm monitor of the EPON system <Sysname>...
  • Page 404: Timer Monitor

    Default Level 3: Manage level Parameters seconds: Alarm monitor period, ranging from 1 to 3600 (in seconds). The system default is 80 seconds. Description Use the timer monitor command to configure the alarm monitor period of the system. Use the undo timer monitor command to restore the default monitor period.
  • Page 405 <Sysname> system-view [Sysname] ftth [Sysname-ftth] timer sample 10 3-22...
  • Page 406: Switch Feature-Related Configuration Commands

    Switch Feature-Related Configuration Commands OLT Port Configuration Commands Table 4-1 OLT port features Feature Command Related section description shutdown Basic parameters Ethernet interface commands interface display interface Flow control flow-control Ethernet interface commands broadcast-suppression Broadcast storm Ethernet interface commands multicast-suppression...
  • Page 407 Smart Link commands [ control-vlan vlan-id ] When an up OLT port goes down (because the shutdown is executed on it or the fiber is unplugged), wait at least five seconds before bringing up the port again (by using the undo shutdown command or plugging in the fiber).
  • Page 408: Onu Port Configuration Commands

    ONU Port Configuration Commands Table 4-2 ONU port features Feature Command Related section description shutdown link-delay Basic parameters Ethernet interface commands interface display interface reset counters interface Loopback test loopback Ethernet interface commands Port Trap enable snmp trap updown SNMP commands...
  • Page 409 ONUs and OLT when users send IGMP report messages. You can use the igmp-snooping host-join and igmp-snooping static-group commands in ONU port view to create multicast table entries on the OLT, but not on the ONUs. In that case, multicast traffic cannot be exchanged between them.
  • Page 410 Table of Contents 1 MSTP Configuration Commands ·············································································································1-1 MSTP Configuration Commands ············································································································1-1 active region-configuration ··············································································································1-1 check region-configuration ··············································································································1-1 display stp········································································································································1-2 display stp abnormal-port ················································································································1-5 display stp down-port·······················································································································1-6 display stp history ····························································································································1-7 display stp region-configuration·······································································································1-8 display stp root ································································································································1-9 display stp tc··································································································································1-10 instance ·········································································································································1-11...
  • Page 411 ····················································································································1-37...
  • Page 412: Mstp Configuration Commands

    Description Use the active region-configuration command to activate your MST region 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 calculation again.
  • Page 413: Display Stp

    Be sure that your MST region configurations are correct, especially the VLAN-to-MSTI mapping table. As defined in the MSTP protocol, MSTP-enabled devices are in the same MST region only when they have the same format selector (protocol format selector defined in 802.1s, which is 0 by default and unconfigurable), region name, VLAN-to-MSTI mapping table, and MSTP revision level settings.
  • Page 414 MSTP is working normally. Note that: If you do not specify any MSTI ID or port list, this command will display the MSTP information on all ports. The displayed information is sequenced by MSTI ID and by port name in each MSTI.
  • Page 415 The number of TCN BPDUs, configuration BPDUs, RST BPDUs and MST BPDUs sent from each port The number of TCN BPDUs, configuration BPDUs, RST BPDUs, MST BPDUs and wrong BPDUs received on each port The number of BPDUs discarded on each port Related commands: reset stp.
  • Page 416: Display Stp Abnormal-Port

    Disabled Port Priority Port priority Path cost of the port. The field in the bracket indicates the standard used for port path cost calculation, which can be legacy, dot1d-1998, or dot1t. Port Cost(Legacy) Config indicates the configured value, and Active indicates the actual value.
  • Page 417: Display Stp Down-Port

    BPDU format compatibility protection action display stp down-port Syntax display stp down-port View Any view Default Level 1: Monitor level Parameters None Description Use the display stp down-port command to view the information about ports blocked by STP protection actions.
  • Page 418: Display Stp History

    MSTI or all MSTIs. Note that: If you do not specify an MSTI ID, this command will display the historic port role calculation information of all MSTIs. The displayed information is sequenced by MSTI ID, and by port role calculation time in each MSTI.
  • Page 419: Display Stp Region-Configuration

    Examples # View the historic port role calculation information of the card on slot 1 in MSTI 2. <Sysname> display stp instance 2 history slot 1 --------------- STP slot 1 history trace --------------- ------------------- Instance 2 --------------------- Port GigabitEthernet2/0/1 Role change : ROOT->DESI (Aged)
  • Page 420: Display Stp Root

    Default Level 1: Monitor level Parameters None Description Use the display stp root command to view the root bridge information of all MSTIs. Examples # View the root bridge information of all MSTIs. <Sysname> display stp root MSTID Root Bridge ID...
  • Page 421: Display Stp

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

    MSTI ID, ranging from 0 to 31. The minimum value is 0, representing the CIST. vlan vlan-list: Specifeis a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id2 }&<1-10>, in which vlan-id represents the sub-VLAN ID and ranges from 1 to 4094. &<1-10> indicates you can specify up to 10 sub-VLAN IDs or sub-VLAN ID ranges.
  • Page 423: Region-Name

    Use the undo region-name command to restore the default MST region name. By default, the MST region name of a device is its MAC address. The MST region name, the VLAN-to-MSTI mapping table and the MSTP revision level of a device jointly determine the MST region the device belongs to.
  • Page 424: Revision-Level

    Use the region-level command to configure the MSTP revision level of your device. Use the undo region-level command to restore the default MSTP revision level. The MSTP revision level, the MST region name and the VLAN-to-MSTI mapping table of a device jointly determine the MST region the device belongs to.
  • Page 425: Stp

    Note that: To control MSTP flexibly, you can disable the MSTP feature for certain ports so that they will not take part in spanning tree calculation and thus to save the device’s CPU resources.
  • Page 426: Stp Bpdu-Protection

    None Description Use the stp bpdu-protection command to enable the BPDU guard function for the device. Use the undo stp bpdu-protection command to disable the BPDU guard function for the device. By default, the BPDU guard function is disabled. Examples # Enable the BPDU guard function for the device.
  • Page 427: Stp Compliance

    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 428: Stp Config-Digest-Snooping

    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 packet format automatically while it works in the MSTP mode, and if it receives a packet in the format other than the configured format, it will become a designated port and remain in the discarding state to prevent the occurrence of a loop.
  • Page 429: Stp Cost

    200000. Description Use the stp cost command to set the path cost of the port(s) in the specified MSTI or all MSTIs. Use the undo stp cost command to restore the system default. By default, the device automatically calculates the path costs of ports in each MSTI based on the corresponding standard.
  • Page 430: Stp Edged-Port

    Aggregation Configuration in the Access Volume. 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 different path costs for the same port in different MSTIs allows different VLAN traffic flows to be forwarded along different physical links, thus to enable VLAN-based load balancing.
  • Page 431: Stp Loop-Protection

    Aggregation Configuration in the Access Volume. If a port directly connects to a user terminal rather than another device or a shared LAN segment, this port is regarded as an edge port. When the network topology changes, an edge port will not cause a temporary loop.
  • Page 432: Stp Max-Hops

    By default, the maximum number of hops of an MST region is 20. The maximum hops configured in an MST region limit the size of the MST region. In an MST region, the maximum hops configured on the regional root bridge are the maximum hops of this MST region. After a configuration BPDU leaves the root bridge, its hop count is decremented by 1 each time it passes a device.
  • Page 433: Stp Mode

    STP, this port will automatically migrate to the STP-compatible mode. However, if the device running STP is removed, the port will not be able to migrate automatically to the MSTP (or RSTP) mode, but will remain working in the STP-compatible mode. In this case, you can perform an mCheck operation to force the port to migrate to the MSTP (or RSTP) mode.
  • Page 434: Stp No-Agreement-Check

    By default, No Agreement Check is disabled. Note that: Configured in port view, the setting takes effect on the current port only; configured in port group view, the setting takes effect on all ports in the port group. Configured in Layer-2 aggregate port view, the setting takes effect only on the aggregate port.
  • Page 435: Stp Pathcost-Standard

    By default, the legacy standard is used for calculating the default path cost for ports. 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 invalid.
  • Page 436: Stp Point-To-Point

    802.1T does. 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 aggregation group.
  • Page 437: Stp Port Priority

    When connecting to a non-point-to-point link, a port is incapable of rapid state transition. If the current port is a Layer-2 aggregate port or if it works in full duplex mode, the link to which the current port connects is a point-to-point link. We recommend that you use the default setting, namely let MSTP detect the link status automatically.
  • Page 438: Stp Port-Log

    Aggregation Configuration in the Access Volume. 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 MSTI.
  • Page 439: Stp Priority

    0 to 31. The minimum value is 0, representing the CIST. priority: Port priority, in the range of 0 to 61440 in steps of 4096, namely you can set up to 16 priority values, such as 0, 4096, 8192…, on the device.
  • Page 440: Stp Region-Configuration

    Use the undo stp region-configuration command to restore the default MST region configurations. By default, the default settings are used for all the three MST region parameters. Namely, the device’s MST region name is the device’s MAC address, all VLANs are mapped to the CIST, and the MSTP revision level is 0.
  • Page 441: Stp Root Secondary

    There is only one root bridge in effect in an MSTI. If two or more devices have been designated to be root bridges of the same MSTI, MSTP will select the device with the lowest MAC address as the root bridge.
  • Page 442: Stp Root-Protection

    You can configure one or more secondary root bridges for each MSTI. When the root bridge of an MSTI fails or is shut down, the secondary root bridge can take over the role of the root bridge of the specified MSTI. If you specify more than one secondary root bridge, the secondary root bridge with the lowest MAC address will become the root bridge.
  • Page 443: Stp Tc-Protection

    2: System level Parameters None Description Use the stp tc-protection enable command to enable the TC-BPDU attack guard function for the device. Use the stp tc-protection disable command to disable the TC-BPDU attack guard function for the device. By default, the TC-BPDU attack guard function is enabled.
  • Page 444: Stp Timer Forward-Delay

    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 445: Stp Timer Hello

    The root bridge sends configuration BPDUs at the interval of the hello time set on the device, while secondary root bridges use the hello time set on the root bridge.
  • Page 446: Stp Timer Max-Age

    BPDU has expired based on the configured max age timer; if the current device is not the root bridge of the CIST, it uses the max age timer set on the CIST root bridge. The settings of the hello time, forward delay and max age timers must meet the following formulae: 2 ×...
  • Page 447: Stp Timer-Factor

    After the network topology is stabilized, each non-root-bridge device forwards configuration BPDUs to the surrounding devices at the interval of hello time to check whether any link is faulty. Typically, if a device does not receive a BPDU from the upstream device within nine times the hello time, it will assume that the upstream device has failed and start a new spanning tree calculation process.
  • Page 448 By default, the maximum transmission rate of all ports of the device is 10. Note that: Configured in port view, the setting takes effect on the current port only; configured in port group view, the setting takes effect on all ports in the port group.
  • Page 449 %modulo is the modulo operation for (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 15 to MSTI 15, VLAN 16 to MSTI 1, and so on.
  • Page 450 Table of Contents 1 RRPP Configuration Commands ·············································································································1-1 RRPP Configuration Commands ············································································································1-1 control-vlan ······································································································································1-1 display rrpp brief ······························································································································1-2 display rrpp ring-group·····················································································································1-3 display rrpp statistics ·······················································································································1-4 display rrpp verbose ························································································································1-7 domain ring······································································································································1-9 protected-vlan································································································································1-10 reset rrpp statistics ························································································································1-11 ring·················································································································································1-12 ring enable·····································································································································1-14 rrpp domain ···································································································································1-15 rrpp enable ····································································································································1-15...
  • Page 451: Rrpp Configuration Commands

    You need only configure a control VLAN for the primary ring. However, the control VLAN of a subring is assigned automatically by the system and its VLAN ID is the control VLAN ID of the primary ring plus 1. So, you should select two consecutive new VLANs. Otherwise, the configuration fails.
  • Page 452: Display Rrpp Brief

    # Display the brief information of RRPP configuration. <Sysname> display rrpp brief Flags for Node Mode : M –- Master , T -- Transit , E -- Edge , A -- Assistant-Edge RRPP Protocol Status: Enable Number of RRPP Domains: 2...
  • Page 453: Display Rrpp Ring-Group

    Secondary port when the node mode is master node or transit node; edge port when the node mode is edge node or assistant edge node; Secondary/Edge Port “-“ appears when the port is not configured on the ring or the board to which the port belongs does not start. Enable Status RRPP ring status: Yes indicates enabled and No indicates disabled.
  • Page 454: Display Rrpp Statistics

    Description Use the display rrpp ring-group command to display the ring group configuration. If no ring group ID is specified, the configuration of all ring groups is displayed. For an edge node ring group, the subring sending Edge-Hello packets is also displayed.
  • Page 455 RRPP rings in the specified RRPP domain appears. If some port belongs to more than one ring, its packets are taken statistics based on the rings. You will view the statistics of the port under the current ring.
  • Page 456 “-” appears when the port is not configured on the ring or Secondary Port the board to which the port belongs does not start, and in this case, no corresponding statistics appears. The common port field means the node mode is edge node or assistant edge node.
  • Page 457: Display Rrpp Verbose

    Use the display rrpp verbose command to display detailed information about RRPP configuraiton. If you have specified an RRPP ring ID in the command, the detailed information of the specified ring in the specified RRPP domain appears. Otherwise, the detailed information of all the rings in the specified RRPP domain appears.
  • Page 458 RRPP ring state. This field makes sense only when the node mode field is master node. “Complete” appears when the ring is in health state; “Failed” Ring State appears when the ring is in disconnect sate; and “–” appears in all the other cases. Enable Status...
  • Page 459: Domain Ring

    RRPP subring ID list expressed in the format of ring-id-list={ ring-id [ to ring-id ] }&<1-10>, where the ring-id argument is an RRPP subring ID in the range of 1 to 64 and &<1-10> indicates that you can input up to ten RRPP ring ID ranges.
  • Page 460: Protected-Vlan

    You can configure ring groups only on edge nodes or assistant-edge nodes. A subring can be assigned to only one ring group. A device must be of the same type, an edge node or an assistant-edge node, in the subrings in a ring group.
  • Page 461: Reset Rrpp Statistics

    Related commands: rrpp domain, control-vlan, display stp region-configuration in MSTP Configuration Commands in the Access Volume. Examples # Configure VLANs mapped to MSTI 2 and MSTI 3 as the protected VLANs of RRPP domain 1. <Sysname> system-view [Sysname] rrpp domain 1...
  • Page 462: Ring

    Specifies the port as an edge port. Description Use the ring command to configure the node mode of the device and the role of the port accessing the RRPP ring. Use the undo ring command to remove the configuration.
  • Page 463 Related command: control-vlan, protected-vlan, and ring enable. Examples # Specify the device as the master node of primary ring 10 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/0/2 as the secondary port. <Sysname> system-view...
  • Page 464: Ring Enable

    3/0/1 secondary-port gigabitethernet 3/0/2 level 1 # Specify the device as the edge node of primary ring 20 in RRPP domain 1, and GigabitEthernet 3/0/1 as the edge port. <Sysname> system-view [Sysname] rrpp domain 1 [Sysname-rrpp-domain1] control-vlan 100...
  • Page 465: Rrpp Domain

    Use the undo rrpp domain command to remove an RRPP domain. Note that: When you delete an RRPP domain, the control VLAN of it will be deleted at the same time. When you delete an RRPP domain, you must ensure it has no RRPP ring.
  • Page 466: Rrpp Ring-Group

    Use the rrpp ring-group command to create an RRPP ring group and enter ring group view. Use the undo rrpp ring-group command to delete an RRPP ring group. After removing a ring group, all subrings in the ring group do not belong to any ring group.
  • Page 467: Timer

    Use the undo timer command to restore it to the default value. By default, the Hello timer value is 1 second and the Fail timer value is 3 seconds. Note that the Fail timer value must be greater than or equal to three times of the Hello timer value. Examples # Set the Hello timer value to 2 seconds and the Fail timer value to 7 seconds.
  • Page 468 Table of Contents 1 Port Mirroring Configuration Commands ·······························································································1-1 Port Mirroring Configuration Commands ································································································1-1 display mirroring-group····················································································································1-1 mirroring-group ································································································································1-2 mirroring-group mirroring-port ·········································································································1-3 mirroring-group monitor-egress·······································································································1-4 mirroring-group monitor-port ···········································································································1-5 mirroring-group remote-probe vlan··································································································1-6 mirroring-port ···································································································································1-7 monitor-port ·····································································································································1-7 uni mirroring-port ·····························································································································1-8 uni monitor-port ·······························································································································1-9 2 Traffic Mirroring Configuration Commands ···························································································2-1...
  • Page 469: Port Mirroring Configuration Commands

    Specifies remote source port mirroring groups. Description Use the display mirroring-group command to display the information about a port mirroring group or multiple port mirroring groups. The output information varies with port mirroring group type and is organized by mirroring group numbers.
  • Page 470: Mirroring-Group

    Use the keyword remote-destination to create a remote destination port mirroring group. Use the keyword remote-source to create a remote source port mirroring group. You need to specify the port mirroring group type or the mirroring group number when removing a port mirroring group:...
  • Page 471: Mirroring-Group Mirroring-Port

    Port mirroring group number, in the range of 1 to 4. mirroring-port-list: List of ports to be added to the port mirroring group. You can specify multiple ports by providing this argument in the form of { interface-type interface-number [ to interface-type interface-number ] }&<1-8>, where the interface-type argument is port type, the interface-number...
  • Page 472: Mirroring-Group Monitor-Egress

    Examples # Add ports to port mirroring group 1 as source ports (assuming that port mirroring group 1 already exists). <Sysname> system-view [Sysname] mirroring-group 1 mirroring-port Ethernet 2/0/1 to Ethernet 2/0/5 both # Remove source mirroring ports from port mirroring group 1.
  • Page 473: Mirroring-Group Monitor-Port

    A port mirroring group can contain only one destination port. The destination port cannot be a member port of the current mirroring group. The destination mirroring port can be an access, trunk, or hybrid port. It must be assigned to the remote mirroring VLAN.
  • Page 474: Mirroring-Group Remote-Probe Vlan

    VLANs. A port mirroring group can have only one remote mirroring VLAN. To remove a VLAN operating as a remote port mirroring VLAN, you need to restore it to a normal VLAN first. A remote port mirroring group gets invalid if the corresponding remote port mirroring VLAN is removed.
  • Page 475: Mirroring-Port

    Duplicates the outbound packets only. Description Use the mirroring-port command to configure a port as a source mirroring port of a port mirroring group. Use the undo mirroring-port command to remove a source mirroring port from a port mirroring group.
  • Page 476: Uni Mirroring-Port

    Do not use the destination mirroring port for any purpose other than port mirroring. Examples # Add port Ethernet 2/0/1 to port mirroring group 1 (a local port mirroring group) as the destination port. <Sysname> system-view [Sysname] mirroring-group 1 local...
  • Page 477: Uni Monitor-Port

    Parameters uni-number: UNI number, in the range 1 to the number of UNI ports of the current ONU. The number of UNIs can be up to 80. both: Mirrors both inbound and outbound packets on the port. inbound: Mirrors only inbound packets on the port.
  • Page 478: Traffic Mirroring Configuration Commands

    Traffic Mirroring Configuration Commands On the S7900E series switches, traffic mirroring is achieved mainly through QoS policies and remote port mirroring. For QoS policy configuration commands, refer to QoS Commands in the QoS Volume.
  • Page 479 The IP Services Volume is organized as follows: Features Description An IP address is a 32-bit address allocated to a network interface on a device that is attached to the Internet. This document introduces the commands for IP IP Address address configuration.
  • Page 480 Features Description Internet protocol version 6 (IPv6), also called IP next generation (IPng), was designed by the Internet Engineering Task Force (IETF) as the successor to Internet protocol version 4 (IPv4). This document introduces the commands for IPv6 Basics Basic IPv6 functions configuration, IPv6 NDP configuration, PMTU discovery configuration, IPv6 TCP properties configuration, ICMPv6 packet sending configuration,IPv6 DNS Client configuration.
  • Page 481 Table of Contents 1 IP Addressing Configuration Commands ·······························································································1-1 IP Addressing Configuration Commands································································································1-1 display ip interface···························································································································1-1 display ip interface brief···················································································································1-3 ip address ········································································································································1-4...
  • Page 482: Display Ip Interface

    1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. Description Use the display ip interface command to display information about a specified or all Layer 3 interfaces. Examples # Display information about interface VLAN-interface 1.
  • Page 483 The Maximum Transmit Unit Maximum transmission units on an interface Unicast packets, bytes, and multicast packets input packets : 0, bytes : 0, multicasts : 0 received on an interface output packets : 0, bytes : 0, multicasts : 0...
  • Page 484: Display Ip Interface Brief

    Interface type. interface-number: Interface number. Description Use the display ip interface brief command to display brief information about a specified or all layer 3 interfaces. Without the interface type and interface number specified, the information about all layer 3 interfaces is...
  • Page 485 Related commands: display ip interface. Examples # Display brief information about VLAN interfaces. <Sysname> display ip interface brief vlan-interface...
  • Page 486 Use the undo ip address ip-address { mask | mask-length } command to remove the primary IP address. Use the undo ip address ip-address { mask | mask-length } sub command to remove a secondary IP address. By default, no IP address is assigned to any interface.
  • Page 487 3 ARP Attack Defense Configuration Commands·····················································································3-1 ARP Source Suppression Configuration Commands ·············································································3-1 arp source-suppression enable ·······································································································3-1 arp source-suppression limit ···········································································································3-1 display arp source-suppression·······································································································3-2 ARP Defense Against IP Packet Attack Configuration Commands························································3-3 arp resolving-route enable···············································································································3-3 ARP Detection Configuration Commands·······························································································3-3 arp detection enable ························································································································3-3 arp detection trust····························································································································3-4 arp detection validate ······················································································································3-5...
  • Page 488: Arp Configuration Commands

    ARP entry is not allowed; otherwise, the system displays error messages. Use the undo arp check enable command to disable the function. After the ARP entry check is disabled, you can configure such a static ARP entry on the device.
  • Page 489: 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 490: Arp Timer Aging

    Syntax display arp [ [ all | dynamic | static ] [ slot slot-id ] | vlan vlan-id | interface interface-type interface-number ] [ [ verbose ] [ | { begin | exclude | include } regular-expression ] | count ]...
  • Page 491 Displays the ARP entries of the specified slot. vlan vlan-id: Displays the ARP entries of the specified VLAN. The VLAN ID ranges from 1 to 4,094. interface interface-type interface-number: Displays the ARP entries of the interface specified by the argument interface-type interface-number.
  • Page 492: Display Arp Ip-Address

    <Sysname> display arp all count Total Entry(ies): 4 display arp ip-address Syntax display arp ip-address [ slot slot-id ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default Level 1: Monitor level Parameters ip-address: Displays the ARP entry for the specified IP address.
  • Page 493: Display Arp Timer Aging

    2: System level Parameters None Description Use the display arp timer aging command to display the aging time for dynamic ARP entries. Related commands: arp timer aging. Examples # Display the aging time for dynamic ARP entries. <Sysname> display arp timer aging...
  • Page 494: Naturemask-Arp Enable

    |: Uses a regular expression to specify the ARP entries to be displayed. For detailed information about regular expressions, refer to Basic System Configuration in the System Volume. begin: Displays the ARP entries from the first one that contains the specified string.
  • Page 495: Reset Arp

    Clears the ARP entries for the interface specified by the argument interface-type interface-number. Description Use the reset arp command to clear ARP entries except authorized ARP entries from the ARP mapping table. With interface interface-type interface-number or slot slot-id specified, the command clears only dynamic ARP entries of the interface or the slot.
  • Page 496: Gratuitous-Arp-Learning Enable

    Use the gratuitous-arp-sending enable command to enable a device to send gratuitous ARP packets when receiving ARP requests from another network segment. Use the undo gratuitous-arp-sending enable command to restore the default. By default, a device cannot send gratuitous ARP packets when receiving ARP requests from another network segment. Examples # Disable a device from sending gratuitous ARP packets.
  • Page 497: Proxy Arp Configuration Commands

    Any view Default Level 2: System level Parameters interface Vlan-interface vlan-id: Displays the local proxy ARP status of the specified VLAN interface. Description Use the display local-proxy-arp command to display the status of the local proxy ARP. Related commands: local-proxy-arp enable.
  • Page 498: Local-Proxy-Arp Enable

    Use the display proxy-arp command to display the proxy ARP status. Related commands: proxy-arp enable. Examples # Display the status of the proxy ARP status on VLAN-interface 1. <Sysname> display proxy-arp interface vlan-interface 1 Interface Vlan-interface1 Proxy ARP status: disabled...
  • Page 499 Parameters None Description Use the proxy-arp enable command to enable proxy ARP. Use the undo proxy-arp enable command to disable proxy ARP. By default, proxy ARP is disabled. Related commands: display proxy-arp. Examples # Enable proxy ARP on VLAN-interface 2.
  • Page 500: Arp Attack Defense Configuration Commands

    Parameters None Description Use the arp source-suppression enable command to enable the ARP source suppression function. Use the undo arp source-suppression enable command to disable the function. By default, the ARP source suppression function is disabled. Related commands: display arp source-suppression.
  • Page 501: Display Arp Source-Suppression

    Parameters limit-value: Specifies the maximum number of packets with the same source IP address but unresolvable destination IP addresses that the device can receive in five seconds. It ranges from 2 to 1024. Description Use the arp source-suppression limit command to set the maximum number of packets with the same source IP address but unresolvable destination IP addresses that the device can receive in five seconds.
  • Page 502: Arp Defense Against Ip Packet Attack Configuration Commands

    None Description Use the arp resolving-route enable command to enable ARP defense against IP packet attacks. Use the undo arp resolving-route enable command to disable the function. By default, the support for ARP defense against IP packet attacks is enabled.
  • Page 503: Arp Detection Trust

    Use the arp detection trust command to configure the port as an ARP trusted port. Use the undo arp detection trust command to configure the port as an ARP untrusted port. By default, the port is an ARP untrusted port.
  • Page 504: Arp Detection Validate

    IP addresses of ARP replies, and the source IP address of ARP requests will be checked. src-mac: Checks whether the source MAC address of an ARP packet is identical to that in its Ethernet header. If they are identical, the packet is considered valid; otherwise, the packet is discarded.
  • Page 505: Display Arp Detection

    ARP packet rate in pps, in the range 50 to 500. drop: Discards the exceeded packets. Description Use the arp rate-limit command to configure or disable ARP packet rate limit. If a rate is specified, exceeded packets are discarded. Use the undo arp rate-limit command to restore the default.
  • Page 506: Display Arp Detection Statistics

    Displays the ARP detection statistics of a specified interface. Description Use the display arp detection statistics command to display statistics about ARP detection. This command only displays numbers of discarded packets. If no interface is specified, the statistics of all the interfaces will be displayed. Examples # Display the ARP detection statistics of GigabitEthernet2/0/1.
  • Page 507: Reset Arp Detection Statistics

    Clears the ARP detection statistics of a specified interface. Description Use the reset arp detection statistics command to clear ARP detection statistics of a specified interface. If no interface is specified, the statistics of all the interfaces will be cleared.
  • Page 508 ····················································································································1-23 static-bind mac-address ················································································································1-23 tftp-server domain-name ···············································································································1-24 tftp-server ip-address·····················································································································1-25 voice-config ···································································································································1-26 2 DHCP Relay Agent Configuration Commands ·······················································································2-1 DHCP Relay Agent Configuration Commands ·······················································································2-1 dhcp relay address-check················································································································2-1 dhcp relay information circuit-id format-type ···················································································2-2 dhcp relay information circuit-id string·····························································································2-2 dhcp relay information enable ·········································································································2-3...
  • Page 509 ·················································································2-5 dhcp relay information remote-id string ···························································································2-5 dhcp relay information strategy ·······································································································2-6 dhcp relay release ip ·······················································································································2-7 dhcp relay security static ·················································································································2-7 dhcp relay security tracker ··············································································································2-8 dhcp relay server-detect ··················································································································2-9 dhcp relay server-group·················································································································2-10 dhcp relay server-select ················································································································2-10 dhcp select relay····························································································································2-11...
  • Page 510: Dhcp Server Configuration Commands

    Specifies an IP address for the 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 Use the bims-server command to specify the IP address, port number, and shared key of the BIMS server in the DHCP address pool for the client.
  • Page 511: Bootfile-Name

    Examples # Specify the IP address 1.1.1.1, port number 80, shared key aabbcc of the BIMS server in DHCP address pool 0 for the client. <Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] bims-server ip 1.1.1.1 port 80 sharekey aabbcc...
  • Page 512: Dhcp Select Server Global-Pool

    Description Use the dhcp select server global-pool command to enable the DHCP server on specified interface(s). After the interface receives a DHCP request, the DHCP server will allocate an IP address from the address pool. Use the undo dhcp select server global-pool subaddress command to cancel the support for...
  • Page 513: Dhcp Server Detect

    2: System level Parameters None Description Use the dhcp server detect command to enable unauthorized DHCP server detection. Use the undo dhcp server detect command to disable the function. By default, the function is disabled. Examples # Enable unauthorized DHCP server detection.
  • Page 514: Dhcp Server Forbidden

    Global address pool name, which is a unique pool identifier, a string of 1 to 35 characters. Description Use the dhcp server ip-pool command to create a DHCP address pool and enter its view. If the pool was created, you will directly enter its view.
  • Page 515: Dhcp Server Ping Packets

    Default Level 2: System level Parameters number: Number of ping packets, in the range of 0 to 10. 0 means no ping operation. Description Use the dhcp server ping packets command to specify the maximum number of ping packets on the DHCP server.
  • Page 516: Dhcp Server Relay Information Enable

    Default Level 2: System level Parameters milliseconds: Response timeout value for ping packets in milliseconds, in the range of 0 to 10,000. 0 means no ping operation. Description Use the dhcp server ping timeout command to configure response timeout time of the ping packet on the DHCP server.
  • Page 517: Display Dhcp Server Conflict

    Conflicted IP address 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 Default Level 1: Monitor level Parameters...
  • Page 518: 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 519: Display Dhcp Server Forbidden-Ip

    <Sysname> display dhcp server forbidden-ip IP Range from 1.1.1.1 1.1.1.1 IP Range from 2.2.2.2 2.2.2.5 display dhcp server ip-in-use Syntax display dhcp server ip-in-use { all | ip ip-address | pool [ pool-name ] } View Any view Default Level 1: Monitor level 1-10...
  • Page 520: Display Dhcp Server Statistics

    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 521 1: Monitor level Parameters None Description Use the display dhcp server statistics command to display the statistics of the DHCP server. Related commands: reset dhcp server statistics. Examples # Display the statistics on the DHCP server. <Sysname> display dhcp server statistics...
  • Page 522: 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 523: Dns-List

    1 0 0 Pool name: 1 static-bind ip-address 10.10.1.2 mask 255.0.0.0 static-bind mac-address 00e0-00fc-0001 PrevSibling node:0 expired unlimited Table 1-5 display dhcp server tree command output description Field Description Global pool Information of a address pool Pool name Address pool name...
  • Page 524: Domain-Name

    Domain name suffix for DHCP clients, a string of 1 to 50 characters. Description Use the domain-name command to specify a domain name suffix for the DHCP clients in the DHCP address pool. Use the undo domain-name command to remove the specified domain name suffix.
  • Page 525: Expired

    Use the undo expired command to restore the default lease duration in a DHCP 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.
  • Page 526: Nbns-List

    DHCP address pool view Default Level 2: System level Parameters ip-address&<1-8>: WINS server IP address. &<1-8> means you can specify up to eight WINS server addresses separated by spaces. all: Specifies all WINS server addresses to be removed. Description Use the nbns-list command to specify WINS server address(es) in a DHCP address pool.
  • Page 527: Netbios-Type

    WINS server to get the mapping. h-node: Hybrid node, a combination of a p-node first and b-node second. An h-node is a b-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 528: Network

    Use the undo network command to remove the specified address range. No IP address range is specified by default. Note that you can specify only one network segment for each DHCP global address pool. If you use the network command repeatedly, the latest configuration will overwrite the previous one.
  • Page 529: Reset Dhcp Server Conflict

    Parameters code: Self-defined option number, in the range of 2 to 254, excluding 12, 50 to 55, 57 to 61, and 82. ascii ascii-string: Specifies an ASCII string with 1 to 63 characters. hex hex-string&<1-16>: Specifies hex digit strings. &<1-16> indicates that you can specify up to 16 hex digit strings, separated by spaces.
  • Page 530: Reset Dhcp Server Ip-In-Use

    [ 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 531: Static-Bind Client-Identifier

    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 532: 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 ones in the mask, in the range of 0 to mask mask: Specifies the IP address mask, in dotted decimal format.
  • Page 533: Tftp-Server Domain-Name

    The MAC address of a static binding, in the format of H-H-H. Description Use the static-bind mac-address command to statically bind a MAC address to an IP address in a DHCP address pool. Use the undo static-bind mac-address command to remove the statically bound MAC address.
  • Page 534: Tftp-Server Ip-Address

    Description Use the tftp-server domain-name command to specify a TFTP server name in a DHCP address pool. Use the undo tftp-server domain-name command to remove the TFTP server name from a DHCP address pool. By default, no TFTP server name is specified.
  • Page 535: Voice-Config

    Specifies IP address for the primary network calling processor. voice-vlan vlan-id: Specifies the voice VLAN ID, in the range of 2 to 4094. disable: Disables the specified voice VLAN ID, meaning DHCP clients will not take this ID as their voice VLAN.
  • Page 536: Dhcp Relay Agent Configuration Commands

    Enables IP address match check on the relay agent. Description Use the dhcp relay address-check enable command to enable IP address match check on the relay agent. Use the dhcp relay address-check disable command to disable IP address match check on the relay agent.
  • Page 537: Dhcp Relay Information Circuit-Id Format-Type

    ID sub-option. Use the undo dhcp relay information circuit-id format-type command to restore the default. By default, the code type for the circuit ID sub-option depends on the specified padding format of Option 82. Each field has its own code type.
  • Page 538: Dhcp Relay Information Enable

    ID sub-option. Use the undo dhcp relay information circuit-id string command to restore the default. By default, the padding content for the circuit ID sub-option depends on the padding format of Option Note that: After you configure the padding content for the circuit ID sub-option using this command, ASCII is adopted as the code type.
  • Page 539: Dhcp Relay Information Format

    If configuring the handling strategy of the DHCP relay agent as replace, you need to configure a padding format of Option 82. If the handling strategy is keep or drop, you need not configure any padding format.
  • Page 540: Dhcp Relay Information Remote-Id Format-Type

    Specifies the code type for the remote ID sub-option as hex. Description Use the dhcp relay information remote-id format-type command to configure the code type for the non-user-defined remote ID sub-option. Use the undo dhcp relay information remote-id format-type command to restore the default.
  • Page 541: Dhcp Relay Information Strategy

    If you want to specify the character string sysname (a case-insensitive character string) as the padding content for the remote ID sub-option, you need to use quotation marks to make it take effect. For example, if you want to specify Sysname as the padding content for the remote ID sub-option, you need to enter the dhcp relay information remote-id string “Sysname”...
  • Page 542: Dhcp Relay Release Ip

    2: System level Parameters client-ip: DHCP client IP address. Description Use the dhcp relay release ip command to request the DHCP server to release a specified client IP address. Examples # Request the DHCP server to release the IP address 1.1.1.1.
  • Page 543: Dhcp Relay Security Tracker

    No manual client entry 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 client entry, make sure that the interface is configured as a DHCP relay agent; otherwise, entry conflicts may occur.
  • Page 544: Dhcp Relay Server-Detect

    Refreshing interval in seconds, in the range of 1 to 120. auto: Specifies the auto refreshing interval, which is the value of 60 seconds divided by the number of binding entries. Thus, the more entries are, the shorter interval is, but the shortest interval is no less than 500 ms.
  • Page 545: Dhcp Relay Server-Group

    Use the dhcp relay server-group command to specify a DHCP server for a DHCP server group. Use the undo dhcp relay server-group command to remove a DHCP server 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.
  • Page 546: Dhcp Select Relay

    By default, no DHCP server group is correlated with an interface on the relay agent. Note that an interface on the relay agent can only be correlated to one DHCP server group, and a newly configured correlation overwrites the previous one. If the server group in the new correlation does not exist, the new configuration will not work.
  • Page 547: Display Dhcp Relay

    Displays information of the DHCP server group that a specified interface corresponds to. Description Use the display dhcp relay command to display information about DHCP server groups correlated to an interface or all interfaces. Examples # Display information about DHCP server groups correlated to all interfaces.
  • Page 548: Display Dhcp Relay Security

    Displays the Option 82 configuration information of a specified interface. Description Use the display dhcp relay information command to display Option 82 configuration information on the DHCP relay agent. Examples # Display the Option 82 configuration information of all interfaces.
  • Page 549: Display Dhcp Relay Security Statistics

    Description Use the display dhcp relay security command to display information about bindings of DHCP relay agents. If no parameter is specified, information about all bindings will be displayed. Examples # Display information about all bindings. <Sysname> display dhcp relay security...
  • Page 550: Display Dhcp Relay Security Tracker

    1: Monitor level Parameters None Description Use the display dhcp relay security tracker command to display the interval for refreshing dynamic bindings on the relay agent. Examples # Display the interval for refreshing dynamic bindings on the relay agent. <Sysname> display dhcp relay security tracker Current tracker interval : 10s The interval is 10 seconds.
  • Page 551: Display Dhcp Relay Statistics

    Default Level 1: Monitor level Parameters 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 552 DHCPOFFER packets sent: DHCPACK packets sent: DHCPNAK packets sent: BOOTPREPLY packets sent: # 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 553: Reset Dhcp Relay Statistics

    Default Level 1: Monitor level Parameters 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 554: Dhcp Client Configuration Commands

    DHCP server cannot be the Windows 2000 Server or Windows 2003 Server. You are not recommended to enable both the DHCP client and the DHCP snooping on the same switch. Otherwise, DHCP snooping entries may fail to be generated, or the DHCP client may fail to obtain an IP address.
  • Page 555 1.1.1.1 Client ID: 3030-3066-2e65-3234- 392e-3830-3438-2d56- 6c61-6e2d-696e-7465- 7266-6163-6531 T1 will timeout in 1 day 11 hours 58 minutes 52 seconds. Table 3-1 display dhcp client command output description Field Description Vlan-interface1 DHCP client Information of the interface acting as the DHCP client...
  • Page 556: Ip Address Dhcp-Alloc

    DHCP, if the interface of the client is down, the message cannot be sent. For a sub interface that obtained an IP address via DHCP, using the shutdown command on its primary interface does not make the DHCP client send a DHCP-RELEASE message for releasing the sub interface’s IP address.
  • Page 557: Dhcp Snooping Configuration Commands

    The DHCP snooping enabled switch 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 558: Dhcp-Snooping Information Circuit-Id Format-Type

    ID sub-option. Use the undo dhcp-snooping information circuit-id format-type command to restore the default. By default, the code type for the circuit ID sub-option depends on the padding format of Option 82. Each field has its own code type.
  • Page 559: Dhcp-Snooping Information Enable

    After you configure the padding content for the circuit ID sub-option using this command, ASCII is adopted as the code type. If a VLAN is specified, the configured circuit ID sub-option only takes effect within the VLAN; if no VLAN is specified, the configured circuit ID sub-option takes effect in all VLANs. The former case has a higher priority;...
  • Page 560: Dhcp-Snooping Information Format

    By default, the padding format for Option 82 is normal. Note that when you use the undo dhcp-snooping information format command, if the verbose node-identifier argument is not specified, the padding format will be restored to normal; if the verbose...
  • Page 561: Dhcp-Snooping Information Remote-Id Format-Type

    MAC address as the node identifier. Examples # Specify the padding format as verbose for Option 82. <Sysname> system-view [Sysname] interface gigabitethernet2/0/1 [Sysname-GigabitEthernet2/0/1] dhcp-snooping information enable [Sysname-GigabitEthernet2/0/1] dhcp-snooping information strategy replace...
  • Page 562: Dhcp-Snooping Information Remote-Id String

    If a VLAN is specified, the configured remote ID sub-option only takes effect within the VLAN; if no VLAN is specified, the configured remote ID sub-option takes effect in all VLANs. The former case has a higher priority; that is, the remote ID sub-option configured for a VLAN will be padded for the packets within the VLAN.
  • Page 563: Dhcp-Snooping Information Strategy

    Drops the requesting message containing Option 82. keep: Forwards the requesting message containing Option 82 without changing Option 82. replace: Forwards the requesting message containing Option 82 after replacing the original Option 82 with the one padded in specified format.
  • Page 564: Display Dhcp-Snooping

    Use the undo dhcp-snooping trust command to restore the default state of a port. All ports are untrusted by default. Related commands: display dhcp-snooping trust. Examples # Specify GigabitEthernet 2/0/1 as a trusted port and enable it to record the IP-to-MAC bindings of clients. <Sysname> system-view [Sysname] interface gigabitethernet 2/0/1...
  • Page 565: Display Dhcp-Snooping Information

    Displays the Option 82 configuration information of a specified interface. Description Use the display dhcp-snooping information command to display Option 82 configuration information on the DHCP snooping device. Examples # Display the Option 82 configuration information of all interfaces.
  • Page 566: Display Dhcp-Snooping Packet Statistics

    Any view Default Level 1: Monitor level Parameters slot slot-number: Displays the DHCP packet statistics of the board in a specified slot. Description Use the display dhcp-snooping packet statistics command to display DHCP packet statistics on the DHCP snooping device.
  • Page 567: Display Dhcp-Snooping Trust

    Interface Trusted ========================= ============ GigabitEthernet2/0/1 Trusted The above output shows that DHCP snooping is enabled, DHCP snooping trust is active, and port GigabitEthernet 2/0/1 is trusted. reset dhcp-snooping Syntax reset dhcp-snooping { all | ip ip-address } View User view...
  • Page 568: Reset Dhcp-Snooping Packet Statistics

    Description Use the reset dhcp-snooping command to clear DHCP snooping binding information. For the S7900E series Ethernet switches, DHCP snooping binding information on all slots will be cleared after you execute this command. Examples # Clear all DHCP binding information.
  • Page 569 Table of Contents 1 DNS Configuration Commands················································································································1-1 DNS Configuration Commands···············································································································1-1 display dns domain··························································································································1-1 display dns dynamic-host ················································································································1-2 display dns proxy table ····················································································································1-3 display dns server····························································································································1-3 display ip host··································································································································1-4 dns domain ······································································································································1-5 dns proxy enable ·····························································································································1-6 dns resolve ······································································································································1-6 dns server········································································································································1-7 ip host ··············································································································································1-7...
  • Page 570: Dns Configuration Commands

    DNS Configuration Commands This document only covers IPv4 DNS configuration commands. For introduction to IPv6 DNS configuration commands, refer to IPv6 Basics Commands in the IP Services Volume. DNS Configuration Commands display dns domain Syntax display dns domain [ dynamic ]...
  • Page 571: Display Dns Dynamic-Host

    Default Level 1: Monitor level Parameters None Description Use the display dns dynamic-host command to display the information of the dynamic domain name resolution cache. Examples # Display the information of the dynamic domain name resolution cache. <Sysname> display dns dynamic-host No.
  • Page 572: Display Dns Proxy Table

    A domain name in the display dns dynamic-host command contains 21 characters at most. If a domain name consists of more than 21 characters, only the first 21 characters are displayed. display dns proxy table Syntax display dns proxy table...
  • Page 573: Display Ip Host

    View Any view Default Level 1: Monitor level Parameters dynamic: Displays the DNS server information dynamically obtained through DHCP or other protocols Description Use the display dns server command to display the DNS server information. Related commands: dns server. Examples # Display the DNS server information.
  • Page 574: Dns Domain

    Description Use the display ip host command to display the host names and corresponding IP addresses in the static domain name resolution table. Examples # Display the host names and corresponding IP addresses in the static domain name resolution table.
  • Page 575: Dns Proxy Enable

    No domain name suffix is configured by default, that is, only the provided domain name is resolved. You can configure a maximum of 10 domain name suffixes. Related commands: display dns domain. Examples # Configure com as a DNS suffix.
  • Page 576: Dns Server

    Use the dns server command to specify a DNS server. Use the undo dns server to remove DNS server(s). No DNS server is specified by default. You can configure a maximum of six DNS servers, including those with IPv6 addresses. Related commands: display dns server. Examples # Specify the DNS server 172.16.1.1.
  • Page 577: Reset Dns Dynamic-Host

    IP address of the specified host in dotted decimal notation. Description Use the ip host command to create a host name to IP address mapping in the static resolution table. Use the undo ip host command to remove a mapping.
  • Page 578 Table of Contents 1 IP Performance Configuration Commands·····························································································1-1 IP Performance Configuration Commands ·····························································································1-1 display fib·········································································································································1-1 display fib ip-address·······················································································································1-3 display fib statistics··························································································································1-4 display icmp statistics ······················································································································1-4 display ip socket ······························································································································1-6 display ip statistics···························································································································1-9 display tcp statistics·······················································································································1-10 display tcp status ···························································································································1-13 display udp statistics······················································································································1-14 ip forward-broadcast (interface view) ····························································································1-15...
  • Page 579: Ip Performance Configuration Commands

    |: Uses a regular expression to match FIB entries. For detailed information about regular expression, refer to CLI display in Basic System Configuration in the System Volume. begin: Displays a specific FIB entry and all the FIB entries following it. The specific FIB entry is the first entry that matches the specified regular expression.
  • Page 580 Interface Token 10.2.0.0/16 0.0.0.0 t[1150900568] Vlan1 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...
  • Page 581: Display Fib Ip-Address

    10.2.0.0/16 0.0.0.0 t[1150900568] Vlan1 invalid display fib ip-address Syntax display fib ip-address1 [ { mask1 | mask-length1 } [ ip-address2 { mask2 | mask-length2 } | longer ] | longer ] View Any view Default Level 1: Monitor level Parameters ip-address1, ip-address2: Destination IP address, in dotted decimal notation.
  • Page 582: Display Fib Statistics

    Examples # Display the FIB entries that match the natural network of 10.1.0.0 and have the masks longer than or equal to the natural mask. <Sysname> display fib 10.1.0.0 longer Route Entry Count: 2 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic...
  • Page 583 Displays the ICMP statistics on a slot. Description Use the display icmp statistics command to display ICMP statistics. Related commands: display ip interface (in IP Addressing Commands of the IP Services Volume), reset ip statistics. Examples # Display ICMP statistics.
  • Page 584: Display Ip Socket

    1: Monitor level Parameters socktype sock-type: 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 585 Task = VTYD(38), socketid = 4, Proto = 6, LA = 192.168.1.40:23, FA = 192.168.1.52:1917, sndbuf = 8192, rcvbuf = 8192, sb_cc = 237, rb_cc = 0, socket option = SO_KEEPALIVE SO_OOBINLINE SO_REUSEPORT SO_SENDVPNID(0) SO_SETKEEPALIVE, socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC Task = VTYD(38), socketid = 3, Proto = 6, LA = 192.168.1.40:23, FA = 192.168.1.84:1503,...
  • Page 586 SOCK_RAW: Task = ROUT(69), socketid = 8, Proto = 89, LA = 0.0.0.0, FA = 0.0.0.0, sndbuf = 262144, rcvbuf = 262144, sb_cc = 0, rb_cc = 0, socket option = SO_SENDVPNID(0) SO_RCVVPNID(0), socket state = SS_PRIV SS_ASYNC Task = ROUT(69), socketid = 3, Proto = 2, LA = 0.0.0.0, FA = 0.0.0.0,...
  • Page 587: Display Ip Statistics

    Displays statistics of IP packets on the slot. Description Use the display ip statistics command to display statistics of IP packets. Related commands: display ip interface (in IP Addressing Commands of the IP Services Volume), reset ip statistics. Examples # Display statistics of IP packets.
  • Page 588: Display Tcp Statistics

    View Any view Default Level 1: Monitor level Parameters None Description Use the display tcp statistics command to display statistics of TCP traffic. Related commands: display tcp status, reset tcp statistics. Examples # Display statistics of TCP traffic. 1-10...
  • Page 589 0, window update packets: 0 checksum error: 0, offset error: 0, short error: 0 duplicate packets: 1 (8 bytes), partially duplicate packets: 0 (0 bytes) out-of-order packets: 17 (0 bytes) packets of data after window: 0 (0 bytes)
  • Page 590 Total Total number of packets sent urgent packets Number of urgent packets sent control packets Number of control packets sent Number of window probe packets sent; in the brackets window probe packets are resent packets Sent packets: window update packets...
  • Page 591: Display Tcp Status

    Default Level 1: Monitor level Parameters None Description Use the display tcp status command to display status of all TCP connections for monitoring TCP connections. Examples # Display status of all TCP connections. <Sysname> display tcp status *: TCP MD5 Connection...
  • Page 592: Display Udp Statistics

    Any view Default Level 1: Monitor level Parameters None Description Use the display udp statistics command to display statistics of UDP packets. Related commands: reset udp statistics. Examples # Display statistics of UDP packets. <Sysname> display udp statistics Received packets:...
  • Page 593: Ip Forward-Broadcast (Interface View)

    2: System level Parameters 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 594: Ip Forward-Broadcast (System View)

    Parameters None Description Use the ip forward-broadcast command to enable the device to receive directed broadcasts. Use the undo ip forward-broadcast command to disable the device from receiving directed broadcasts. By default, the device is disabled from receiving directed broadcasts.
  • Page 595: Ip Ttl-Expires Enable

    Use the undo ip ttl-expires command to disable sending ICMP timeout packets. Sending ICMP timeout packets is disabled by default. If the feature is disabled, the device will not send TTL timeout ICMP packets, but still send “reassembly timeout” ICMP packets.
  • Page 596: Reset Ip Statistics

    Parameters None Description Use the ip unreachables enable command to enable the sending of ICMP destination unreachable packets. Use the undo ip unreachables command to disable sending ICMP destination unreachable packets. Sending ICMP destination unreachable packets is disabled by default.
  • Page 597: Tcp Timer Fin-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 commands: tcp timer syn-timeout, tcp window.
  • Page 598: Tcp Timer Syn-Timeout

    Length of the TCP finwait timer in seconds, ranging from 2 to 600. Description Use the tcp timer syn-timeout command to configure the length of the TCP synwait timer. Use the undo tcp timer syn-timeout command to restore the default.
  • Page 599 Related commands: tcp timer fin-timeout, tcp timer syn-timeout. Examples # Configure the receiving/sending buffer of TCP connection as 3 KB. <Sysname> system-view [Sysname] tcp window 3 1-21...
  • Page 600 Table of Contents 1 UDP Helper Configuration Commands····································································································1-1 UDP Helper Configuration Commands ···································································································1-1 display udp-helper server ················································································································1-1 reset udp-helper packet···················································································································1-1 udp-helper enable····························································································································1-2 udp-helper port ································································································································1-2 udp-helper server ····························································································································1-3...
  • Page 601: Udp Helper Configuration Commands

    Displays information of forwarded UDP packets on the specified interface. Description Use the display udp-helper server command to display the information of forwarded UDP packets on the specified interface or all interfaces. If interface-type interface-number is not specified, this command displays the information of forwarded UDP packets on all interfaces.
  • Page 602: Udp-Helper Enable

    Use the undo udp-helper enable command to disable UDP Helper. By default, UDP Helper is disabled. Examples # Enable UDP Helper <Sysname> system-view [Sysname] udp-helper enable udp-helper port Syntax udp-helper port { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time }...
  • Page 603: Udp-Helper Server

    { port-number | dns | netbios-ds | netbios-ns | tacacs | tftp | time } View System view Default Level 2: System level Parameters port-number: UDP port number with which packets need to be forwarded, in the range of 1 to 65535 (except 67 and 68).
  • Page 604 No destination server is configured by default. Currently, you can configure up to 20 destination servers on an interface. Note that you will remove all the destination servers on an interface if you carry out the undo udp-helper server command without the ip-address argument.
  • Page 605 Table of Contents 1 URPF Configuration Commands··············································································································1-1 URPF Configuration Commands ············································································································1-1 ip urpf strict ······································································································································1-1...
  • Page 606 Use the undo ip urpf command to disable URPF check. By default, URPF check is disabled. After URPF is enabled on an S7900E switch, the routing table capacity on a board may decrease to a half. For details, refer to the section of configuring URPF in the operation manual.
  • Page 607 Table of Contents 1 IPv6 Basics Configuration Commands ···································································································1-1 IPv6 Basics Configuration Commands ···································································································1-1 display dns ipv6 dynamic-host ········································································································1-1 display dns ipv6 server ····················································································································1-2 display ipv6 fib ·································································································································1-3 display ipv6 host ······························································································································1-4 display ipv6 interface ·······················································································································1-5 display ipv6 neighbors ·····················································································································1-8 display ipv6 neighbors count ·········································································································1-10...
  • Page 608 ··················································································································1-38 reset udp ipv6 statistics ·················································································································1-38 tcp ipv6 timer fin-timeout ···············································································································1-39 tcp ipv6 timer syn-timeout ·············································································································1-39 tcp ipv6 window ·····························································································································1-40...
  • Page 609: Ipv6 Basics Configuration Commands

    Any view Default Level 1: Monitor level Parameters None Description Use the display dns ipv6 dynamic-host command to display IPv6 dynamic domain name information. Examples # Display IPv6 dynamic domain name information. <Sysname> display dns ipv6 dynamic-host No Host IPv6 Address...
  • Page 610: Display Dns Ipv6 Server

    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. display dns ipv6 server Syntax...
  • Page 611: Display Ipv6 Fib

    Displays the IPv6 forwarding information base (FIB) entries of a slot. ipv6-address: Displays the IPv6 FIB entries for an IPv6 address. Description Use the display ipv6 fib command to display IPv6 FIB entries. If no argument is specified, all IPv6 FIB entries will be displayed. Examples # Display all IPv6 FIB entries.
  • Page 612: Display Ipv6 Host

    Use the display ipv6 host command to display the mappings between host names and IPv6 addresses in the static domain name resolution table. Examples # Display the mappings between host names and IPv6 addresses in the static domain name resolution table. <Sysname> display ipv6 host...
  • Page 613: Display Ipv6 Interface

    Displays the detailed IPv6 information of an interface. Description Use the display ipv6 interface command to display the IPv6 information of an interface for which an IPv6 address can be configured. If interface-type interface-number is not specified, the IPv6 information of all interfaces for which IPv6 addresses can be configured is displayed;...
  • Page 614 OutFragCreates: InMcastPkts: InMcastNotMembers: OutMcastPkts: InAddrErrors: InDiscards: OutDiscards: Table 1-5 display ipv6 interface verbose command output description (on a switch) Field Description Vlan-interface2 current state Physical state of the interface Line protocol current state Link layer protocol state of the interface...
  • Page 615 All IPv6 packets received by the interface, including all InReceives types of error packets. Received IPv6 packets that are too short, with a length less InTooShorts than 40 bytes, for example. Received IPv6 packets with a length less than that specified...
  • Page 616: Display Ipv6 Neighbors

    Syntax display ipv6 neighbors { { ipv6-address | all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } [ | { begin | exclude | include } regular-expression ]...
  • Page 617 Displays information of the neighbors of a specified interface. vlan vlan-id: Displays information of the neighbors of a specified VLAN whose ID ranges from 1 to 4094. |: Uses a regular expression to match neighbor entries. For detailed information about regular expression, refer to CLI display in Basic System Configuration in the System Volume.
  • Page 618: Display Ipv6 Neighbors Count

    “#” is displayed (for a neighbor acquired dynamically). display ipv6 neighbors count Syntax display ipv6 neighbors { { all | dynamic | static } [ slot slot-number ] | interface interface-type interface-number | vlan vlan-id } count View Any view...
  • Page 619: Display Ipv6 Pathmtu

    Time for a PMTU to live. For a static PMTU, a hyphen “-“ is displayed. Indicates that the PMTU is dynamically negotiated or statically Type configured. display ipv6 socket Syntax display ipv6 socket [ socktype socket-type ] [ task-id socket-id ] [ slot slot-number ] 1-11...
  • Page 620 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 100.
  • Page 621: Display Ipv6 Statistics

    Displays statistics of IPv6 packets and ICMPv6 packets on the slot. Description Use the display ipv6 statistics command to display statistics of IPv6 packets and ICMPv6 packets. Examples # Display the statistics of IPv6 packets and ICMPv6 packets.
  • Page 622 <Sysname> display ipv6 statistics IPv6 Protocol: Sent packets: Total: Local sent out: forwarded: raw packets: discarded: routing failed: fragments: fragments failed: Received packets: Total: local host: hopcount exceeded: format error: option error: protocol error: fragments: reassembled: reassembly failed: reassembly timeout: 0...
  • Page 623 Table 1-10 display ipv6 statistics command output description Field Description IPv6 Protocol: Statistics of IPv6 packets Statistics of sent IPv6 packets, including: Sent packets: Total number of sent packets Number of packets sent locally Total: Number of forwarded packets Local sent out:...
  • Page 624: Display Tcp Ipv6 Statistics

    Any view Default Level 1: Monitor level Parameters None Description Use the display tcp ipv6 statistics command to display IPv6 TCP connection statistics. Examples # Display the statistics of IPv6 TCP connections. <Sysname> display tcp ipv6 statistics Received packets: Total: 0...
  • Page 625 ACK only packets: 0 (0 delayed) Retransmitted timeout: 0, connections dropped in retransmitted timeout: 0 Keepalive timeout: 0, keepalive probe: 0, Keepalive timeout, so connections disconnected : Initiated connections: 0, accepted connections: 0, established connections: 0 Closed connections: 0 (dropped: 0, initiated dropped: 0)
  • Page 626: Display Tcp Ipv6 Status

    (before SYN is received from the peer) display tcp ipv6 status Syntax display tcp ipv6 status View Any view Default Level 1: Monitor level Parameters None Description Use the display tcp ipv6 command to display the IPv6 TCP connection status. 1-18...
  • Page 627: Display Udp Ipv6 Statistics

    Default Level 1: Monitor level Parameters None Description Use the display udp ipv6 statistics command to display the statistics of IPv6 UDP packets. Examples # Display the statistics information of IPv6 UDP packets. <Sysname> display udp ipv6 statistics Received packets:...
  • Page 628: Dns Server Ipv

    [ interface-type interface-number ] View System view Default Level 2: System level Parameters ipv6-address: IPv6 address of a DNS server. interface-type interface-number: Specifies an interface. When the IPv6 address of the DNS server is a link-local address, this argument must be specified. 1-20...
  • Page 629: Ipv6

    Description Use the dns server ipv6 command to specify a DNS server. Use the undo dns server ipv6 command to remove the specified DNS server. By default, no DNS server is configured. Examples # Specify a DNS server at 2002::1.
  • Page 630: Ipv6 Address Auto Link-Local

    By default, no site-local address or global unicast address is configured for an interface. Note that except the link-local address automatically configured, all IPv6 addresses will be removed from the interface if you carry out the undo ipv6 address command without any parameter specified. Examples # Set the aggregatable global IPv6 unicast address of VLAN-interface 100 to 2001::1/64.
  • Page 631: Ipv6 Address Eui-64

    EUI-64 format for the interface. By default, no site-local or global unicast address in the EUI-64 format is configured for an interface. Note that you cannot specify the prefix length of an IPv6 address in the EUI-64 format to be greater than Examples # Configure an IPv6 address in the EUI-64 format for VLAN-interface 100.
  • Page 632: Ipv6 Hoplimit-Expires Enable

    Default Level 2: System level Parameters ipv6-address: IPv6 link-local address. The first 10 bits of an address must be 1111111010 (binary), that is, the first group of hexadecimals in the address must be FE80 to FEBF. Description Use the ipv6 address link-local command to configure a link-local address for the interface.
  • Page 633: Ipv6 Host

    Number of tokens in the 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 634: Ipv6 Icmpv6 Multicast-Echo-Reply Enable

    Use the ipv6 icmp-error command to configure the size and update period of the token bucket. Use the undo ipv6 icmp-error command to restore the defaults. By default, the size is 10 and the update period is 100 milliseconds. That is, at most 10 ICMPv6 error packets can be sent within 100 milliseconds.
  • Page 635: Ipv6 Nd Autoconfig Other-Flag

    (for example, from a DHCP server). Use the undo ipv6 nd autoconfig managed-address-flag command to restore the default. By default, the M flag is set to 0 so that the host can acquire an IPv6 address through stateless autoconfiguration.
  • Page 636: Ipv6 Nd Dad Attempts

    Default Level 2: System level Parameters 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, DAD is disabled. Description Use the ipv6 nd dad attempts command to configure the number of attempts to send an NS message for DAD.
  • Page 637: Ipv6 Nd Ns Retrans-Timer

    Parameters value: Number of hops, in the range of 0 to 255. When it is set to 0, the Hop Limit field in RA messages sent by the device is 0. That is, the number of hops is determined by the requesting device itself.
  • Page 638: Ipv6 Nd Nud Reachable-Time

    Use the undo ipv6 nd nud reachable-time command to restore the default neighbor reachable time and to specify the value of the Reachable Timer field in RA messages as 0, so that the number of hops is determined by the requesting device itself.
  • Page 639: Ipv6 Nd Ra Interval

    Minimum interval for advertising RA messages in seconds, in the range of 3 to 1,350. Description Use the ipv6 nd ra interval command to set the maximum and minimum intervals for advertising RA messages. The device advertises RA messages at intervals of a random value between the maximum interval and the minimum interval.
  • Page 640: Ipv6 Nd Ra Prefix

    Specifies the address with the prefix not to be directly reachable on the link. If this keyword is not provided, the address with the prefix is directly reachable on the link.
  • Page 641: Ipv6 Neighbor

    Default Level 2: System level Parameters value: 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 ipv6 nd ra router-lifetime command to configure the router lifetime in RA messages.
  • Page 642: Ipv6 Neighbors Max-Learning-Num

    Use the undo ipv6 neighbor command to remove a static neighbor entry. You can use a Layer 3 VLAN interface or a Layer 2 port in the VLAN to configure a static neighbor entry. If the first method is used, the neighbor entry is in the INCMP state. After the device obtains the corresponding Layer 2 port information through resolution, the neighbor entry will go into the REACH state.
  • Page 643: Ipv6 Pathmtu

    2: System level Parameters ipv6-address: IPv6 address. value: PMTU of a specified IPv6 address in bytes, in the range of 1280 to 10000. Description Use the ipv6 pathmtu command to configure a static PMTU for a specified IPv6 address. Use the undo ipv6 pathmtu command to remove the PMTU configuration for a specified IPv6 address.
  • Page 644: Reset Dns Ipv6 Dynamic-Host

    Examples # Clear IPv6 dynamic domain name cache information. <Sysname> reset dns ipv6 dynamic-host reset ipv6 neighbors Syntax reset ipv6 neighbors { all | dynamic | interface interface-type interface-number | slot slot-number | static } View User view Default Level...
  • Page 645: Reset Ipv6 Pathmtu

    Clears all PMTUs. static: Clears all static PMTUs. dynamic: Clears all dynamic PMTUs. Description Use the reset ipv6 pathmtu the command to clear the PMTU information. Examples # Clear all PMTUs. <Sysname> reset ipv6 pathmtu all reset ipv6 statistics...
  • Page 646: Reset Tcp Ipv6 Statistics

    Clears the statistics of IPv6 packets and ICMPv6 packets on the slot. Description Use the reset ipv6 statistics command to clear the statistics of IPv6 packets and ICMPv6 packets. Examples # Clear the statistics of IPv6 packets and ICMPv6 packets.
  • Page 647: Tcp Ipv6 Timer Fin-Timeout

    2: System level Parameters wait-time: Length of the finwait timer for IPv6 TCP connections in seconds, in the range of 76 to 3,600. Description Use the tcp ipv6 timer fin-timeout command to set the finwait timer for IPv6 TCP connections.
  • Page 648: Tcp Ipv6 Window

    Parameters wait-time: Length of the synwait timer for IPv6 TCP connections in seconds, in the range of 2 to 600. Description Use the tcp ipv6 timer syn-timeout command to set the synwait timer for IPv6 TCP connections Use the undo tcp ipv6 timer syn-timeout command to restore the default.
  • Page 649 Table of Contents 1 Tunneling Configuration Commands ······································································································1-1 Tunnel Configuration Commands ···········································································································1-1 destination ·······································································································································1-1 display interface tunnel····················································································································1-2 display ipv6 interface tunnel ············································································································1-3 interface tunnel ································································································································1-7 service-loopback-group ···················································································································1-8 source ··············································································································································1-9 tunnel-protocol·································································································································1-9...
  • Page 650: Tunneling Configuration Commands

    Tunneling Configuration Commands The tunnel interface number is in the A/B/C format, where A, B, and C represent the slot number of a card, the slot number of a sub-card, and the tunnel interface number, respectively. The value ranges of A and B vary with devices, and that of C is from 0 to 1023.
  • Page 651: Display Interface Tunnel

    Examples # Set the interface VLAN-interface 100 (193.101.1.1) of Sysname 1 and the interface VLAN-interface 100 (192.100.1.1) of Sysname 2 as the source and destination interfaces of a tunnel between the two devices, respectively. <Sysname1> system-view [Sysname1] interface tunnel 2/0/0 [Sysname1-Tunnel2/0/0] source 193.101.1.1...
  • Page 652: Destination

    Output queue : (FIFO queuing : Packet statistics of the FIFO queue Size/Length/Discards) Number of bytes and packets input per second in the last Last 300 seconds input five minutes. Number of bytes and packets output per second in the last Last 300 seconds output five minutes.
  • Page 653 Displays the detailed configuration and IPv6 packet statistics of the specified tunnel interface. Description Use the display ipv6 interface tunnel command to display the configuration and IPv6 packet statistics of a tunnel interface or all tunnel interfaces. Note that: If no tunnel interface is specified, information about all tunnel interfaces is displayed.
  • Page 654 All IPv6 packets received on the tunnel interface, including InReceives error packets. IPv6 packets that are too short in length received on the tunnel interface, such as a packet with a length less than 40 InTooShorts bytes. IPv6 packets received on the tunnel interface, with a length InTruncatedPkts less than that specified in the packet header.
  • Page 655 IPv6 packets received but then discarded on the interface InDiscards due to resource problems rather than packet content errors IPv6 packets sent on the interface but then discarded due to OutDiscards resource problems rather than packet content errors # Display the summary IPv6 information of the interface tunnel 2/0/0.
  • Page 656: Interface Tunnel

    C represent the slot number of a card, the slot number of a sub-card, and the tunnel interface number, respectively. The value ranges of A and B vary with devices, and that of C is from 0 to 1023. Description Use the interface tunnel command to create a tunnel interface and enter tunnel interface view.
  • Page 657: Service-Loopback-Group

    By default, no service loopback group is referenced on a tunnel interface. The service loopback group to be referenced must have been configured and have the service type set to tunnel in system view. One tunnel interface can reference only one service loopback group.
  • Page 658: Source

    Description Use the source command to specify the source address or interface of the tunnel interface. Use the undo source command to remove the configured source address or interface of the tunnel interface. By default, no source address or interface is specified for the tunnel interface.
  • Page 659 Note that: A proper tunnel mode can be selected for packet encapsulation according to the network topology and application. The same tunnel mode must be configured at both ends of the tunnel. Otherwise, packet delivery will fail. Only one automatic tunnel can be configured at the same tunnel source.
  • Page 660 Table of Contents 1 sFlow Configuration Commands ·············································································································1-1 sFlow Configuration Commands·············································································································1-1 display sflow ····································································································································1-1 sflow agent ip···································································································································1-2 sflow collector ip ······························································································································1-3 sflow enable·····································································································································1-3 sflow interval····································································································································1-4 sflow sampling-mode·······················································································································1-5 sflow sampling-rate··························································································································1-5...
  • Page 661: Sflow Configuration Commands

    1: Monitor level Parameters slot slot-number: Displays the sFlow configuration information on a slot. Description Use the display sflow command to display the sFlow configuration information. Examples # Display the sFlow configuration information of Slot 2. <Sysname> display sflow slot 2...
  • Page 662: Sflow Agent Ip

    The sFlow agent and sFlow collector must not have the same IP address. Currently, a device supports only one sFlow agent. sFlow does not work if the sFlow agent has no IP address configured, or when you execute the undo sflow agent ip command.
  • Page 663: Sflow Collector Ip

    Parameters ip-address: IP address of the sFlow collector. port portnum: Port number of the sFlow Collector, which is in the range 1 to 65535 and defaults to 6343. Description Use the sflow collector ip command to specify the IP address and port number of an sFlow collector.
  • Page 664: Sflow Interval

    Use the undo sflow enable command to disable sFlow in the inbound or outbound direction on the port. sFlow is disabled by default. If you want to enable sFlow on an aggregation group, you need to enable sFlow on each member port. Examples # Enable sFlow in the outbound direction on GigabitEthernet 2/0/1.
  • Page 665: Sflow Sampling-Mode

    Use the undo sflow sampling-mode command to restore the default. By default, the packet sampling mode is random. Note that this command should be used after sFlow is enabled on the current port. Currently, the determine mode is not supported on S7900E series Ethernet switches.
  • Page 666 Use the undo sflow sampling-rate command to restore the default. By default, the packet sampling rate is 200000, that is, one out of every 200000 packets is sampled. Note that this command should be used after sFlow is enabled on the current port.
  • Page 667 Border gateway protocol (BGP) is an inter-autonomous system (inter-AS) dynamic route discovery protocol. This document introduces the commands for BGP configuration. Similar to IPv4 static routes, IPv6 static routes work well in simple IPv6 IPv6 Static Routing network environments. This document introduces the commands for IPv6 Static Routing configuration.
  • Page 668 Features Description Routing policy is used on the router for route inspection, filtering, attributes modifying when routes are received, advertised, or Route Policy redistributed. This document introduces the commands for Routing Policy configuration.
  • Page 669 ·····················································································································1-13 display ip relay-tunnel····················································································································1-13 display ipv6 routing-table···············································································································1-14 display ipv6 routing-table acl ·········································································································1-15 display ipv6 routing-table ipv6-address ·························································································1-16 display ipv6 routing-table ipv6-address1 ipv6-address2 ·······························································1-17 display ipv6 routing-table ipv6-prefix ·····························································································1-18 display ipv6 routing-table protocol·································································································1-19 display ipv6 routing-table statistics································································································1-19 display ipv6 routing-table verbose·································································································1-20 display ipv6 relay-route··················································································································1-22...
  • Page 670: Ip Routing Table Commands

    IP Routing Table Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features. IP Routing Table Commands display ip routing-table...
  • Page 671 This command displays brief information about a routing table, with a routing entry contained in one line. The information displayed includes destination IP address/mask length, protocol, priority, cost, next hop and outbound interface. This command only displays the routes currently in use, that is, the optimal routes.
  • Page 672 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 00h00m36s Tag: 0 Displayed first are statistics for the whole routing table, followed by detailed description of each route (in sequence). Table 1-2 display ip routing-table verbose command output description Field Description...
  • Page 673: Display Ip Routing-Table Acl

    Tunnel GotQ The route is in the GotQ during route recursion. Time for which 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 674 For more information about routing policy, refer to Routing Policy Configuration in the IP Routing Volume. 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 675 # Display detailed information about both active and inactive routes permitted by basic ACL 2000. <Sysname> display ip routing-table acl 2000 verbose Routes Matched by Access list : 2000 Summary Count: 6 Destination: 10.1.1.0/24 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 10.1.1.2...
  • Page 676: Display Ip Routing-Table Ip-Address

    The system ANDs the input destination IP address with the subnet mask in each route entry; and 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 The system ANDs the input destination IP address with the input subnet mask;...
  • Page 677 If the two operations yield the same result for an entry and the entry is active with a subnet mask less than or equal to the input subnet mask, the entry is displayed. Only route entries that exactly match the input destination address and mask are displayed.
  • Page 678: Display Ip Routing-Table Ip-Prefix

    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 Proto...
  • Page 679: Display Ip Routing-Table Protocol

    This command is intended for the follow-up display of routing policies. If the specified prefix list is not configured, detailed information about all routes (with the verbose keyword) or brief information about all active routes (without the verbose keyword) is displayed.
  • Page 680 Default Level 1: Monitor level Parameters protocol: Routing protocol. It can be bgp, direct, isis, ospf, rip, static, or guard. inactive: Displays information about only inactive routes. With this argument absent, the command displays information about both active and inactive routes.
  • Page 681: Display Ip Routing-Table Statistics

    Displays routing table statistics for a VPN instance. The VPN instance name is a string of 1 to 31 case-sensitive characters. Description Use the display ip routing-table statistics command to display the route statistics of the public network routing table or the VPN routing table. Examples # Display route statistics in the routing table.
  • Page 682: Display Ip Relay-Route

    1 to 31 case-sensitive characters. Description Use the display ip relay-route command to display the information of recursive routes. When executed with no argument, this command displays the recursive route information of the public network routing table. Examples # Display recursive route information.
  • Page 683: Display Ipv6 Routing-Table

    Use the display ipv6 routing-table command to display brief routing table information, including destination IP address and prefix, protocol type, priority, metric, next hop and outbound interface. The command displays only active routes, namely, the brief information about the current optimal routes.
  • Page 684: Display Ipv6 Routing-Table Acl

    Displays both active and inactive verbose routing information permitted by the ACL. Without this keyword, only brief active routing information is displayed. Description Use the display ipv6 routing-table acl command to display routing information permitted by the IPv6 ACL. If the specified IPv6 ACL is not available, all routing information is displayed.
  • Page 685: Display Ipv6 Routing-Table Ipv6-Address

    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 686: Display Ipv6 Routing-Table Ipv6-Address1 Ipv6-Address2

    An IPv6 address range from IPv6 address1 to IPv6 address2. prefix-length1/prefix-length2: Prefix length, in the range 0 to 128. verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed. Description Use the display ipv6 routing-table ipv6-address1 ipv6-address2 command to display routes with destinations falling into the specified IPv6 address range.
  • Page 687: Display Ipv6 Routing-Table Ipv6-Prefix

    Default Level 1: Monitor level 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 Use the display ipv6 routing-table ipv6-prefix command to display routes permitted by the IPv6 prefix list.
  • Page 688: Display Ipv6 Routing-Table Protocol

    Any view Default Level 1: Monitor level Parameters protocol: Displays routes of a routing protocol, which can be bgp4+, direct, isisv6, ospfv3, ripng and static. inactive: Displays only inactive routes. Without the keyword, all active and inactive routes are displayed.
  • Page 689: Display Ipv6 Routing-Table Verbose

    Default Level 1: Monitor level Parameters None Description Use the display ipv6 routing-table statistics command to display routing statistics, including total route number, added route number and deleted route number. Examples # Display routing statistics. <Sysname> display ipv6 routing-table statistics...
  • Page 690 Description Use the display ipv6 routing-table verbose command to display detailed information about all active and inactive routes, including the statistics of the entire routing table and information for each route. Examples # Display detailed information about all active and inactive routes.
  • Page 691: Display Ipv6 Relay-Route

    Any view Default Level 1: Monitor level Parameters None Description Use the display ipv6 relay-route command to display IPv6 recursive route information. Examples # Display IPv6 recursive route information. <Sysname> display ipv6 relay-route Total Number of relay-route is: 1 Dest/Mask: 192::1/64...
  • Page 692: Display Router Id

    Parameters None Description Use the display ipv6 relay-tunnel command to display IPv6 recursive tunnel information. Examples # Display IPv6 recursive tunnel information. <Sysname> display ipv6 relay-tunnel Total Number of relay-tunnel is: 1. Dest/Mask: 192::0/64 Related instance id(always 0): 0(1) Table 1-10 display ipv6 relay-tunnel command output description...
  • Page 693: Router Id

    Use the undo router id command to remove the router ID. By default, no router ID is configured. Some routing protocols use a router ID to identify a routing device. A route ID is selected in the following sequence: Select the router ID configured with the router id command;...
  • Page 694: Reset Ipv6 Routing-Table Statistics

    VPN instance name, a string of 1 to 31 case-sensitive characters. all: Clears statistics for all routing protocols. protocol: Clears statistics for the routing protocol, which can be bgp, direct, is-is, ospf, rip, or static. Description Use the reset ip routing-table statistics protocol command to clear routing statistics for the routing table or VPN routing table.
  • Page 695 Table of Contents 1 Static Routing Configuration Commands·······························································································1-1 Static Routing Configuration Commands································································································1-1 delete static-routes all······················································································································1-1 ip route-static ···································································································································1-2 ip route-static default-preference·····································································································1-4...
  • Page 696: Static Routing Configuration Commands

    Static Routing Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. Static Routing Configuration Commands delete static-routes all Syntax delete [ vpn-instance vpn-instance-name ] static-routes all View System view...
  • Page 697: Ip Route-Static

    : Specifies the preference of the static route, which is in the range of 1 to 255 and defaults to 60. tag tag-value: Sets a tag value for the static route from 1 to 4294967295. The default is 0. Tags of routes are used in routing policies to control routing.
  • Page 698 Related commands: display ip routing-table, ip route-static default-preference. The static route does not take effect if you specify its next hop address first and then configure the address as the IP address of a local interface. The next hop address must not be the IP address of the local interface; otherwise, the route configuration will not take effect.
  • Page 699: Ip Route-Static Default-Preference

    System view Default Level 2: System level Parameters default-preference-value: Default preference for static routes, which is in the range of 1 to 255. Description Use the ip route-static default-preference command to configure the default preference for static routes. Use the undo ip route-static default-preference command to restore the default.
  • Page 700 Table of Contents 1 RIP Configuration Commands ·················································································································1-1 RIP Configuration Commands ················································································································1-1 checkzero ········································································································································1-1 default cost (RIP view)·····················································································································1-2 default-route ····································································································································1-2 display rip ········································································································································1-3 display rip database·························································································································1-5 display rip interface··························································································································1-6 display rip route ·······························································································································1-7 filter-policy export (RIP view)···········································································································1-9 filter-policy import (RIP view)·········································································································1-10 host-route ······································································································································1-11...
  • Page 701: Rip Configuration Commands

    RIP Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. RIP Configuration Commands checkzero Syntax checkzero undo checkzero View RIP view Default Level 2: System level Parameters None Description Use the checkzero command to enable the zero field check on RIPv1 messages.
  • Page 702: Default Cost (Rip View)

    Use the undo default cost command to restore the default. By default, the default metric of redistributed routes is 0. When you use the import-route command to redistribute routes from other protocols without specifying a metric, the metric specified by the default cost command applies.
  • Page 703: Display Rip

    The RIP router with this feature configured will not receive any default routes from RIP neighbors. Related commands: rip default-route. Examples # Configure all the interfaces under RIP process 1 to send only a default route with a metric of 2 to RIP neighbors. <Sysname> system-view...
  • Page 704 Number of replies to queries : 0 Table 1-1 display rip command output description Field Description Public VPN-instance name (or Private The RIP process runs under a public VPN instance/The VPN-instance name) RIP process runs under a private VPN instance RIP process RIP process ID...
  • Page 705: Display Rip Database

    Parameters process-id: RIP process ID, in the range of 1 to 65535. Description Use the display rip database command to display the active routes in the RIP database, which are sent in normal RIP routing updates. Examples # Display the active routes in the database of RIP process 100.
  • Page 706: Display Rip Interface

    RIP process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface. Description Use the display rip interface command to display the RIP interface information of the RIP process. If no interface is specified, information about all RIP interfaces of the RIP process is displayed. Examples # Display all the interface information of RIP process 1.
  • Page 707: Display Rip Route

    Packets to be sent/Maximum packets that can be sent on packets number the interface display rip route Syntax display rip process-id route [ statistics | ip-address { mask | mask-length } | peer ip-address ] View Any view Default Level 1: Monitor level Parameters process-id: RIP process ID, in the range of 1 to 65535.
  • Page 708 NextHop Cost Flags 56.0.0.0/8 21.0.0.23 34.0.0.0/8 21.0.0.23 # Display routing information for network 56.0.0.0/8 of RIP process 1. <Sysname> display rip 1 route 56.0.0.0 8 Route Flags: R-RIP, T-TRIP P-Permanent, A-Aging, S-Suppressed, G-Garbage-collect -------------------------------------------------------------------------- Peer 21.0.0.23 on Vlan-interface1 Destination/Mask NextHop...
  • Page 709: Filter-Policy Export (Rip View)

    Parameters acl-number: Number of an ACL used to filter outbound routes, in the range of 2000 to 3999. ip-prefix ip-prefix-name: Name of an IP prefix list used to filter outbound routes, a string of 1 to 19 characters. protocol: Filters outbound routes redistributed from a specified routing protocol, which can be bgp, direct, isis, ospf, rip, and static.
  • Page 710: Filter-Policy Import (Rip View)

    2: System level Parameters acl-number: Number of the ACL used for filtering incoming routes, in the range of 2000 to 3999. ip-prefix ip-prefix-name: References an IP prefix list to filter incoming routes. The ip-prefix-name is a string of 1 to 19 characters.
  • Page 711: Host-Route

    In some cases, a router may receive many host routes from the same network segment. These routes are not helpful for routing and occupy a large amount of network resources. You can use the undo host-route command to disable receiving of host routes.
  • Page 712 Specifies a routing protocol from which to redistribute routes. At present, it can be bgp, direct, isis, ospf, rip, or static. process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol is isis, rip, or ospf.
  • Page 713: Maximum Load-Balancing (Rip View)

    [Sysname] rip [Sysname-rip-1] maximum load-balancing 2 network Syntax network network-address undo network network-address View RIP view Default Level 2: System level Parameters network-address: IP address of a network segment, which can be the IP network address of any interface. 1-13...
  • Page 714: Output-Delay

    Use the undo output-delay command to restore the default. By default, an interface sends up to three RIP packets every 20 milliseconds. Examples # Configure all the interfaces under RIP process 1 to send up to 10 RIP packets every 30 milliseconds. 1-14...
  • Page 715: Peer

    IP address of a RIP neighbor, in dotted decimal format. Description Use the peer command to specify the IP address of a neighbor in the non-broadcast multi-access (NBMA) network, where routing updates destined for the peer are unicast, rather than multicast or broadcast.
  • Page 716: Reset Rip Statistics

    If a priority is set for matched routes in the routing policy, the priority applies to these routes. The priority of other routes is the one set by the preference command. If no priority is set for matched routes in the routing policy, the priority of all routes is the one set by the preference command.
  • Page 717: Rip

    Note that: If no VPN instance is specified, the RIP process will run under public network instance. You must create a VPN instance before you apply a RIP process to it. For related configuration, refer to the ip vpn-instance command.
  • Page 718: Rip Default-Route

    MD5 key number, in the range of 1 to 255. key-string: MD5 key string with 1 to 16 characters in plain text format, or 1 to 24 characters in cipher text format. When the display current-configuration command is used to display system information, a 24-character cipher string is displayed as the MD5 key string.
  • Page 719: Rip Input

    Use the undo rip default-route command to disable the RIP interface from sending a default route. By default, a RIP interface can advertise a default route if the RIP process is configured with default route advertisement. A RIP router configured to advertise a default route will not receive any default routes from RIP neighbors.
  • Page 720: Rip Metricin

    By default, the additional metric of a received route is 0. When a valid RIP route is received, the system adds a metric to it and then installs it into the routing table. Therefore, the metric of the route received on the configured interface is increased. If the sum of the additional metric and the original metric is greater than 16, the metric of the route will be 16.
  • Page 721: Rip Metricout

    Related commands: rip metricin. Examples # Configure VLAN-interface 10 to add a metric of 6 for the outgoing route 1.0.0.0/8 and to add a metric of 2 for other outgoing routes. <Sysname> system-view [Sysname] ip ip-prefix 123 permit 1.0.0.0 8...
  • Page 722: Rip Mib-Binding

    Use the rip mib-binding command to bind MIB operations with a specified RIP process, so that the RIP process can receive SNMP requests. Use the undo rip mib-binding command to restore the default. By default, MIB operations are bound to RIP process 1, that is, RIP process 1 is enabled to receive SNMP requests. Examples # Configure RIP 100 to accept SNMP requests.
  • Page 723: Rip Poison-Reverse

    Use the undo rip output command to disable the interface from sending RIP messages. Sending RIP messages is enabled on an interface by default. Related commands: rip input. Examples # Disable VLAN-interface 10 from receiving RIP messages. <Sysname> system-view [Sysname] interface vlan-interface 10...
  • Page 724: Rip Summary-Address

    The split horizon function is necessary for preventing routing loops. Therefore, you are not recommended to disable it. In special cases, make sure it is necessary to disable the split horizon function. Only the poison reverse function takes effect if both the split horizon and poison reverse functions are enabled. Examples # Enable the split horizon function on VLAN-interface 10.
  • Page 725: Rip Version

    Use the undo rip version command to remove the specified RIP version. By default, no RIP version is configured for an interface, which uses the global RIP version. If the global RIP version is not configured, the interface can only send RIPv1 broadcasts and can receive RIPv1 broadcasts and unicasts, and RIPv2 broadcasts, multicasts and unicasts.
  • Page 726: Silent-Interface (Rip View)

    Specifies an interface by its type and number. Description Use the silent-interface command to disable an interface or all interfaces from sending routing updates. That is, the interface only receives but does not send RIP messages. Use the undo silent-interface command to restore the default.
  • Page 727: Summary

    Use the summary command to enable automatic RIPv2 summarization. Natural masks are used to advertise summary routes so as to reduce the size of routing tables. Use the undo summary command to disable automatic RIPv2 summarization so that all subnet routes can be broadcast.
  • Page 728: Validate-Source-Address

    The suppress timer defines how long a RIP route stays in the suppressed state. When the metric of a route is 16, the route enters the suppressed state. In the suppressed state, only routes which come from the same neighbor and whose metric is less than 16 will be received by the router to replace unreachable routes.
  • Page 729: Version

    Use the undo version command to remove the configured global RIP version. By default, if an interface has a RIP version specified, the RIP version takes effect; if it has no RIP version specified, it can send RIPv1 broadcasts, and receive RIPv1 broadcasts, RIPv1 unicasts, RIPv2 broadcasts, RIPv2 multicasts, and RIPv2 unicasts.
  • Page 730 If no RIP version is specified for the interface and the global version is RIPv1, the interface inherits RIPv1, and it can send RIPv1 broadcasts, and receive RIPv1 broadcasts and unicasts. If no RIP version is specified for the interface and the global version is RIPv2, the interface operates in the RIPv2 muticast mode, and it can send RIPv2 multicasts, and receive RIPv2 broadcasts, multicasts and unicasts.
  • Page 731 (OSPF area view)······································································································1-1 area (OSPF view) ····························································································································1-2 asbr-summary··································································································································1-2 authentication-mode ························································································································1-4 bandwidth-reference (OSPF view) ··································································································1-4 default··············································································································································1-5 default-cost (OSPF area view) ········································································································1-6 default-route-advertise (OSPF view) ·······························································································1-6 description (OSPF/OSPF area view)·······························································································1-7 display ospf abr-asbr ·······················································································································1-8 display ospf asbr-summary ·············································································································1-9 display ospf brief····························································································································1-11 display ospf cumulative ·················································································································1-13...
  • Page 732 ·····································································································································1-56 reset ospf counters ························································································································1-56 reset ospf process ·························································································································1-57 reset ospf redistribution ·················································································································1-58 rfc1583 compatible ························································································································1-58 silent-interface (OSPF view)··········································································································1-59 snmp-agent trap enable ospf·········································································································1-59 spf-schedule-interval ·····················································································································1-61 stub (OSPF area view) ··················································································································1-61 stub-router ·····································································································································1-62 transmit-pacing ······························································································································1-63 vlink-peer (OSPF area view) ·········································································································1-64...
  • Page 733: Ospf Configuration Commands

    | not-advertise: Advertises the summary route or not. By default, the summary route is advertised. cost cost: Specifies the cost of the summary route, in the range 1 to 16777215. The default cost is the largest cost value among routes that are summarized.
  • Page 734: Area (Ospf View)

    Default Level 2: System level Parameters area-id: ID of an area, a decimal integer in the range 0 to 4294967295 that is translated into the IP address format by the system, or an IP address. Description Use the area command to create an area and enter area view.
  • Page 735 With the undo asbr-summary command used, summarized routes will be advertised. Related command: display ospf asbr-summary. Examples # Summarize redistributed routes into a single route, specifying a tag value of 2 and a cost of 100 for the summary route. <Sysname> system-view [Sysname] ip route-static 10.2.1.0 24 null 0...
  • Page 736: Authentication-Mode

    [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] authentication-mode md5 bandwidth-reference (OSPF view) Syntax bandwidth-reference value undo bandwidth-reference View OSPF view Default Level 2: System level Parameters value: Bandwidth reference value for link cost calculation, in the range 1 to 2147483648 Mbps.
  • Page 737: Default

    Use the undo bandwidth-reference command to restore the default value. The default value is 100 Mbps. When links have no cost values configured, OSPF calculates their cost values: Cost=Reference bandwidth value / Link bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used. Examples # Specify the reference bandwidth value as 1000 Mbps.
  • Page 738: Default-Cost (Ospf Area View)

    This command is only applicable to the ABR of a stub area or the ABR/ASBR of an NSSA area. Related commands: stub, nssa. Examples # Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 20. <Sysname> system-view...
  • Page 739: Description (Ospf/Ospf Area View)

    Specifies a type for the ASE LSA: 1 or 2. If type is not specified, the default type for the ASE LSA specified by the default type command applies..
  • Page 740: Display Ospf Abr-Asbr

    Use the description command to configure a description for an OSPF process or area. Use the undo description command to remove the description. No description is configured by default. Use of this command is only for the identification of an OSPF process or area. The description has no special meaning. Examples # Describe the OSPF process 100 as abc.
  • Page 741: Display Ospf Asbr-Summary

    Nexthop Next hop address RtType Router type: ABR, ASBR display ospf asbr-summary Syntax display ospf [ process-id ] asbr-summary [ ip-address { mask | mask-length } ] View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535.
  • Page 742 If no IP address is specified, information about all summarized redistributed routes will be displayed. Related commands: asbr-summary. Examples # Display information about all summarized redistributed routes. <Sysname> display ospf asbr-summary OSPF Process 1 with Router ID 2.2.2.2 Summary Addresses...
  • Page 743: Display Ospf Brief

    Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the display ospf brief command to display OSPF brief information. If no OSPF process is specified, brief information about all OSPF processes is displayed. Examples # Display OSPF brief information.
  • Page 744 Type: Broadcast MTU: 1500 Priority: 1 Designated Router: 192.168.1.2 Backup Designated Router: 192.168.1.1 Timers: Hello 10 , Dead 40 , Poll 40 , Retransmit 5 , Transmit Delay 1 Table 1-3 display ospf brief command output description Field Description OSPF Process 1 with Router ID OSPF process ID and OSPF router ID 192.168.1.2...
  • Page 745: Display Ospf Cumulative

    View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the display ospf cumulative command to display OSPF statistics. Use of this command is helpful for troubleshooting. Examples # Display OSPF statistics.
  • Page 746 Opq-As: 0 LSAs Originated: 4 LSAs Received: 7 Routing Table: Intra Area: 2 Inter Area: 3 ASE/NSSA: 0 Table 1-4 display ospf cumulative command output description Field Description IO statistics Statistics about input/output packets and LSAs Type OSPF packet type...
  • Page 747: Display Ospf Error

    OSPF process ID, in the range 1 to 65535. Description Use the display ospf error command to display OSPF error information. If no process is specified, the OSPF error information of all OSPF processes is displayed. Examples # Display OSPF error information.
  • Page 748: Display Ospf Interface

    LSU packets with wrong LSA checksum LS UPD: Received less recent LSA LSU packets without latest LSA LS UPD: Unknown LSA type LSU packets with unknown LSA type display ospf interface Syntax display ospf [ process-id ] interface [ all | interface-type interface-number ] 1-16...
  • Page 749 Interface type and interface number. Description Use the display ospf interface command to display OSPF interface information. If no OSPF process is specified, the OSPF interface information of all OSPF processes is displayed. Examples # Display OSPF interface information.
  • Page 750: Display Ospf Lsdb

    Syntax display ospf [ process-id ] lsdb [ brief | [ { ase | router | network | summary | asbr | nssa | opaque-link | opaque-area | opaque-as } [ link-state-id ] ] [ originate-router advertising-router-id |...
  • Page 751 Displays information about self-originated LSAs. Description Use the display ospf lsdb command to display LSDB information. If no OSPF process is specified, LSDB information of all OSPF processes is displayed. Examples # Display OSPF LSDB information. <Sysname> display ospf lsdb OSPF Process 1 with Router ID 192.168.0.1...
  • Page 752 Link State Database Type : Network LS ID : 192.168.0.2 Adv Rtr : 192.168.2.1 LS Age : 922 : 32 Options Seq# : 80000003 Chksum : 0x8d1b Net Mask : 255.255.255.0 Attached Router 192.168.1.1 Attached Router 192.168.2.1 Area: 0.0.0.1 Link State Database...
  • Page 753: Display Ospf Nexthop

    LSA sequence number Chksum LSA checksum Net Mask Network mask Attached Router ID of the router that established adjacency with the DR, and ID of the DR itself display ospf nexthop Syntax display ospf [ process-id ] nexthop View Any view...
  • Page 754: Display Ospf Peer

    IntfAddr Outbound interface address Intf Name Outbound interface name display ospf peer Syntax display ospf [ process-id ] peer [ verbose | [ interface-type interface-number ] [ neighbor-id ] ] View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535.
  • Page 755 Neighbor state: Down: This is the initial state of a neighbor conversation. Init: In this state, the router has seen a Hello packet from the neighbor. However, the router has not established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet).
  • Page 756: Display Ospf Peer Statistics

    Neighbor state: Down, Init, Attempt, 2-Way, Exstart, State Exchange, Loading or Full display ospf peer statistics Syntax display ospf [ process-id ] peer statistics View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. 1-24...
  • Page 757: Display Ospf Request-Queue

    Description Use the display ospf peer statistics command to display OSPF neighbor statistics. If no OSPF process is specified, OSPF neighbor statistics of all OSPF processes is displayed. Examples # Display OSPF neighbor statistics. <Sysname> display ospf peer statistics OSPF Process 1 with Router ID 10.3.1.1...
  • Page 758: Display Ospf Retrans-Queue

    Neighbor’s router ID. Description Use the display ospf request-queue command to display OSPF request queue information. If no OSPF process is specified, the OSPF request queue information of all OSPF processes is displayed. Examples # Display OSPF request queue information.
  • Page 759 Interface type and interface number. neighbor-id: Neighbor’s router ID. Description Use the display ospf retrans-queue command to display retransmission queue information. If no OSPF process is specified, the retransmission queue information of all OSPF processes is displayed. Examples # Display OSPF retransmission queue information.
  • Page 760: Display Ospf Routing

    Displays OSPF routing information with the specified next hop. Description Use the display ospf routing command to display OSPF routing information. If no OSPF process is specified, the routing information of all OSPF processes is displayed. Examples # Display OSPF routing information.
  • Page 761: Display Ospf Vlink

    OSPF process ID, in the range 1 to 65535. Description Use the display ospf vlink command to display OSPF virtual link information. If no OSPF process is specified, the OSPF virtual link information of all OSPF processes is displayed. Examples # Display OSPF virtual link information.
  • Page 762: Enable Link-Local-Signaling

    Default Level 2: System level Parameters None Description Use the enable link-local-signaling command to enable the OSPF link-local signaling (LLC) capability. Use the undo enable link-local-signaling command to disable the OSPF link-local signaling capability. By default, this capability is disabled.
  • Page 763: Enable Out-Of-Band-Resynchronization

    None Description Use the enable out-of-band-resynchronization command to enable the OSPF out-of-band resynchronization (OOB-Resynch) capability. Use the undo enable out-of-band-resynchronization command to disable the OSPF out-of-band resynchronization capability. By default, the capability is disabled. Examples # Enable the out-of-band resynchronization capability for OSPF process 1.
  • Page 764: Filter

    Parameters acl-number: ACL number, in the range 2000 to 3999. ip-prefix-name: IP prefix list name, a string of up to 19 characters. For details about IP prefix lists, see Route Policy Configuration in the IP Routing Volume. import: Filters Type-3 LSAs advertised into the area.
  • Page 765: Filter-Policy Export (Ospf View)

    Specifies a protocol from which to filter redistributed routes. The protocol can be direct, static, rip, ospf, isis or bgp. If no protocol is specified, all redistributed routes are filtered. process-id: Process ID, which is required when the protocol is rip, ospf or isis, in the range 1 to 65535. Description Use the filter-policy export command to configure the filtering of redistributed routes.
  • Page 766: Graceful-Restart (Ospf View)

    19 characters. For details about IP prefix lists, refer to Route Policy Configuration in the IP Routing Volume. gateway ip-prefix-name: Name of an IP address prefix list used to filter routes based on the next hop of the routing information, a string of up to 19 characters.
  • Page 767: Graceful-Restart Help

    Use the graceful-restart help command to configure for which OSPF neighbors the current router can serve as a GR Helper. (The neighbors are specified by the ACL or the IP prefix list.) Use the undo graceful-restart help command to restore the default.
  • Page 768: Graceful-Restart Interval (Ospf View)

    [Sysname] ospf 1 [Sysname-ospf-1] opaque-capability enable [Sysname-ospf-1] graceful-restart help 2001 # Enable non IETF standard GR for OSPF process 1 and configure the router as a GR Helper for OSPF neighbors defined in the ACL 2001. <Sysname> system-view [Sysname] ospf 1...
  • Page 769: Host-Advertise

    Redistributes routes from the specified protocol, which can be bgp, direct, isis, ospf, rip, or static. process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is rip, ospf, or isis.
  • Page 770 A Type-2 external route is an EGP route, which has low credibility, so OSPF considers the cost from the ASBR to a Type-2 external route is much bigger than the cost from the ASBR to an OSPF internal router. Therefore, the cost from an internal router to a Type-2 external route’s destination equals the cost from the ASBR to the Type-2 external route’s destination.
  • Page 771: Log-Peer-Change

    <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] undo log-peer-change lsa-arrival-interval Syntax lsa-arrival-interval interval undo lsa-arrival-interval View OSPF view Default Level 2: System level Parameters interval: Specifies the minimum LSA repeat arrival interval in milliseconds, in the range 0 to 60000. 1-39...
  • Page 772: Lsa-Generation-Interval

    The interval defaults to 1000 milliseconds. If an LSA that has the same LSA type, LS ID, originating router ID with the previous LSA is received within the interval, the LSA will be discarded. This feature helps protect routers and bandwidth from being over-consumed due to frequent network changes.
  • Page 773: Lsdb-Overflow-Limit

    Default Level 2: System level Parameters number: Specifies the upper limit of external LSAs in the LSDB, in the range 1 to 1000000. Description Use the lsdb-overflow-limit command to specify the upper limit of external LSAs in the LSDB. Use the undo lsdb-overflow-limit command to restore the default.
  • Page 774: Maximum-Routes

    Parameters maximum: Maximum number of equal cost routes for load balancing, in the range 1 to 4. No load balancing is available when the number is set to 1. Description Use the maximum load-balancing command to specify the maximum number of equal cost routes for load balancing.
  • Page 775: Network (Ospf Area View)

    By default, an interface neither belongs to any area nor runs OSPF. You can configure one or multiple interfaces in an area to run OSPF. Note that the interface’s primary IP address must fall into the specified network segment to make the interface run OSPF. If only the interface’s secondary IP address falls into the network segment, the interface cannot run OSPF.
  • Page 776: Opaque-Capability Enable

    ABR, the ABR generates a default route in a Type-7 LSA into the NSSA regardless of whether the default route is available. If it is configured on an ASBR, only a default route is available on the ASBR can it generates the default route in a Type-7 LSA into the attached area.
  • Page 777 You can enable multiple OSPF processes on a router and specify different Router IDs for these processes. When using OSPF as the IGP for MPLS VPN implementation, you need to bind the OSPF process with a VPN instance. Enabling OSPF first is required before performing other tasks.
  • Page 778: Ospf Authentication-Mode

    Password. Simple authentication: For plain type password, a plain password is a string of up to 8 characters; for cipher type password, a plain password is a string of up to 8 characters, and a cipher password is a string of up to 24 characters. MD5/HMAC-MD5 authentication: For plain type password, a plain password is a string of up to16 characters;...
  • Page 779: Ospf Cost

    Examples # Configure the network 131.119.0.0/16 in Area 1 to support MD5 cipher authentication, and set the interface key ID to 15, authentication password to abc, and password type to cipher. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [Sysname-ospf-100-area-0.0.0.1] authentication-mode md5...
  • Page 780: Ospf Dr-Priority

    48 for the E1 (2.048 Mbps) interface 1 for the Ethernet interface You can use the ospf cost command to set an OSPF cost for an interface manually. This configuration is not supported on the null or loopback interfaces .
  • Page 781: Ospf Mib-Binding

    [Sysname] undo ospf mib-binding ospf mtu-enable Syntax ospf mtu-enable undo ospf mtu-enable View Interface view Default Level 2: System level Parameters None Description Use the ospf mtu-enable command to enable an interface to add the real MTU into DD packets. 1-49...
  • Page 782: Ospf Network-Type

    Use the undo ospf mtu-enable command to restore the default. By default, an interface adds a MTU of 0 into DD packets, that is, no real MTU is added. Note that: After a virtual link is established via a Tunnel, two devices on the link from different vendors may have different MTU values.
  • Page 783: Ospf Timer Dead

    When the network type of an interface is NBMA, you need to use the peer command to specify a neighbor. If only two routers run OSPF on a network segment, you can configure associated interfaces’ network type as P2P. Related commands: ospf dr-priority.
  • Page 784: Ospf Timer Hello

    If an interface receives no hello packet from the neighbor within the dead interval, the interface considers the neighbor down. The dead interval on an interface is at least four times the hello interval. Any two routers attached to the same segment must have the same dead interval.
  • Page 785: Ospf Timer Poll

    The hello interval defaults to 10s for P2P and Broadcast interfaces, and defaults to 30s for P2MP and NBMA interfaces. The shorter the hello interval is, the faster the topology converges and the more resources are consumed. Make sure the hello interval on two neighboring interfaces is the same.
  • Page 786: Ospf Timer Retransmit

    Use the undo ospf timer retransmit command to restore the default. The interval defaults to 5s. After sending an LSA, an interface waits for an acknowledgement packet. If the interface receives no acknowledgement within the retransmission interval, it will retransmit the LSA.
  • Page 787 The delay defaults to 1s. Each LSA in the LSDB has an age that is incremented by 1 every second, but the age does not change during transmission. It is necessary to add a transmission delay into its age time, which is important for low speed networks.
  • Page 788: Reset Ospf Counters

    Default Level 2: System level Parameters ase: Sets a priority for ASE routes. If the keyword is not specified, using the command sets a priority for OSPF internal routes. route-policy route-policy-name: Applies a route policy to set priorities for specified routes.
  • Page 789: Reset Ospf Process

    Default Level 2: System level Parameters process-id: Clears the statistics information of the specified OSPF process, which is in the range 1 to 65535. neighbor: Clears neighbor statistics. interface-type interface-number: Clears the statistics information of the neighbor connected to the specified interface.
  • Page 790: Reset Ospf Redistribution

    Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the reset ospf redistribution command to restart route redistribution. If no process ID is specified, using the command restarts route redistribution for all OSPF processes. Examples # Restart route redistribution.
  • Page 791: Silent-Interface (Ospf View)

    By default, an interface sends OSPF packets. A disabled interface is a passive interface, which cannot send any hello packet. To make no routing information obtained by other routers on a network segment, you can use this command to disable the interface from sending OSPF packets.
  • Page 792 Virtual interface neighbor state change information. Description Use the snmp-agent trap enable ospf command to enable the sending of SNMP traps for a specified OSPF process. If no process is specified, the feature is enabled for all processes. Use the undo snmp-agent trap enable ospf command to disable the feature.
  • Page 793: Stub (Ospf Area View)

    The interval defaults to 5 seconds. Based on its LSDB, an OSPF router calculates the shortest path tree with itself being the root, and uses it to determine the next hop to a destination. Through adjusting the SPF calculation interval, you can protect bandwidth and router resources from being over-consumed due to frequent network changes.
  • Page 794 Note that, to concel the no-summary configuration on the ABR, simply execute the stub command again to overwrite it. To configure an area as a stub area, all routers attached to it must be configured with this command. Related commands: default-cost.
  • Page 795 A value of 1, 2 or 4 means a point-to-point link, a link to a transit network or a virtual link; in such cases, a maximum cost value of 65535 is used.
  • Page 796: Vlink-Peer (Ospf Area View)

    [ hello seconds | retransmit seconds | trans-delay seconds | dead seconds | simple [ plain | cipher ] password | { md5 | hmac-md5 } key-id [ plain | cipher ] password ] * undo vlink-peer router-id [ hello | retransmit | trans-delay | dead | [ simple | { md5 | hmac-md5 }...
  • Page 797 The smaller the hello interval is, the faster the network converges and the more network resources are consumed. A so small retransmission interval will lead to unnecessary retransmissions. A big value is appropriate for a low speed link. You need to specify an appropriate transmission delay with the trans-delay keyword.
  • Page 798 Table of Contents 1 IS-IS Configuration Commands ···············································································································1-1 IS-IS Configuration Commands ··············································································································1-1 area-authentication-mode ···············································································································1-1 auto-cost enable ······························································································································1-2 bandwidth-reference (IS-IS view) ····································································································1-3 circuit-cost ·······································································································································1-3 cost-style ·········································································································································1-4 default-route-advertise (IS-IS view)·································································································1-5 display isis brief ·······························································································································1-6 display isis debug-switches ·············································································································1-7 display isis graceful-restart status ···································································································1-8 display isis interface ························································································································1-9...
  • Page 799 ············································································································1-45 isis timer lsp···································································································································1-46 isis timer retransmit ·······················································································································1-47 is-level············································································································································1-48 is-name··········································································································································1-49 is-name map··································································································································1-50 is-snmp-traps enable ·····················································································································1-50 log-peer-change (IS-IS view)·········································································································1-51 lsp-fragments-extend·····················································································································1-51 lsp-length originate ························································································································1-52 lsp-length receive ··························································································································1-53 maximum load-balancing (IS-IS view)···························································································1-54 network-entity ································································································································1-54 preference (IS-IS view)··················································································································1-55 reset isis all····································································································································1-56 reset isis peer ································································································································1-56...
  • Page 800: Is-Is Configuration Commands

    IS-IS Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. IS-IS Configuration Commands area-authentication-mode Syntax area-authentication-mode { simple | md5 } password [ ip | osi ] undo area-authentication-mode...
  • Page 801: Auto-Cost Enable

    Use the undo area-authentication-mode command to restore the default. No area authentication is configured by default. The password in the specified mode is inserted into all outgoing Level-1 packets (LSP, CSNP and PSNP) and is used for authenticating the incoming Level-1 packets.
  • Page 802: Bandwidth-Reference (Is-Is View)

    Parameters value: Bandwidth reference value in Mbps, ranging from 1 to 2147483648. Description Use the bandwidth-reference command to set the bandwidth reference value for automatic link cost calculation. Use the undo bandwidth-reference command to restore the default. By default, the bandwidth reference value is 100 Mbps.
  • Page 803: Cost-Style

    2: System level Parameters narrow: Receives and sends only narrow cost style packets (The narrow cost ranges from 0 to 63). wide: Receives and sends only wide cost style packets (The wide cost ranges from 0 to 16777215). compatible: Receives and sends both wide and narrow cost style packets.
  • Page 804: Default-Route-Advertise (Is-Is View)

    Only narrow cost style packets can be received and sent by default. Related commands: isis cost, circuit-cost. Examples # Configure the router to send only narrow cost style packets, but receive both narrow and wide cost style packets. <Sysname> system-view...
  • Page 805: Display Isis Brief

    Default Level 1: Monitor level Parameters process-id: Displays IS-IS brief configuration information for the IS-IS process. The process ID is in the range 1 to 65535. vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
  • Page 806: Display Isis Debug-Switches

    1: Monitor level Parameters process-id: Displays the IS-IS debugging switch state for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays the IS-IS debugging switch state for the VPN instance. The name is a string of 1 to 31 characters.
  • Page 807: Display Isis Graceful-Restart Status

    Displays the IS-IS Level-2 Graceful Restart state. process-id: IS-IS Process ID, in the range 1 to 65535. vpn-instance vpn-instance-name: Name of a VPN instance, a string of 1 to 31 characters. Description Use the display isis graceful-restart status command to display IS-IS Graceful Restart status.
  • Page 808: Display Isis Interface

    IS-IS interface whose statistics information is to be displayed. verbose: Displays detailed IS-IS interface information. process-id: Displays the IS-IS interface information of the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays the IS-IS interface information of the VPN instance. The name is a string of 1 to 31 characters.
  • Page 809 INTF L1 TE Status INTF L2 TE Status TE Cost TE Admin Group TE Max Bandwidth TE Max Res Bandwidth # Displays detailed information of the specified IS-IS interface. <Sysname> display isis interface Tunnel 1 verbose Interface information for ISIS(1) --------------------------------- Interface: Tunnel1 IPv4.State...
  • Page 810 IPV4.State IPv4 state IPV6.State IPv6 state Interface MTU Type Interface link adjacency type Whether the interface is elected as the DIS or not SNPA Address Subnet access point address IP Address Primary IP address Secondary IP Address(es) Secondary IP addresses...
  • Page 811: Display Isis License

    Number of IS-IS interfaces in down state IPv6 UP Number of IS-ISv6 interfaces in up state. A value of "-" means IPv6 is not enabled. IPv6 DOWN Number of IS-ISv6 interfaces in down state. A value of "-" means IPv6 is not enabled.
  • Page 812 Current Value Max Processes Resource Max Paths Resource Max IPv4 Rt Resource 400000 Max IPv6 Rt Resource 400000 Table 1-5 display isis license command output description Field Description ISIS Shell License Values License values of IS-IS shell Feature Name Feature name Active Whether the state is active.
  • Page 813: Display Isis Lsdb

    Maximum IPv6 routes supported display isis lsdb Syntax display isis lsdb [ [ l1 | l2 | level-1 | level-2 ] | [ lsp-id LSPID | lsp-name lspname ] | local | verbose ] * [ process-id | vpn-instance vpn-instance-name ] View...
  • Page 814 0/0/0 1111.1111.1112.00-00* 0x00000006 0x498d 0/0/0 1111.1111.1112.01-00* 0x00000001 0x4c0e 0/0/0 *-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload # Display detailed Level-1 LSDB information. <Sysname> display isis lsdb level-1 verbose Database information for ISIS(1) -------------------------------- Level-1 Link State Database LSPID Seq Num...
  • Page 815: Display Isis Mesh-Group

    LSP length Attach bit (ATT) Partition bit (P) ATT/P/OL Overload bit (OL) 1 means the bit is set and 0 means the bit is not set. SOURCE System ID of the originating router NLPID Network layer protocol the originating router runs...
  • Page 816: Display Isis Name-Table

    [ process-id | vpn-instance vpn-instance-name ] View Any view Default Level 1: Monitor level Parameters process-id: Displays the host name-to-system ID mapping table for the IS-IS process. The ID is in the range of 1 to 65535. 1-17...
  • Page 817: Display Isis Peer

    Displays detailed IS-IS neighbor information. Without the keyword, the command displays brief IS-IS neighbor information. statistics: Displays IS-IS neighbor statistics information. process-id: Displays the IS-IS neighbor information of the IS-IS process. The ID is in the range of 1 to 65535. 1-18...
  • Page 818 Displays the IS-IS neighbor information of the VPN instance. The vpn-instance-name is a string of 1 to 31 characters. Description Use the display isis peer command to display IS-IS neighbor information. Examples # Display brief IS-IS neighbor information. <Sysname> display isis peer...
  • Page 819 HoldTime Within the holdtime if no hellos are received from the neighbor, the neighbor is considered down. If a hello is received, the holdtime is reset to the initial value. Circuit type L1 means the circuit type is Level-1 and the neighbor is a Level-1 router.
  • Page 820: Display Isis Route

    Syntax display isis route [ ipv4 ] [ [ level-1 | level-2 ] | verbose ] * [ process-id | vpn-instance vpn-instance-name ] View Any view Default Level 1: Monitor level Parameters ipv4: Displays IS-IS IPv4 routing information (the default).
  • Page 821 L: The route has been advertised in an LSP. U: A route’s penetration flag. Setting it to UP can prevent an LSP sent from L2 to L1 from being sent back to L2. # Display detailed IS-IS IPv4 routing information.
  • Page 822: Display Isis Spf-Log

    R: Indicates the route have been installed into the routing table. Flag L: The route has been flooded in an LSP. U: Route leaking flag. If it is UP, routes from L2 to L1 cannot be advertised back to L2. Next Hop Next hop...
  • Page 823 1: Monitor level Parameters process-id: Displays IS-IS SPF log information for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays IS-IS SPF log information for the VPN instance. The name is a string of 1 to 31 characters.
  • Page 824: Display Isis Statistics

    Displays IS-IS Level-1-2 statistics. process-id: Displays IS-IS statistics for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays IS-IS statistics for the VPN instance. The name is a string of 1 to 31 characters.
  • Page 825: Domain-Authentication-Mode

    Lsp information LSP Source ID: ID of the source system No. of used LSPs: number of used LSPs domain-authentication-mode Syntax domain-authentication-mode { simple | md5 } password [ ip | osi ] undo domain-authentication-mode View IS-IS view Default Level 2: System level...
  • Page 826: Filter-Policy Export (Is-Is View)

    A plain text password can be a string of up to 16 characters, such as user918. A cipher password must be a string of 24 characters, such as _(TT8F]Y\5SQ=^Q`MAF4<1!!.
  • Page 827: Filter-Policy Import (Is-Is View)

    Filters routes redistributed from the routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or static. process-id: Process ID, in the range of 1 to 65535. It is optional only when the protocol is IS-IS, OSPF or RIP.
  • Page 828: Flash-Flood

    Specifies the name of an IP prefix list that is used to filter routes calculated from received LSPs, a string of 1 to 19 characters. For IP prefix list configuration information, refer to Routing Policy commands in the IP Routing Volume.
  • Page 829: Graceful-Restart (Is-Is View)

    Examples # Enable fast flooding and configure the maximum LSPs be sent as 10 and the delay time as 100 milliseconds. <Sysname> system-view [Sysname] isis [Sysname-isis-1] flash-flood flood-count 10 max-timer-interval 100 graceful-restart (IS-IS view) Syntax graceful-restart undo graceful-restart View IS-IS view...
  • Page 830: Graceful-Restart Suppress-Sa

    To avoid this, you can set the SA bit of the hello packet sent by the GR Restarter to 1. Upon receiving such hello packets, the GR Helpers will not advertise the GR Restarter through LSP.
  • Page 831: Import-Route (Is-Is View)

    Redistributes routes from a routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or static. process-id: Process ID, in the range of 1 to 65535. It is available only when the protocol is IS-IS, OSPF or RIP. all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip, ospf, or isis.
  • Page 832: Import-Route Isis Level-2 Into Level-1

    2: System level Parameters acl-number: Specifies the number of an ACL that is used to filter routes from Level-2 to Level-1, ranging from 2000 to 3999. For ACL configuration information, refer to ACL commands in the Security Volume. ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter routes from Level-2 to Level-1, a string of 1 to 19 characters.
  • Page 833: Import-Route Limit (Is-Is View)

    Level-2 to Level-1. Other routing policies specified for route reception and redistribution does not affect the route leaking. If a filter policy is configured, only routes passing it can be advertised into the Level-1 area. Related commands: import-route.
  • Page 834: Isis

    <Sysname> system-view [Sysname] isis [Sysname-isis-1] network-entity 01.0001.0000.0000.0002.00 isis authentication-mode Syntax isis authentication-mode { simple | md5 } password [ level-1 | level-2 ] [ ip | osi ] undo isis authentication-mode [ level-1 | level-2 ] View Interface view Default Level...
  • Page 835: Isis Circuit-Level

    A plain text password can be a string of up to 16 characters, such as user918. A cipher password must be a string of 24 characters, such as _(TT8F]Y\5SQ=^Q`MAF4<1!!.
  • Page 836: Isis Circuit-Type P2P

    An interface can establish either the Level-1 or Level-2 adjacency by default. Note that: For a Level-1 (Level-2) router, the circuit level can only be Level-1 (Level-2). For a Level-1-2 router, you need to specify a circuit level for a specific interface to form only the specified level neighbor relationship.
  • Page 837: Isis Cost

    DIS and have a different LSDP synchronization mechanism. If there are only two routers on a broadcast network, you can configure the network type of attached interfaces as P2P to avoid DIS election and CSNP flooding, saving network bandwidth and speeding up network convergence.
  • Page 838: Isis Dis-Name

    Specifies a DIS name, a string of 1 to 64 characters. Description Use the isis dis-name command to configure a name for a DIS to represent the pseudo node on a broadcast network. Use the undo isis dis-name command to remove the configuration.
  • Page 839: Isis Dis-Priority

    SNPA (Subnetwork Point of Attachment) address (SNPA addresses are MAC addresses on a broadcast network) becomes the DIS. There is no backup DIS in IS-IS and the router with a priority of 0 can also participate in DIS election. This command is not available in loopback interface view.
  • Page 840: Isis Enable

    Default Level 2: System level Parameters process-id: Specifies a IS-IS process ID, ranging from 1 to 65535. The default is 1. Description Use the isis enable command to enable an IS-IS process on the interface. Use the undo isis enable command to disable IS-IS.
  • Page 841: Isis Silent

    For the NBMA network with high connectivity and multiple point-to-point links, this will cause repeated LSP flooding and bandwidth waste. After an interface is added to a mesh group, it will only flood a received LSP or a generated LSP to interfaces not belonging to the same mesh group.
  • Page 842: Isis Small-Hello

    Parameters None Description Use the isis small-hello command to configure the interface to send small hello packets without CLVs. Use the undo isis small-hello command to restore the default. An interface sends standard hello packets by default. This command is not available in loopback interface view.
  • Page 843: Isis Timer Csnp

    Applies the interval to Level-1. level-2: Applies the interval to Level-2. Description Use the isis timer csnp command to specify on the DIS of a broadcast network the interval for sending CSNP packets. Use the undo isis timer csnp command to restore the default.
  • Page 844: Isis Timer Hello

    Level-1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify an interval for the two levels respectively. On a P2P link, Level-1 and Level-2 packets are both sent in P2P hello packets, and you need not specify an interval for two levels respectively.
  • Page 845: Isis Timer Lsp

    If no level is specified, the hello multiplier applies to the current level. With the IS-IS hello multiplier configured, a router can uses hello packets to notify its neighbor router of the adjacency hold time (hello multiplier times hello interval). If the neighbor router receives no hello packets from this router within the hold time, it declares the adjacency down.
  • Page 846: Isis Timer Retransmit

    Specifies the minimum interval in milliseconds for sending link-state packets, ranging from 1 to 1000. count: Specifies the maximum number of link-state packets to be sent at one time, in the range of 1 to 1000. The default is 5.
  • Page 847 Use the undo isis timer retransmit command to restore the default. By default, the retransmission interval is 5 seconds. A P2P link requires a response to a sent LSP. If no response is received within the retransmission interval, the LSP is retransmitted.
  • Page 848 You can configure all the routers as either Level-1 or Level-2 if there is only one area, because there is no need for all routers to maintain two identical databases at the same time. If the only area is an IP network, you are recommended to configure all the routers as Level-2 for scalability.
  • Page 849: Is-Name Map

    Specifies a host name for the remote IS, a string of 1 to 64 characters. Description Use the is-name map command to configure a system ID to host name mapping for a remote IS. Use the undo is-name map command to remove the mapping.
  • Page 850: Log-Peer-Change (Is-Is View)

    # Enable logging on the IS-IS adjacency state changes. <Sysname> system-view [Sysname] isis [Sysname-isis-1] log-peer-change lsp-fragments-extend Syntax lsp-fragments-extend [ [ level-1 | level-2 | level-1-2 ] | [ mode-1 | mode-2 ] ] * undo lsp-fragments-extend View IS-IS view 1-51...
  • Page 851: Lsp-Length Originate

    Note that: If no mode is specified, LSP fragment extension mode 1 is enabled. If no level is specified, the LSP fragment extension mode is enabled for both Level-1 and Level-2. Examples # Enable LSP fragment extension mode 1 for Level-2.
  • Page 852: Lsp-Length Receive

    Use the undo lsp-length originate command to restore the default. By default, the maximum size of generated Level-1 and Level-2 LSPs is 1497 bytes. If neither Level-1 nor Level-2 is specified in the command, the configured maximum size applies to the current IS-IS level.
  • Page 853: Maximum Load-Balancing (Is-Is View)

    Network Entity Title (NET) in the format of X…X.XXXX..XXXX.00, with the first part X…X being the area address, the middle part XXXX..XXXX (a total of 12 “X”) being the router’s system ID and the last part 00 being SEL.
  • Page 854: Preference (Is-Is View)

    Use the undo preference command to restore the default. By default, IS-IS preference is 15. If a routing policy is specified in this command, the preference (if any) set by the routing policy applies to those matched routes. Other routes use the preference set by the preference command.
  • Page 855: Reset Isis All

    3: Manage level Parameters process-id: Clears the data structure information of an IS-IS process numbered from 1 to 65535. vpn-instance-name: Clears the data structure information of a VPN instance named with a string of 1 to 31 characters. Description Use the reset isis all command to clear all IS-IS data structure information.
  • Page 856 # Clear the data structure information of the neighbor with the system ID 0000.0c11.1111. <Sysname> reset isis peer 0000.0c11.1111 set-overload Syntax set-overload [ on-startup [ [ start-from-nbr system-id [ timeout1 [ nbr-timeout ] ] ] | timeout2 ] [ allow { interlevel | external } * ] undo set-overload View...
  • Page 857: Summary (Is-Is View)

    If the on-startup keyword is not specified, the command sets the overload bit immediately until the undo set-overload command is executed. If the on-startup keyword is specified, IS-IS sets the overload bit upon system startup and keeps it set within the timeout2 interval.
  • Page 858: Timer Lsp-Generation

    You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as that of LSP and LSDB generated by the router. It is allowed to summarize native IS-IS routes and redistributed routes. After summarization, the cost of the summary route is the smallest cost of those summarized routes.
  • Page 859: Timer Lsp-Max-Age

    IS-IS waits the second-wait-interval before generating the second LSP and penalty is applied on the wait interval before generating the next LSP. That is, for each subsequent trigger, the wait interval before generating the LSP will be two times the previous wait interval until the maximum interval is reached.
  • Page 860: Timer Spf

    The default LSP refresh interval is 900 seconds. Related commands: timer lsp-max-age. To refresh LSPs before they are aged out, the interval configured by the timer lsp-refresh command must be smaller than that configured by the timer lsp-max-age command. Examples # Configure the LSP refresh interval as 1500 seconds.
  • Page 861 IS-IS will wait the second-interval before performing the second SPF calculation and penalty is applied on the wait interval for the next SPF calculation. That is, for each subsequent trigger, the wait interval before SPF calculation will be two times the previous wait interval until the maximum interval is reached.
  • Page 862 Virtual system ID of the IS-IS process. Description Use the virtual-system command to configure a virtual system ID for the IS-IS process. Use the undo virtual-system command to remove a virtual system ID. Up to 50 virtual system IDs can be configured for the IS-IS process.
  • Page 863 1 BGP Configuration Commands················································································································1-1 BGP Configuration Commands···············································································································1-1 aggregate ········································································································································1-1 balance (BGP/BGP-VPN instance view) ·························································································1-2 bestroute as-path-neglect (BGP/BGP-VPN instance view)·····························································1-3 bestroute compare-med (BGP/BGP-VPN instance view) ·······························································1-4 bestroute med-confederation (BGP/BGP-VPN instance view) ·······················································1-5 bgp···················································································································································1-5 compare-different-as-med (BGP/BGP-VPN instance view) ····························································1-6 confederation id ·······························································································································1-7 confederation nonstandard··············································································································1-8...
  • Page 864 (BGP/BGP-VPN instance view) ·······················································································1-37 network short-cut (BGP/BGP-VPN instance view)········································································1-38 peer advertise-community (BGP/BGP-VPN instance view) ··························································1-39 peer advertise-ext-community (BGP/BGP-VPN instance view) ····················································1-40 peer allow-as-loop (BGP/BGP-VPN instance view) ······································································1-40 peer as-number (BGP/BGP-VPN instance view) ··········································································1-41 peer as-path-acl (BGP/BGP-VPN instance view) ·········································································1-42 peer capability-advertise conventional ··························································································1-43...
  • Page 865: Bgp Configuration Commands

    BGP Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. BGP Configuration Commands For more information about routing policy configuration commands in this document, refer to Routing Policy Commands in the IP Routing Volume.
  • Page 866: Balance (Bgp/Bgp-Vpn Instance View)

    # In BGP view, create a summary of 192.213.0.0/16 in the BGP routing table. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] aggregate 192.213.0.0 255.255.0.0 # In BGP-VPN instance view, create a summary of 192.213.0.0/16 in BGP routing table (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] aggregate 192.213.0.0 255.255.0.0...
  • Page 867: Bestroute As-Path-Neglect (Bgp/Bgp-Vpn Instance View)

    Default Level 2: System level Parameters number: Number of BGP routes for load balancing, in the range 1 to 4. When it is set to 1, load balancing is disabled. Description Use the balance command to configure the number of BGP routes for load balancing.
  • Page 868: Bestroute Compare-Med (Bgp/Bgp-Vpn Instance View)

    Use the undo bestroute compare-med command to disable this comparison. 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 869: Bestroute Med-Confederation (Bgp/Bgp-Vpn Instance View)

    # In BGP-VPN instance view, enable the comparison of MED for paths from each AS when selecting the best route. (The VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] bestroute compare-med bestroute med-confederation (BGP/BGP-VPN instance view)
  • Page 870: Compare-Different-As-Med (Bgp/Bgp-Vpn Instance View)

    Use the undo compare-different-as-med command to disable the comparison. The comparison is disabled by default. If several paths to one destination are available, the path with the smallest MED is selected. Do not use this command unless associated ASs adopt the same IGP protocol and routing selection...
  • Page 871: Confederation Id

    IGP attributes of a route, such as the next hop, MED, local preference, are not discarded when crossing each sub-AS. The sub-ASs still look like a whole from the perspective of other ASs. This can ensure the integrity of the former AS, and solve the problem of too many IBGP connections in the AS.
  • Page 872: Confederation Nonstandard

    Use the undo confederation nonstandard command to restore the default. By default, all routers in the confederation comply with RFC3065. All devices should be configured with this command to interact with those nonstandard devices in the confederation. Related commands: confederation id and confederation peer-as.
  • Page 873: Dampening (Bgp/Bgp-Vpn Instance View)

    [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening View BGP view/BGP-VPN instance view Default Level 2: System level Parameters half-life-reachable: Specifies a half-life for active routes from 1 to 45 minutes. By default, the value is 15 minutes.
  • Page 874: Default Ipv4-Unicast

    By default, the reuse value is 750. suppress: 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.
  • Page 875: Default Local-Preference (Bgp/Bgp-Vpn Instance View)

    After executing the undo default ipv4-unicast command, you can use the peer enable command to enable the use of IPv4 address family for a peer. Examples # Enable the default use of IPv4 unicast address family for the peers that are established using the peer as-number command. <Sysname> system-view...
  • Page 876: Default Med (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 877: Default-Route Imported (Bgp/Bgp-Vpn Instance View)

    # 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). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1...
  • Page 878 Any view Default Level 1: Monitor level Parameters group-name: Peer group name, a string of 1 to 47 characters. Description Use the display bgp group command to display peer group information. Examples # Display the information of the peer group aaa.
  • Page 879: Display Bgp Network

    Default Level 1: Monitor level Parameters None Description Use the display bgp network command to display routing information advertised with the network command. Examples # Display routing information advertised with the network command. <Sysname> display bgp network BGP Local Router ID is 10.1.4.2.
  • Page 880: Display Bgp Paths

    Route address in the local database, in dotted hexadecimal notation Hash Hash index Refcount Count of routes that reference the path MED of the path Path AS_PATH attribute of the path, recording the ASs it has passed to avoid routing loops 1-16...
  • Page 881: Display Bgp Peer

    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 Default Level...
  • Page 882 BGP current event Current event of the peer BGP last state Previous state of the peer Port TCP port numbers of the local router and its peer Configured: Active Hold Time Local holdtime interval Keepalive Time Local keepalive interval Received: Active Hold Time...
  • Page 883: Display Bgp Routing-Table

    BFD is enabled or disabled. 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 Default Level 1: Monitor level Parameters ip-address: Destination IP address.
  • Page 884: Display Bgp Routing-Table As-Path-Acl

    PrefVal Preferred value Origin attribute of the route, which can be one of the following values: Indicates that the route is interior to the AS. Summary routes and the routes injected with the network command are considered IGP routes.
  • Page 885: Display Bgp Routing-Table Cidr

    Displays routing information permitted by the AS path ACL, which is specifies with a number from 1 to 256. Description Use the display bgp routing as-path-acl command to display BGP routes permitted by an as-path ACL. Examples # Display BGP routes permitted by AS path ACL 1.
  • Page 886: Display Bgp Routing-Table Community

    Displays BGP routes that cannot be advertised to any peer. no-export: Displays BGP routes that cannot be advertised out the AS. If a confederation is configured, it displays routes that cannot be advertised out the confederation, but can be advertised to other sub ASs in the confederation.
  • Page 887: Display Bgp Routing-Table Community-List

    Specifies an advanced community-list number from 100 to 199. 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 display bgp routing-table community-list command to display BGP routing information matching the specified BGP community list.
  • Page 888: Display Bgp Routing-Table Dampened

    Default Level 1: Monitor level Parameters None Description Use the display bgp routing-table dampened command to display dampened BGP routes. Examples # Display dampened BGP routes. <Sysname> display bgp routing-table dampened BGP Local router ID is 2.2.2.2 Status codes: * - valid, > - best, d - damped,...
  • Page 889: Display Bgp Routing-Table Different-Origin-As

    Any view Default Level 1: Monitor level Parameters None Description Use the display bgp routing-table dampening parameter command to display BGP route dampening parameters. Related commands: dampening. Examples # Display BGP route dampening parameters. <Sysname> display bgp routing-table dampening parameter...
  • Page 890: Display Bgp Routing-Table Flap-Info

    Displays route flap information that matches the AS path regular expression, which is a string of 1 to 80 characters. as-path-acl-number: Displays route flap information matching the AS path ACL. The number is in the range 1 to 256.
  • Page 891: Display Bgp Routing-Table Label

    Default Level 1: Monitor level Parameters None Description Use the display bgp routing-table label command to display labeled BGP routing information. Examples # Display labeled BGP routing information. <Sysname> display bgp routing-table label BGP Local router ID is 6.6.6.7 Status codes: * - valid, > - best, d - damped,...
  • Page 892: Display Bgp Routing-Table Peer

    Mask length, in the range 0 to 32. statistic: Displays route statistics. Description Use the display bgp routing-table peer command to display BGP routing information advertised to or received from the specified BGP peer. Related commands: display bgp peer.
  • Page 893: Display Bgp Routing-Table Regular-Expression

    Any view Default Level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use the display bgp routing-table regular-expression command to display BGP routing information matching the specified AS path regular expression.
  • Page 894: Ebgp-Interface-Sensitive

    Default Level 2: System level Parameters None Description Use the ebgp-interface-sensitive command to enable the clearing of EBGP session on any interface that becomes down. Use the undo ebgp-interface-sensitive command to disable the function. This function is enabled by default. 1-30...
  • Page 895: Filter-Policy Export (Bgp/Bgp-Vpn Instance View)

    Parameters acl-number: Number of an ACL used to filter outgoing routing information, ranging from 2000 to 3999. ip-prefix-name: Name of an IP prefix list used to filter outgoing routing information, a string of 1 to 19 characters. direct: Filters direct routes.
  • Page 896: Filter-Policy Import (Bgp/Bgp-Vpn Instance View)

    2: System level Parameters acl-number: Number of an ACL used to filter incoming routing information, ranging from 2000 to 3999. ip-prefix-name: Name of an IP prefix list used to filter incoming routing information, a string of 1 to 19 characters. Description Use the filter-policy import command to configure the filtering of incoming routing information.
  • Page 897: Graceful-Restart (Bgp View)

    Use the undo graceful-restart command to disable BGP Graceful Restart capability. By default, BGP Graceful Restart capability is disabled. During main and backup boards switchover, a GR-capable BGP speaker can maintain the packet forwarding table. During restart, it may not maintain the forwarding table.
  • Page 898: Graceful-Restart Timer Wait-For-Rib

    Parameters timer: Maximum time for a peer to reestablish a BGP session, in the range 3 to 600 seconds. Description Use the graceful-restart timer restart command to configure the maximum time for a peer to reestablish a BGP session. Use the undo graceful-restart timer restart command to restore the default.
  • Page 899: Group (Bgp/Bgp-Vpn Instance View)

    An IBGP peer group is created if neither internal nor external is specified. Examples # In BGP view, create an EBGP peer group test with AS number 200, and add EBGP peers 10.1.1.1 and 10.1.2.1 into the group. <Sysname> system-view...
  • Page 900: 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 901: Log-Peer-Change

    Destination IP address. mask: Mask of the network address, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. route-policy-name: Routing policy applied to the route. The name is a string of 1 to 19 characters. 1-37...
  • Page 902: Network Short-Cut (Bgp/Bgp-Vpn Instance View)

    By default, no network route is injected. Note that: The network route to be injected must exist in the local IP routing table, and using a routing policy makes route management more flexible. The ORIGIN attribute of the network route injected with the network command is IGP.
  • Page 903: Peer Advertise-Community (Bgp/Bgp-Vpn Instance View)

    # In BGP view, advertise the community attribute to peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test advertise-community # In BGP-VPN instance view, advertise the community attribute to peer group test (the VPN has been created). 1-39...
  • Page 904: Peer Advertise-Ext-Community (Bgp/Bgp-Vpn Instance View)

    # In BGP view, advertise the extended community attribute to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test advertise-ext-community # In BGP-VPN view, advertise the extended community attribute to the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 905: Peer As-Number (Bgp/Bgp-Vpn Instance View)

    By default, the local AS number is not allowed in routes from a peer/peer group. Related commands: display bgp routing-table peer. Examples # In BGP view, configure the number of times the local AS number can appear in AS-path attribute of routes from peer 1.1.1.1 as 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 allow-as-loop 2...
  • Page 906: Peer As-Path-Acl (Bgp/Bgp-Vpn Instance View)

    AS number of a peer group, and then a newly added peer will belong to the The AS number of a peer/peer group cannot be modified directly. To do so, you have to delete the peer/peer group and configure it again.
  • Page 907: Peer Capability-Advertise Conventional

    Related commands: ip as-path, if-match as-path and apply as-path (refer to IP Routing Policy Commands in the IP Routing Volume). 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 908 # In BGP view, enable BGP route refresh for peer 160.89.2.33. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 160.89.2.33 as-number 100 [Sysname-bgp] peer 160.89.2.33 capability-advertise route-refresh # In BGP-VPN instance view, enable BGP route refresh for peer 160.89.2.33 (The VPN has been created). 1-44...
  • Page 909: Peer Connect-Interface (Bgp/Bgp-Vpn Instance View)

    Use the undo peer connect-interface command to restore the default. By default, BGP uses the outbound interface of the best route to the BGP peer/peer group as the source interface for establishing a TCP connection to the peer/peer group.
  • Page 910: Peer Default-Route-Advertise (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 [Sysname-bgp] ipv4-family vpn-instance vpn1...
  • Page 911: Peer Ebgp-Max-Hop (Bgp/Bgp-Vpn Instance View)

    # 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). <Sysname> system-view [Sysname] bgp 100...
  • Page 912: Peer Enable (Bgp View)

    You can use the argument hop-count to specify the maximum route hop count of the EBGP connection. Examples # In BGP view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network. <Sysname> system-view...
  • Page 913: Peer Fake-As (Bgp/Bgp-Vpn Instance View)

    # In BGP view, configure a fake AS number of 200 for the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test fake-as 200 # In BGP-VPN instance view, configure a fake AS number of 200 for the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 914: Peer Filter-Policy (Bgp/Bgp-Vpn Instance View)

    # 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). <Sysname> system-view [Sysname] bgp 100...
  • Page 915: Peer Ignore (Bgp/Bgp-Vpn Instance View)

    Use the undo peer group command to delete a specified peer from a peer group. By default, no peer is added into a peer group. If you have specified an AS number for the peer to be added, make sure that the as-number argument is consistent with the specified peer AS number.
  • Page 916: Peer Ip-Prefix

    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.
  • Page 917: Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test ip-prefix list1 export # In BGP-VPN view, use the IP prefix list list 1 to filter routes advertised to the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 918: Peer Log-Change (Bgp/Bgp-Vpn Instance View)

    Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer log-change command to enable the logging of session state and event information for a specified peer or peer group. Use the undo peer log-change command to remove the configuration.
  • Page 919: Peer Password

    # In BGP view, set the next hop of routes advertised to peer group test to the router itself. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test next-hop-local # In BGP-VPN instance view, set the next hop of routes advertised to peer group test to the router itself (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 920 Password, a string of 1 to 80 characters when the simple keyword is used, or when the cipher keyword and plain text password are used; a string of 24 or 108 characters when the cipher text password and the cipher keyword are used.
  • Page 921: Peer Preferred-Value (Bgp/Bgp-Vpn Instance View)

    If the preferred value specified in the routing policy is zero, the routes matching it will also use the value set with the command. For information about using a routing policy to set a preferred value, refer to the command peer { group-name | ip-address } route-policy route-policy-name { export | import } in this document, and the command apply preferred-value preferred-value in Routing Policy Commands of the IP Routing Volume.
  • Page 922: Peer Public-As-Only (Bgp/Bgp-Vpn Instance View)

    # In BGP view, carry no private AS number in BGP updates sent to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test public-as-only # In BGP-VPN instance view, carry no private AS number in BGP updates sent to the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 923: Peer Route-Limit (Bgp/Bgp-Vpn Instance View)

    By default, neither the route reflector nor the client is configured. Related commands: reflect between-clients and reflect cluster-id. Examples # In BGP view, configure the local device as a route reflector and specify the IBGP peer group test as a client. <Sysname> system-view...
  • Page 924: Peer Route-Policy (Bgp/Bgp-Vpn Instance View)

    Specifies a reconnect time, after which, the router will re-establish a connection to the peer/peer group. It has no default value and is in the range 1 to 65535 seconds. percentage-value: Threshold value for the router to display an alarm message (that is, the router displays an alarm message when the ratio of the number of received prefixes to the prefix-number reaches the percentage).
  • Page 925: Peer Route-Update-Interval (Bgp/Bgp-Vpn Instance View)

    Description Use the peer route-policy command to apply a routing policy to routes incoming from or outgoing to a peer or peer group. Use the undo peer route-policy command to remove the configuration. By default, no routing policy is applied to routes from/to the peer/peer group.
  • Page 926: Peer Substitute-As (Bgp/Bgp-Vpn Instance View)

    Examples # In BGP view, specify the interval for sending the same update to peer group test as 10 seconds. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 [Sysname-bgp] peer test route-update-interval 10 # In BGP-VPN instance view, specify the interval for sending the same update to peer group test as 10 seconds (the VPN has been created).
  • Page 927: Peer Timer (Bgp/Bgp-Vpn Instance View)

    Holdtime interval in seconds, ranging from 3 to 65535. Description Use the peer timer command to configure the keepalive interval and holdtime interval for a peer or peer group. Use the undo peer timer command to restore the default.
  • Page 928: Preference (Bgp/Bgp-Vpn Instance View)

    # In BGP view, configure preferences for EBGP, IBGP and local routes as 20, 20 and 200. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] preference 20 20 200 # In BGP-VPN instance view, configure preferences for EBGP, IBGP and local routes as 20, 20 and 200 (the VPN has been created). <Sysname> system-view [Sysname] bgp 100...
  • Page 929 By default, route reflection between clients is enabled. After a route reflector is configured, it reflects the routes of a client to other clients. If the clients of a route reflector are fully meshed, you need disable route reflection between clients to reduce routing costs.
  • Page 930: Refresh Bgp

    Usually, there is only one route reflector in a cluster. The router ID of the route reflector is the ID of the cluster. You can configure multiple route reflectors to improve network stability. In this case, using this command can configure the identical cluster ID for all the route reflectors to avoid routing loops.
  • Page 931: Reset Bgp

    Syntax reset bgp { all | as-number | ip-address [ flap-info ] | group group-name | external | internal } View User view Default Level 1: Monitor level Parameters all: Resets all BGP connections. as-number: Resets BGP connections to peers in the AS.
  • Page 932: Reset Bgp Flap-Info

    Clears the flap statistics of routes matching the AS path regular expression, which is a string of 1 to 80 characters. as-path-acl-number: Clears the flap statistics of routes matching an AS path ACL, number of which is in the range 1 to 256.
  • Page 933 Use the router-id command to specify a router ID. Use the undo router-id command to remove the router ID. To run BGP protocol, a router must have a router ID, which is an unsigned 32-bit integer, the unique ID of the router in the AS.
  • Page 934: Summary Automatic

    Use the undo summary automatic command to disable automatic summarization. By default, automatic summarization is disabled. Note that: Neither the default route nor the routes imported using the network command can be summarized automatically. The summary automatic command helps BGP limit the number of routes redistributed from IGP to reduce the size of the routing table.
  • Page 935: Timer (Bgp/Bgp-Vpn Instance View)

    When a BGP router receives an IBGP route, it checks only whether the next hop is reachable by default. If the synchronization is enabled, the IBGP route is synchronized and advertised to EBGP peers only when the route is also advertised by IGP.
  • Page 936 Timer configured using the peer timer command is preferred to the timer configured using this command. The holdtime interval must be at least three times the keepalive interval. The configured timer applies to all the BGP peers, while it becomes valid only after the corresponding BGP connections are reset. Related commands: peer timer.
  • Page 937 Table of Contents 1 IPv6 Static Routing Configuration Commands ······················································································1-1 IPv6 Static Routing Configuration Commands ·······················································································1-1 delete ipv6 static-routes all··············································································································1-1 ipv6 route-static ·······························································································································1-2...
  • Page 938: Ipv6 Static Routing Configuration Commands

    IPv6 Static Routing Configuration Commands Throughout this chapter, the term “router” refers to a router in a generic sense or a Layer 3 switch running routing protocols. EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features. IPv6 Static Routing Configuration Commands...
  • Page 939 Use the undo ipv6 route-static command to remove an IPv6 static route. An IPv6 static route that has the destination address configured as ::/0 (a prefix length of 0) is the default IPv6 route. If the destination address of an IPv6 packet does not match any entry in the routing table, this default route will be used to forward the packet.
  • Page 940 Table of Contents 1 IPv6 RIPng Configuration Commands·····································································································1-1 RIPng Configuration Commands ············································································································1-1 checkzero ········································································································································1-1 default cost (RIPng view)·················································································································1-2 display ripng ····································································································································1-2 display ripng database·····················································································································1-3 display ripng interface······················································································································1-4 display ripng route ···························································································································1-6 filter-policy export ····························································································································1-7 filter-policy import (RIPng view)·······································································································1-7 import-route ·····································································································································1-8 maximum load-balancing (RIPng view)···························································································1-9...
  • Page 941: Ipv6 Ripng Configuration Commands

    IPv6 RIPng Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features. RIPng Configuration Commands checkzero Syntax...
  • Page 942: Default Cost (Ripng View)

    RIPng process ID, in the range of 1 to 65535. Description Use the display ripng command to display the running status and configuration information of a RIPng process. If process-id is not specified, information of all RIPng processes will be displayed.
  • Page 943: Display Ripng Database

    Examples # Display the running status and configuration information of all configured RIPng processes. <Sysname> display ripng RIPng process : 1 Preference : 100 Checkzero : Enabled Default Cost : 0 Maximum number of balanced paths : 3 Update time...
  • Page 944: Display Ripng Interface

    Description Use the display ripng database command to display all active routes in the RIPng advertising database, which are sent in normal RIPng update messages. Examples # Display the active routes in the database of RIPng process 100. <Sysname> display ripng 100 database...
  • Page 945 Description Use the display ripng interface command to display the interface information of the RIPng process. If no interface is specified, information about all interfaces of the RIPng process will be displayed. Examples # Display the interface information of RIPng process 1.
  • Page 946: Display Ripng Route

    Parameters process-id: RIPng process ID, in the range of 1 to 65535. Description Use the display ripng route command to display all RIPng routes and timers associated with each route of a RIPng process. Examples # Display the routing information of RIPng process 100.
  • Page 947: Filter-Policy Export

    Filters routes redistributed from a routing protocol, currently including bgp4+, direct, isisv6, ospfv3, ripng, and static. process-id: Process number of the specified routing protocol, in the range of 1 to 65535. This argument is available only when the routing protocol is rip, ospf, or isis.
  • Page 948: Import-Route

    Process ID, in the range of 1 to 65535. The default is 1.This argument is available only when the protocol is isisv6, ospfv3, or ripng. cost: Routing metric of redistributed routes, in the range of 0 to 16. If cost value is not specified, the metric is the default metric specified by the default cost command.
  • Page 949: Maximum Load-Balancing (Ripng View)

    RIPng view Default Level 2: System level Parameters number: Maximum number of equal-cost load-balanced routes. Its value is in the range 1 to 4. Description Use the maximum load-balancing command to specify the maximum number of equal-cost routes for load balancing.
  • Page 950: Preference

    Using the route-policy keyword can set a priority for routes filtered in by the routing policy: If a priority is set in the routing policy, the priority applies to matched routes, and the priority set by the preference command applies to routes not matched.
  • Page 951: Ripng Default-Route

    Indicates that only the IPv6 default route (::/0) is advertised through the interface. originate: Indicates that the IPv6 default route (::/0) is advertised without suppressing other routes. cost: Metric of the advertised default route, in the range of 1 to 15, with a default value of 1. Description Use the ripng default-route command to advertise a default route with the specified routing metric to a RIPng neighbor.
  • Page 952: Ripng Enable

    After you execute this command, the generated RIPng default route is advertised in a route update over the specified interface. This IPv6 default route is advertised without considering whether it already exists in the local IPv6 routing table. Examples # Advertise only the default route through VLAN-interface 100.
  • Page 953: Ripng Metricout

    Additional metric to advertised routes, in the range of 1 to 16. Description Use the ripng metricout command to configure an additional metric for RIPng routes advertised by an interface. Use the undo rip metricout command to restore the default.
  • Page 954: Ripng Poison-Reverse

    None Description Use the rip poison-reverse command to enable the poison reverse function. Use the undo rip poison-reverse command to disable the poison reverse function. By default, the poison reverse function is disabled. Examples Enable the poison reverse function for RIPng update messages on VLAN-interface 100.
  • Page 955: Ripng Summary-Address

    The split horizon function is necessary for preventing routing loops. Therefore, you are not recommended to disable it. In special cases, make sure that it is necessary to disable the split horizon function before doing so. If both the poison reverse and split horizon functions are enabled, only the poison reverse function takes effect.
  • Page 956: Timers

    If the prefix and the prefix length of a route match the IPv6 prefix, the IPv6 prefix will be advertised instead. Thus, one route can be advertised on behalf of many routes. After summarization, the summary route cost is the lowest cost among summarized routes.
  • Page 957 During the garbage-collect timer length, RIPng advertises the route with the routing metric set to 16. If no update message is announced for that route before the garbage-collect timer expires, the route will be completely deleted from the routing table.
  • Page 958 Table of Contents 1 IPv6 OSPFv3 Configuration Commands ·································································································1-1 OSPFv3 Configuration Commands·········································································································1-1 abr-summary (OSPFv3 area view)··································································································1-1 area (OSPFv3 view) ························································································································1-2 bandwidth-reference························································································································1-2 default cost ······································································································································1-3 default-cost (OSPFv3 area view) ····································································································1-4 default-route-advertise·····················································································································1-5 display ospfv3··································································································································1-6 display ospfv3 interface ···················································································································1-7 display ospfv3 lsdb ··························································································································1-8 display ospfv3 lsdb statistic ···········································································································1-11...
  • Page 959 (OSPFv3 area view) ·····································································································1-40...
  • Page 960: Ipv6 Ospfv3 Configuration Commands

    IPv6 OSPFv3 Configuration Commands The term “router” in this document refers to a router in a generic sense or a Layer 3 switch. EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features. OSPFv3 Configuration Commands abr-summary (OSPFv3 area view)
  • Page 961: Area (Ospfv3 View)

    Default Level 2: System level Parameters area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address. Description Use the area command to enter OSPFv3 area view.
  • Page 962: Default Cost

    Use the undo bandwidth-reference command to restore the default value. The default value is 100 Mbps. You can configure an OSPFv3 cost for an interface with one of the following two methods: Configure the cost value in interface view. Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface bandwidth.
  • Page 963: Default-Cost (Ospfv3 Area View)

    Default Level 2: System level Parameters value: Specifies a cost for the default route advertised to the stub area, in the range of 0 to 65535. The default is 1. Description Use the default-cost command to specify the cost of the default route to be advertised to the stub area.
  • Page 964: Default-Route-Advertise

    The default route cost’s priority from high to low is: the cost set by the apply cost clause in the routing policy, the one set by the default-route-advertise command and the one set by the default cost command.
  • Page 965: Display Ospfv3

    Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. Description Use the display ospfv3 command to display the brief information of an OSPFv3 process. If no process ID is specified, OSPFv3 brief information about all processes will be displayed.
  • Page 966: Display Ospfv3 Interface

    Parameters interface-type interface-number: Interface type and interface number. statistic: Displays the interface statistics. Description Use the display ospfv3 interface command to display OSPFv3 interface information. Examples # Display OSPFv3 interface information. <Sysname> display ospfv3 interface vlan-interface 100 Vlan-interface100 is up, line protocol is up...
  • Page 967: Display Ospfv3 Lsdb

    Number of Adjacencies on the interface display ospfv3 lsdb Syntax display ospfv3 [ process-id ] lsdb [ [ external | inter-prefix | inter-router | intra-prefix | link | network | router ] [ link-state-id ] [ originate-router router-id ] | total ] View...
  • Page 968 Parameters process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535. external: Displays information about AS-external LSAs. inter-prefix: Displays information about Inter-area-prefix LSAs. inter-router: Displays information about Inter-area-router LSAs. intra-prefix: Displays information about Intra-area-prefix LSAs. link: Displays information about Link-LSAs.
  • Page 969 LSA sequence number CkSum LSA Checksum Prefix Number of Prefixes Originated by all routers. This LSA describes the collected states of the Router-LSA router's interfaces to an area. Flooded throughout a single area only. Link Number of links Each Intra-Area-Prefix-LSA contains IPv6 prefix information on a router,...
  • Page 970: Display Ospfv3 Lsdb Statistic

    Default Level 1: Monitor level Parameters None Description Use the display ospfv3 lsdb statistic command to display LSA statistics in the OSPFv3 LSDB. Examples # Display OSPFv3 LSDB statistics. <System> display ospfv3 lsdb statistic OSPFv3 Router with ID (1.1.1.1) (Process 1)
  • Page 971: Display Ospfv3 Next-Hop

    Description Neighbor-Id Neighboring router ID Next-hop Next-hop address Interface Outbound interface RefCount Reference count display ospfv3 peer Syntax display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id ] 1-12...
  • Page 972 Specifies to display neighbor information of the specified area. area-id: The ID of an area, a decimal integer that is translated into IPv4 address format by the system (in the range of 0 to 4294967295) or an IPv4 address.
  • Page 973: Display Ospfv3 Peer Statistic

    1: Monitor level Parameters None Description Use the display ospfv3 peer statistic command to display information about all OSPFv3 neighbors on the router, that is, numbers of neighbors in different states. Examples # Display information about all OSPFv3 neighbors. 1-14...
  • Page 974: Display Ospfv3 Request-List

    Total number of neighbors under the same state display ospfv3 request-list Syntax display ospfv3 [ process-id ] request-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ] View...
  • Page 975 Description Use the display ospfv3 request-list command to display OSPFv3 link state request list information. If no process is specified, the link state request list information of all OSPFv3 processes is displayed. Examples # Display the information of OSPFv3 link state request list.
  • Page 976: Display Ospfv3 Retrans-List

    Number of LSAs in the request list display ospfv3 retrans-list Syntax display ospfv3 [ process-id ] retrans-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router } [ link-state-id ] [ originate-router ip-address ] | statistics ] View...
  • Page 977: Display Ospfv3 Routing

    | asbr-routes | all | statistics ] View Any view Default Level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. ipv6-address: IPv6 address prefix. prefix-length: Prefix length, in the range 0 to 128. 1-18...
  • Page 978 Displays the OSPFv3 routing table statistics . Description Use the display ospfv3 routing command to display OSPFv3 routing table information. If no process is specified, routing table information of all OSPFv3 processes is displayed. Examples # Display OSPFv3 routing table information.
  • Page 979: Display Ospfv3 Statistics

    Any view Default Level 1: Monitor level Parameters None Description Use the display ospfv3 statistics command to display outbound/inbound OSPFv3 packet statistics on associated interface(s). Examples # Display outbound/inbound OSPFv3 packet statistics on associated interfaces. <Sysname> display ospfv3 statistics OSPFv3 Statistics...
  • Page 980: Display Ospfv3 Topology

    65535. area: Displays the topology information of the specified area. area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295) that is translated into IPv4 address format by the system or an IPv4 address. Description Use the display ospfv3 topology command to display OSPFv3 topology information.
  • Page 981: Display Ospfv3 Vlink

    Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. Description Use the display ospfv3 vlink command to display OSPFv3 virtual link information. If no process is specified, virtual link information of all OSPFv3 processes is displayed.
  • Page 982: Filter-Policy Export (Ospfv3 View)

    Specifies the ACL6 number, ranging from 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of up to 19 characters. isisv6 process-id: Specifies to filter the routes of an IPv6-IS-IS process, which is in the range of 1 to 65535.
  • Page 983: Filter-Policy Import (Ospfv3 View)

    Parameters acl6-number: Specifies an ACL number, ranging from 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of up to 19 characters. Description Use the filter-policy import command to configure OSPFv3 to filter routes computed from received LSAs.
  • Page 984: Import-Route (Ospfv3 View)

    Redistributes routes from a specified routing protocol, which can be bgp4+, direct, isisv6, ospf v3, ripng, or static. process-id: Process ID of the routing protocol, in the range 1 to 65536. It defaults to 1. This argument takes effect only when the protocol is isisv6, ospfv3, or ripng.
  • Page 985: Log-Peer-Change

    IPv6 OSPFv3 does not redistribute routes from other protocols by default. Examples # Configure to redistribute routes from RIPng and specify the type as type 2 and cost as 50. <Sysname> system-view [Sysname] ospfv3 [Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50 # Configure OSPFv3 process 100 to redistribute the routes found by OSPFv3 process 160.
  • Page 986: Ospfv3

    Default Level 2: System level Parameters maximum: Maximum number of equal-cost routes for load-balancing. Its value is in the range 1 to 4. The argument being set to 1 means no load balancing is available. Description Use the maximum load-balancing command to configure the maximum number of equal-cost routes for load-balancing.
  • Page 987: Ospfv3 Area

    Parameters process-id: OSPFv3 process ID, in the range 1 to 65535. area-id: Area ID, a decimal integer (in the range of 0 to 4294967295) that is translated into IPv4 address format by the system or an IPv4 address. instance-id: Instance ID of an interface, in the range 0 to 255. The default is 0.
  • Page 988: Ospfv3 Cost

    Parameters priority: DR priority, in the range 0 to 255. instance-id: ID of the instance an interface belongs to, in the range 0 to 255, which defaults to 0. Description Use the ospfv3 dr-priority command to set the DR priority for an interface in an instance.
  • Page 989: Ospfv3 Mtu-Ignore

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 mtu-ignore instance 1 ospfv3 network-type Syntax ospfv3 network-type { broadcast | nbma | p2mp [ non-broadcast ] | p2p } [ instance instance-id ] undo ospfv3 network-type [ instance instance-id ] 1-30...
  • Page 990: Ospfv3 Peer

    Specifies the interface to send packets in unicast mode. By default, an OSPFv3 interface whose network type is P2MP sends packets in multicast mode. instance-id: The instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use the ospfv3 network-type command to set the network type for an OSPFv3 interface.
  • Page 991: Ospfv3 Timer Dead

    Use the ospfv3 peer command to specify a neighbor and the DR priority of the neighbor. Use the undo ospfv3 peer command to remove the configuration. A router uses the priority set with the ospfv3 peer command to determine whether to send a hello packet to the neighbor rather than for DR election.
  • Page 992: Ospfv3 Timer Hello

    Instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use the ospfv3 timer hello command to configure the hello interval for an interface that belongs to an instance. Use the undo ospfv3 timer hello command to restore the default .
  • Page 993: Ospfv3 Timer Retransmit

    Parameters interval: LSA retransmission interval in seconds, ranging from 1 to 65535. instance-id: Instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use the ospfv3 timer retransmit command to configure the LSA retransmission interval for an interface in an instance.
  • Page 994: Ospfv3 Timer Poll

    Interface instance ID, in the range 0 to 255. The default is 0. Description Use the ospfv3 timer poll command to set the poll interval on an NBMA interface. Use the undo ospfv3 timer poll command to restore the default value.
  • Page 995: Preference

    The transmission delay defaults to 1s. As LSAs are aged in the LSDB (incremented by 1 every second) but not aged on transmission, it is necessary to add a delay time to the age time before sending a LSA. This configuration is important for low-speed networks.
  • Page 996 Use the preference command to specify a preference for OSPFv3 routes. Use the undo preference command to restore the default. By default, the preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150. The smaller the value is, the higher the preference is.
  • Page 997: Silent-Interface(Ospfv3 View)

    Use the undo silent-interface command to restore the default. An interface is able to send OSPFv3 packets by default. Multiple processes can disable the same interface from sending OSPFv3 packets, but use of the silent-interface command takes effect only on interfaces enabled with the current process.
  • Page 998: Stub (Ospfv3 Area View)

    The delay interval and hold interval default to 5s and 10s. An OSPFv3 router works out a shortest path tree with itself as root based on the LSDB, and decides on the next hop to a destination network according the tree. Adjusting the SPF calculation interval can restrain bandwidth and router resource from over consumption due to frequent network changes.
  • Page 999 Specifies the neighbor dead time in seconds, ranging from 1 to 32768, with the default as 40. This value must be equal to the dead seconds configured on the virtual link peer, and at least four times the value of hello seconds.
  • Page 1000 OSPFv3 enabled, because parameters such as hello, dead, retransmit and trans-delay are configured in the similar way. Both ends of a virtual link are ABRs that are configured with the vlink-peer command. Examples # Create a virtual link to 10.110.0.3.

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents