<<

H3C WA Series WLAN Access Points

Layer 3 - IP Routing Reference

Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com

Document Version: 6W100-20100910 Copyright © 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, , H3Care, , TOP G, , IRF, NetPilot, Neocean, NeoVTL, SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V2G, VnG, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners.

Notice

The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.

Preface

The H3C WA documentation set includes 10 command references, which describe the commands and command syntax options available for the H3C WA series WLAN access points. The Layer 3 – IP Routing Command Reference describes IP routing basics, static routing, and IPv6 static routing configuration commands. This preface includes:

z Audience

z Conventions

z About the H3C WA Documentation Set

z Obtaining Documentation

z Documentation Feedback

Audience

This documentation is intended for:

z Network planners

z Field technical support and servicing engineers

z Network administrators working with the WA series

Conventions

This section describes the conventions used in this documentation. Command conventions

Convention Description

Boldface Bold text represents commands and keywords that you enter literally as shown.

italic Italic text represents arguments that you with actual values.

Square brackets enclose syntax choices (keywords or arguments) that are [ ] optional.

Braces enclose a set of required syntax choices separated by vertical bars, { x | y | ... } from which you select one.

Square brackets enclose a set of optional syntax choices separated by vertical [ x | y | ... ] bars, from which you select one or none.

Asterisk marked braces enclose a set of required syntax choices separated by { x | y | ... } * vertical bars, from which you select least one.

Asterisk marked square brackets enclose optional syntax choices separated by [ x | y | ... ] * vertical bars, from which you may select multiple choices or none.

The argument or keyword and argument combination before the ampersand (&) &<1-n> sign can be entered 1 to n times.

# A line that starts with a pound (#) sign is comments.

GUI conventions

Convention Description

Window names, button names, field names, and menu items are in Boldface. Boldface For example, the New User appears; click OK.

Multi-level menus are separated by angle brackets. For example, File > Create > > Folder.

Symbols

Convention Description

Means reader be extremely careful. Improper operation may cause bodily injury. Means reader be careful. Improper operation may cause data loss or damage to equipment.

Means an action or information that needs special attention to ensure successful configuration or good performance.

Means a complementary description.

Means techniques helpful for you to make configuration with ease.

About the H3C WA Documentation Set

The H3C WA documentation set includes:

Category Documents Purposes

Product Marketing brochures Describe product specifications and benefits. description and Provide an in-depth description of software features and specifications Technology white papers technologies.

Compliance and safety Provides regulatory information and the safety instructions manual that must be followed during installation.

Hardware Guides you through initial installation and setup procedures to specifications Quick you quickly set up and use your AP with the minimum and installation configuration.

Guides you through hardware specifications and installation Installation guide methods to help you install your AP.

Guides you through the main functions of your AP, and Getting started guide describes how to install and log in to your AP, perform basic Software configurations, maintain software, and troubleshoot your AP. configuration Configuration guides Describe software features and configuration procedures.

Command references Provide a quick reference to all available commands.

Provides answers to some of the most frequently asked User FAQ questions on how to troubleshoot your AP.

Operations and Provide information about the product release, including the maintenance version history, hardware and software compatibility matrix, Release notes version upgrade information, technical support information, and software upgrading.

Obtaining Documentation

You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] – Provides hardware installation, software upgrading, getting started, and software feature configuration and maintenance documentation. [Products & Solutions] – Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download] – Provides the documentation released with the software version.

Documentation Feedback

You can e-mail your comments about product documentation to [email protected]. We appreciate your comments. Table of Contents

1 Applicable Models and Software Versions ·····························································································1-1

2 Feature Matrix ············································································································································2-1

3 Command/Parameter Matrix·····················································································································3-1

4 IP Routing Basics Configuration Commands·························································································4-1 IP Routing Basics Configuration Commands··························································································4-1 display ip routing-table·····················································································································4-1 display ipv6 routing-table·················································································································4-4 display ipv6 routing-table verbose···································································································4-5

5 IPv6 Static Routing Configuration Commands ······················································································5-1 IPv6 Static Routing Configuration Commands ·······················································································5-1 ipv6 -static ·······························································································································5-1

6 Static Routing Configuration Commands·······························································································6-1 Static Routing Configuration Commands································································································6-1 ip route-static ···································································································································6-1

7 Index ···························································································································································7-1

i

z The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

z Read this chapter before using an H3C WA series WLAN access point.

1 Applicable Models and Software Versions

H3C WA series WLAN access points include the WA2200 series and WA2600 series. Table 1-1 shows the applicable models and software versions. Table 1-1 Applicable models and software versions

Series Model Software version

WA2200 series access WA2210-AG points (indoors) WA2220-AG WA2200 series R 1115 WA2200 series access WA2210X-G points (outdoors) WA2220X-AG

WA2610-AGN WA2600 series access WA2612-AGN R 1106 points (indoors) WA2600 series WA2620-AGN

WA2600 series access WA2610E-AGN R 1109 points (enhanced) WA2620E-AGN

1-1 2 Feature Matrix

z Support of the H3C WA series WLAN access points for features, commands and parameters may vary by device model. See this document for information.

z For information about feature support, see Table 2-1. For information about command and parameter support, see Table 3-1.

z The term AP in this document refers to common APs, wireless bridges, or mesh APs.

Table 2-1 Feature matrix

Document Feature WA2200 series WA2600 series

Fundamentals HTTPS Not supported Supported Configuration Guide

802.11n radio mode Not supported Supported WLAN Configuration 802.11n bandwidth mode Not supported Supported Guide 802.11n rate configuration Not supported Supported

Supported on Layer 2 – LAN Optical Ethernet interface WA2210X-G/WA2220X- Not supported Switching AG only Configuration Guide GE interface Not supported Supported

Layer 3 – IP Services DHCP server configuration Not supported Supported Configuration Guide DHCPv6 configuration Not supported Supported

IP Multicast IGMP snooping configuration Not supported Supported Configuration Guide MLD snooping configuration Not supported Supported

Security Configuration SSH2.0 Not supported Supported Guide

2-1 3 Command/Parameter Matrix

Table 3-1 Command/Parameter matrix

Document Module Command/Parameter WA2200 series WA2600 series

display ip https Not supported Supported

Fundamentals ip https acl Not supported Supported Command HTTP commands ip https certificate Not supported Supported Reference access-control-policy

ip https enable Not supported Supported

a-mpdu enable Not supported Supported

a-msdu enable Not supported Supported

channel band-width Not supported Supported

client dot11n-only Not supported Supported

Only APs that Only APs that WLAN service support the support the commands preamble { long | short } 802.11b/g radio 802.11b/g radio mode support this mode support this command. command.

Keywords dot11an and radio- Supported dot11gn not supported WLAN Command short-gi enable Not supported Supported Reference Only APs that Only APs that dot11a { disabled-rate | support 802.11a support 802.11a mandatory-rate | radio mode radio mode supported-rate } rate-value support this support this command. command.

dot11n mandatory Not supported Supported WLAN RRM maximum-mcs commands dot11n support Not supported Supported maximum-mcs

Only APs that Only APs that support the support the power-constraint 802.11a radio 802.11a radio power-constraint mode support this mode support this command. command.

3-1 Document Module Command/Parameter WA2200 series WA2600 series

The maximum number of broadcast packets pps max-pps pps max-pps broadcast-suppression that can be ranges from 1 to ranges from 1 to { ratio | pps max-pps } forwarded on an 148810. 1488100. Ethernet interface per second

The maximum Layer 2 – LAN number of multicast Switching pps max-pps pps max-pps packets allowed on multicast-suppression Command ranges from 1 to ranges from 1 to an Ethernet { ratio | pps max-pps } Reference 148810. 1488100. interface per second

The maximum number of unknown pps max-pps pps max-pps unicast packets unicast-suppression { ratio ranges from 1 to ranges from 1 to allowed on an | pps max-pps } 148810. 1488100. Ethernet interface per second

DHCP server configuration DHCP commands Not supported Supported commands

display ipv6 dhcp client [ interface interface-type Not supported Supported interface-number ]

Layer 3 - IP display ipv6 dhcp client Services statistics [ interface Not supported Supported Command DHCPv6 interface-type Reference commands interface-number ] display ipv6 dhcp duid Not supported Supported

reset ipv6 dhcp client statistics [ interface Not supported Supported interface-type interface-number ]

3-2

z The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

z Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.

z The interface types and the number of interfaces vary by AP model.

4 IP Routing Basics Configuration Commands

z The term router in this document refers to both routers and APs configured with routing capabilities.

z Support for IPv6 depends on the AP model.

IP Routing Basics Configuration Commands display ip routing-table

Syntax display ip routing-table [ verbose ] View Any view Default Level 1: Monitor level Parameters verbose: Displays detailed routing table information, including that for inactive routes. With this keyword absent, the command displays only summary information about active routes. Description Use the display ip routing-table command to display brief information about active routes in the routing table. 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, preference, cost, next hop and outbound interface. This command only displays the routes currently in use, that is, the optimal routes.

4-1

Use the display ip routing-table verbose command to display detailed information about all routes in the routing table. This command displays detailed information about all active and inactive routes, including the statistics of the entire routing table and information for each route. Examples # Display brief information about active routes in the routing table. display ip routing-table Routing Tables: Public Destinations : 3 Routes : 3 Destination/Mask Proto Pre Cost NextHop Interface 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 192.168.0.0/24 Static 60 0 0.0.0.0 NULL0

Table 4-1 display ip routing-table command output description

Field Description

Destinations Number of destination addresses

Routes Number of routes

Destination/Mask Destination address/mask length

Proto Protocol that presents the route

Pre Priority of the route

Cost Cost of the route

Nexthop Address of the next hop on the route

Outbound interface for packets to be forwarded along Interface the route

# Display detailed information about all routes in the routing table. display ip routing-table verbose Routing Table : Public Destinations : 5 Routes : 5 Destination: 0.0.0.0/0 Protocol: Static Process ID: 0 Preference: 60 Cost: 0 NextHop: 1.1.4.2 Interface: BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 : NULL State: Inactive Adv WaitQ Age: 05h37m52s Tag: 0 Destination: 1.1.1.0/24 Protocol: Static Process ID: 0 Preference: 60 Cost: 0 NextHop: 2.2.2.2 Interface: BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0

4-2

Tunnel ID: 0x0 Label: NULL State: Inactive Adv WaitQ Age: 05h04m52s Tag: 0 Destination: 127.0.0.0/8 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 1d19h42m41s Tag: 0 Destination: 127.0.0.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 1d19h42m43s Tag: 0 Destination: 192.168.0.0/24 Protocol: Static Process ID: 0 Preference: 60 Cost: 0 NextHop: 0.0.0.0 Interface: NULL0 BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active Adv Age: 00h00m33s Tag: 0 Displayed first are statistics for the whole routing table, followed by detailed description of each route (in sequence). Table 4-2 display ip routing-table verbose command output description

Field Description

Destination Destination address/mask length

Protocol Protocol that presents the route

Process ID Process ID

Preference Priority of the route

Cost Cost of the route

NextHop Address of the next hop on the route

Interface Outbound interface for packets to be forwarded along the route

BkNexthop Address of the backup next hop

BkInterface Backup interface

RelyNextHop The next hop address obtained through routing stack.

Neighbour Neighboring address determined by Routing Protocol

4-3

Field Description

Tunnel ID Tunnel ID

Label Label

Route status:

Active This is an active unicast route.

Adv This route can be advertised.

Delete This route is deleted.

Gateway This is an indirect route.

Number of holddown routes. Holddown is a route advertisement policy used in some distance vector (D-V) routing protocols, such as RIP, to avoid the propagation of some incorrect routes. It distributes Holddown a Holddown route during a period regardless of whether a new route to the same destination is found. For details, refer to corresponding routing protocols.

Int The route was discovered by an Interior Gateway Protocol (IGP).

The route is not advertised when the router advertises routes based NoAdv on policies.

Normally, among routes to a destination, the route with the highest State preference is installed into the core routing table and advertised, NotInstall while a NotInstall route cannot be installed into the core routing table but may be advertised.

The packets matching a Reject route will be dropped. Besides, the router sends ICMP unreachable messages to the sources of the Reject dropped packets. The Reject routes are usually used for network testing.

A static route is not lost when you perform the save operation and Static then restart the router. Routes configured manually are marked as static.

Unicast Unicast routes

Inactive Inactive routes

Invalid Invalid routes

WaitQ The route is the WaitQ during route recursion.

TunE 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, Age and second from left to right.

Tag Route tag

display ipv6 routing-table

Syntax display ipv6 routing-table View Any view

4-4

Default Level 1: Monitor level Parameters None Description 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. Examples # Display brief routing table information display ipv6 routing-table Routing Table : Destinations : 1 Routes : 1

Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference : 0 Interface : InLoop0 Cost : 0 Table 4-3 display ipv6 routing-table command output description

Field Description

Destination IPv6 address of the destination network/host

NextHop Nexthop address

Preference Route preference

Interface Outbound interface

Protocol Routing protocol

Cost Route cost

display ipv6 routing-table verbose

Syntax display ipv6 routing-table verbose View Any view Default Level 1: Monitor level Parameters None 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.

4-5

Examples # Display detailed information about all active and inactive routes. display ipv6 routing-table verbose Routing Table : Destinations : 1 Routes : 1

Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference : 0 Interface : InLoopBack0 Protocol : Direct State : Active Cost : 0

Age : 21659sec Table 4-4 display ipv6 routing-table verbose command output description

Field Description

Destination Destination IPv6 address

PrefixLength Prefix length of the address

Nexthop Next hop

Preference Routing preference

Interface Outbound interface

Protocol Routing protocol

State of the route, Active, Inactive, Adv (advertised), State or NoAdv (not advertised)

Cost Cost of the route

Age Time that has elapsed since the route was generated

4-6

z The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

z Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.

z The interface types and the number of interfaces vary by AP model.

5 IPv6 Static Routing Configuration Commands

z The term router in this document refers to both routers and APs configured with routing capabilities.

z Support for IPv6 static routing commands depends on the AP model.

IPv6 Static Routing Configuration Commands ipv6 route-static

Syntax For a broadcast interface (Ethernet interface, VLAN interface), or NBMA interface (X25 or frame relay interface): ipv6 route-static ipv6-address prefix-length nexthop-address [ preference preference-value ] undo ipv6 route-static ipv6-address prefix-length [ nexthop-address ] [ preference preference-value ] View System view Default Level 2: System level Parameters ipv6-address prefix-length: IPv6 address and prefix length. nexthop-address: Next hop IPv6 address. preference-value: Route preference value, in the range of 1 to 255. The default is 60. Description Use the ipv6 route-static command to configure an IPv6 static route.

5-1

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. While configuring a static route, specify the next hop address as needed. If the output interface of the static route is a broadcast interface, such as an Ethernet interface or a VLAN interface, you must specify the next hop address. Related commands: display ipv6 routing-table (IP Routing Basics in the Layer 3 – IP Routing Command Reference). Examples # Configure a static IPv6 route, with the destination address being 1:1:2::/24 and next hop being 1:1:3::1. system-view [Sysname] ipv6 route-static 1:1:2:: 24 1:1:3::1

5-2

z The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

z Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.

z The interface types and the number of interfaces vary by AP model.

6 Static Routing Configuration Commands

The term router in this document refers to both routers and APs configured with routing capabilities.

Static Routing Configuration Commands ip route-static

Syntax ip route-static dest-address { mask | mask-length } next-hop-address [ preference preference-value ] undo ip route-static dest-address { mask | mask-length } [ next-hop-address ] [ preference preference-value ] View System view Default Level 2: System level Parameters dest-address: Destination IP address of the static route, in dotted decimal notation. mask: Mast of the IP address, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. next-hop-address: IP address of the next hop, in dotted decimal notation. preference preference-value : Specifies the preference of the static route, which is in the range of 1 to 255 and defaults to 60.

6-1

Description Use the ip route-static command to configure a unicast static route. Use the undo ip route-static command to delete a unicast static route. When configuring a unicast static route, note that: 1) If the destination IP address and the mask are both 0.0.0.0, the configured route is a default route. If routing table searching fails, the router will use the default route for packet forwarding. 2) Different route management policies can be implemented for different route preference configurations. For example, specifying the same preference for different routes to the same destination address enables load sharing, while specifying different preferences for these routes enables route backup. 3) Do not specify the IP address of a local interface as the next hop address. Otherwise, the route configuration does not take effect. Related commands: display ip routing-table (IP Routing Basics in the Layer 3 – IP Routing Command Reference).

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, such as a VLAN interface.

Examples # Configure a static route, whose destination address is 1.1.1.1/24, and next hop address is 2.2.2.2. system-view [Sysname] ip route-static 1.1.1.1 24 2.2.2.2

6-2

7 Index

D I

D

display ip routing-table 4-1 display ipv6 routing-table verbose 4-5 display ipv6 routing-table 4-4

I

ip route-static 6-1 ipv6 route-static 5-1

7-1