Name
source-address — interface (hub)
Synopsis
source-addressmac-address
no source-addressmac-address
Configures
Hub behavior
Default
All addresses are allowed
Description
The source-address
command allows you to specify a MAC address that will be the only traffic source for a specific port. In other words, only network traffic from the specified mac-address
will be allowed on the port. By default, traffic from all MAC addresses is accepted on all hub ports.
Example
The following commands restrict the traffic forwarded to port 0 of hub 4 to traffic with the source Ethernet address of 00:00:0c:ff:d0:04
.
hub ethernet 0 4 source-address 0000.0cff.d004
Get Cisco IOS in a Nutshell, 2nd Edition 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.