beautypg.com

Command detail bridging commands, Disable bridging

Page 13: Enable bridging

background image

Command Detail
Bridging Commands

Although routing is preferred over bridging for transmitting data across wide area connections,
occasionally bridging is required. For example, when the data packets to be transmitted are neither IP
nor IPX (such as NetBEUI, SNA or AppleTalk), or when the other end of the WAN connection only
supports bridging.

Bridging uses an intelligent learning algorithm to build up a MAC-address-to-interface mapping,
which it then uses to make forwarding or filtering decisions for each packet it receives, whether the
packet is from the LAN side or from one of the WAN connections.

disable bridging

Description: This command disables bridging over the specified interface. If the interface already has
IP/IPX routing enabled, then routing will take precedence. For example, if both bridging and IP
routing are enabled over interface profile1, IP data will be routed, and all non-IP data will be bridged.

Example:

Router> disable bridging profile1

disable learning

Description: This command enables or disables address learning for all bridging ports. The default
mode is enabled.

When learning is enabled, MAC addresses will be learned and maintained in the address table.
However, an entry will be “aged out” (removed) if the same address is not re-learned within a fixed
time period, When learning is disabled, all addresses learned so far will no longer be aged out.

enable bridging

Description: This command enables bridging over the specified interface.

enable learning

Description: This command enables or disables address learning for all bridging ports.

show bridging

Description: This command displays the bridging configuration over all interfaces.

Example:

IfName

IP

Other

------------------------------------------------------------

ppp2 disabled

enabled

isp1

enabled

disabled

lan

enabled

enabled