Name

hub — global

Synopsis

hub ethernet hub-number 
               first-port [last-port]

Configures

Hub configuration mode

Default

None

Description

The hub command enters hub configuration mode, in which you can enter commands that configure a hub. It is applicable only to routers that are equipped with hub interfaces. hub-number is the number of the hub that you are configuring. first-port is the beginning of a range of consecutive ports to be configured as part of the hub; last-port is the last port in the range. If you omit last-port, this command adds a single port to the hub.

Example

To configure one port of a hub:

hub ethernet 0 1
  source-address 00:00:0c:ff:d0:04

To configure all ports of a hub:

hub ethernet 0 1 7
  no link-test
  auto-polarity

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.