
Configuring LAN Interfaces
LAN Interface Configuration Examples
IC-65
Cisco IOS Interface Configuration Guide
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
Comentarios a estos manuales