Cisco Systems IC-23 manual Hub Configuration Examples, Hub Port Startup Examples, IC-65

Models: IC-23

1 46
Download 46 pages 40.2 Kb
Page 43
Image 43
Hub Configuration Examples

Configuring LAN Interfaces

LAN Interface Configuration Examples

Hub Configuration Examples

The following sections provide examples of hub configuration:

Hub Port Startup Examples

Source Address for an Ethernet Hub Port Configuration Examples

Hub Port Shutdown Examples

SNMP Illegal Address Trap Enablement for Hub Port Example

Hub Port Startup Examples

The following example configures port 1 on hub 0 of Ethernet interface 0:

hub ethernet 0 1 no shutdown

The following example configures ports 1 through 8 on hub 0 of Ethernet interface 0:

hub ethernet 0 1 8 no shutdown

Source Address for an Ethernet Hub Port Configuration Examples

The following example configures the hub to allow only packets from MAC address 1111.2222.3333 on port 2 of hub 0:

hub ethernet 0 2 source-address 1111.2222.3333

The following example configures the hub to remember the first MAC address received on port 2, and allow only packets from that learned MAC address:

hub ethernet 0 2 source-address

Hub Port Shutdown Examples

The following example shuts down ports 3 through 5 on hub 0:

hub ethernet 0 3 5 shutdown

The following example shuts down port 3 on hub 0:

hub ethernet 0 3 shutdown

Cisco IOS Interface Configuration Guide

IC-65

Page 43
Image 43
Cisco Systems IC-23 manual Hub Configuration Examples, Hub Port Startup Examples, Hub Port Shutdown Examples, IC-65