O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

source-address — interface (hub)

Synopsis

source-address mac-address
no source-address mac-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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required