H3C S5120-EI Series Configuration Manual

Manual is about: Ethernet switches

Summary of S5120-EI Series

  • Page 1

    H3c s5120-ei series ethernet switches layer 3 ip routing configuration guide hangzhou h3c technologies co., ltd. Http://www.H3c.Com.

  • Page 2

    Copyright © 2003-2010, hangzhou h3c technologies co., ltd. And its licensors all rights reserved no part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of hangzhou h3c technologies co., ltd. Trademarks h3c, , aolynk, , h 3 care, , top g, , i...

  • Page 3

    Preface the h3c s5120-ei documentation set includes 13 configuration guides, which describe the software features for the h3c s5120-ei series ethernet switches and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you appl...

  • Page 4

    4 conventions this section describes the conventions used in this documentation set. Command conventions convention description boldface bold text represents commands and keywords that you enter literally as shown. Italic italic text represents arguments that you replace with actual values. [ ] squa...

  • Page 5

    5 network topology icons convention description represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or layer 3 switch. Represents a generic switch, such as a layer 2 or layer 3 switch, or a router that supports layer 2 for...

  • Page 6

    6 about the h3c s5120-ei documentation set category documents purposes product description and specifications marketing brochures describe product specifications and benefits. Technology white papers provide an in-depth description of software features and technologies. Card datasheets describe card...

  • Page 7

    7 obtaining documentation you can access the most up-to-date h3c product documentation on the world wide web at http://www.H3c.Com . Click the links on the top navigation bar to obtain different categories of product documentation: [technical support & documents > technical documents] – provides har...

  • Page 8

    8 table of contents preface ·········································································································································································· 3 audience ··························································································...

  • Page 9

    9 ip routing overview routing routers are responsible for forwarding data packets along networks. Upon receiving a packet, a router determines the optimal path based on the destination address. When the packet reaches the last router in the path, it then forwards the packet to the intended destinati...

  • Page 10

    10 contents of a routing table a routing table includes the following key items: • destination address: destination ip address or destination network. • network mask: specifies, in company with the destination address, the address of the destination network. A logical and operation between the desti...

  • Page 11

    11 router a router b router h router e 16.0.0.2 17.0.0.3 15.0.0.0 12.0.0.0 17.0.0.0 11.0.0.0 16.0.0.0 13.0.0.0 14.0.0.0 router c router d router f router g 11.0.0.1 12.0.0.1 12.0.0.2 15.0.0.1 15.0.0.2 17.0.0.1 16.0.0.1 13.0.0.1 13.0.0.2 14.0.0.1 14.0.0.2 14.0.0.3 14.0.0.4 17.0.0.2 11.0.0.2 13.0.0.3 ...

  • Page 12

    12 the following table lists some routing protocols and the default priorities for routes found by them: routing approach priority direct 0 static 60 unknown 256 • the smaller the priority value, the higher the priority. • the priority for a direct route is always 0, which you cannot change. Any oth...

  • Page 14

    14 static routing configuration introduction static route a static route is manually configured, but if a network’s topology is simple, you only need to configure static routes for the network to function. The proper configuration and usage of static routes can improve network performance and ensure...

  • Page 15

    15 while configuring a static route, you can specify either the output interface or the next hop address depending on the specific occasion. For a null0 interface, if the output interface has already been configured, there is no need to configure the next hop address in fact, all the route entries m...

  • Page 16

    16 detecting reachability of the static route’s nexthop if a static route fails due to a topology change or a fault, the connection will be interrupted. To improve network stability, the system needs to detect reachability of the static route’s next hop and switch to a backup route once the next hop...

  • Page 18

    18 [switchc] ip route-static 0.0.0.0 0.0.0.0 1.1.5.5 3. Configure the hosts. The default gateways for hosts a, b and c are 1.1.2.3, 1.1.6.1 and 1.1.3.1, respectively. The configuration procedure is omitted. 4. Display the configuration. Display the ip routing table of switch a. [switcha] display ip ...

  • Page 19

    19 reply from 1.1.2.2: bytes=32 time=1ms ttl=255 ping statistics for 1.1.2.2: packets: sent = 4, received = 4, lost = 0 (0% loss), approximate round trip times in milli-seconds: minimum = 1ms, maximum = 1ms, average = 1ms use the tracert command on host b to check reachability to host a. [hostb] tra...

  • Page 20

    20 ipv6 static routing configuration introduction to ipv6 static routing a static route is manually configured and works well in simple networks. Proper configuration and use can improve network performance and ensure enough bandwidth for high priority applications. Unfortunately, static routes also...

  • Page 22

    22 configuration procedure 1. Configure the ipv6 addresses of all vlan interfaces (omitted) 2. Configure ipv6 static routes. Configure the default ipv6 static route on switcha. System-view [switcha] ipv6 route-static :: 0 4::2 configure two ipv6 static routes on switchb. System-view [switchb] ipv6 r...

  • Page 23

    23 reply from 3::1 bytes=56 sequence=1 hop limit=254 time = 63 ms reply from 3::1 bytes=56 sequence=2 hop limit=254 time = 62 ms reply from 3::1 bytes=56 sequence=3 hop limit=254 time = 62 ms reply from 3::1 bytes=56 sequence=4 hop limit=254 time = 63 ms reply from 3::1 bytes=56 sequence=5 hop limit...

  • Page 24

    24 obtaining support for your product register your product warranty and other service benefits start from the date of purchase, so it is important to register your product quickly to ensure you get full use of the warranty and other service benefits available to you. Warranty and other service bene...

  • Page 25

    25 access software downloads software updates are the bug fix / maintenance releases for the version of software initially purchased with the product. In order to access these software updates you must first register your product on the web site at http://www.H3cnetworks.Com, go to support, product ...

  • Page 26

    26 acronyms # a b c d e f g h i k l m n o p q r s t u v w x z acronym full spelling # return 10ge ten-gigabitethernet a return aaa authentication, authorization and accounting abc activity based costing abr area border router ac alternating current ack acknowledgement acl access control list acs aut...

  • Page 27

    27 acronym full spelling aux auxiliary (port) avf active virtual forwarder b return bas broadband access server bc bearer control bdr backup designated router be best effort bfd bidirectional forwarding detection bgp border gateway protocol bims branch intelligent management system bootp bootstrap p...

  • Page 28

    28 acronym full spelling chap challenge handshake authentication protocol cidr classless inter-domain routing cir committed information rate cist common and internal spanning tree cli command line interface clv code/length/value clnp connectionless network protocol cpe customer premise equipment cpo...

  • Page 29

    29 acronym full spelling dldp device link detection protocol dn distinguished name dns domain name system dod downstream on demand dos denial of service dr designated router dsa digital signature algorithm dscp differentiated services code point priority dsp digital signal processor (and domain spec...

  • Page 30

    30 acronym full spelling fdi forward defect indication fec forwarding equivalence class ffd fast failure detection ff fixed filter fg forwarding group fib forwarding information base fifo first in first out fqdn full qualified domain name fr frame relay frr fast reroute frtt fairness round trip time...

  • Page 31

    31 acronym full spelling hvrp hierarchy vlan register protocol hwtacacs huawei terminal access controller access control system i return ia incoming access or identity association iana internet assigned number authority ibgp internal border gateway protocol ibm international business machines icmp i...

  • Page 32

    32 acronym full spelling isdn integrated services digital network is-is intermediate system-to-intermediate system intra-domain routing information exchange protocol iso international organization for standardization isp internet service provider issu in service software upgrade ist internal spannin...

  • Page 33

    33 acronym full spelling lr line rate lrtt loop round trip time ls link state lsa link state advertisement lsack link state acknowledgment lsdb link state database lsp label switch path (and link state packet) lspagent label switched path agent lspdu link state protocol data unit lspm label switch p...

  • Page 34

    34 acronym full spelling mff mac forced forwarding mgv mac-based guest vlan mib management information base mip maintenance association intermediate point mld multicast listener discovery protocol mld-snooping multicast listener discovery snooping mmc meet-me conference modem modulator/demodulator m...

  • Page 35

    35 acronym full spelling ncp network control protocol nd neighborhood discovery nda netstream data analyzer ndc network data collector ndp neighbor discovery protocol net network entity title netbios network basic input/output system nhlfe next hop label forwarding entry nlb network load balancing n...

  • Page 36

    36 acronym full spelling oui organizationally unique identifier p return p provider p2mp point to multipoint p2p point to point pap password authentication protocol pafv port-based auth-fail vlan pbr policy-based route pcb printed circuit board pcm pulse code modulation pd powered device, prefix del...

  • Page 37

    37 acronym full spelling psnp partial sequence number packet ptmp or p2mp point-to-multipoint ptp or p2p point-to-point pvc permanent virtual channel pw pseudo wires pxe pre-boot execution environment q return qacl qos/acl qinq 802.1q in 802.1q qos quality of service qqic querier's query interval co...

  • Page 38

    38 acronym full spelling rrppd rapid ring protection protocol data unit rs router solicitation rsa revest-shamir-adleman algorithm rsb reservation state block rsoh regenerator section overhead rstp rapid spanning tree protocol rsvp resource reservation protocol rsvp-te resource reservation protocol ...

  • Page 39

    39 acronym full spelling snmp simple network management protocol snp sequence number packet snpa sub-network points of attachment soh section overhead sonet synchronous optical network soo site-of-origin sp strict priority queuing spe superstratum pe/sevice provider-end pe spf shortest path first sp...

  • Page 40

    40 acronym full spelling tls transparent lan service tlv type-length-value tos type of service tp traffic policing tpid tag protocol identifier trip trigger rip ts traffic shaping ttl time to live tty true type terminal u return u/l universal/local udp user datagram protocol upe under-layer pe or us...

  • Page 41

    41 acronym full spelling vt virtual tributary vty virtual type terminal w return wan wide area network wfq weighted fair queuing wins windows internet naming service wlan wireless local area network wred weighted random early detection wrr weighted round robin wtr wait-to-restore www world wide web ...

  • Page 42

    42 index configuring basic static route ............................................ 17 ipv6 static routing ..................................... 20, 21 static route ..................................................... 15 static route (ipv6 static routing) ........................ 20 static routing...

  • Page 43

    43 default route .................................................. 14 default route (ipv6 static routing) ...................... 20 detecting nexthop reachability ......................... 16 detecting nexthop reachability through track ...... 16 dynamic (ip routing) ..................................