📄 configuration transparent bridging.htm
字号:
|
|----------|
LAN4
</pre>
<p>In this example, the router acts as two different bridges, one
between Lan1 and Lan2, and one between Lan3 and Lan4. Frames from
Lan1 are bridged to Lan2, but not to Lan3 or Lan4, and vice
versa. In other words, frames are bridged only among interfaces
in the same group. This grouping feature is commonly used to
separate networks or users. </p>
<pre>
interface ethernet 0
bridge group 1
</pre>
<pre> interface ethernet 1
bridge group 1 </pre>
<pre> interface ethernet 2
bridge group 2 </pre>
<pre> interface ethernet 3
bridge group 2 </pre>
<pre> bridge group 1 protocol ieee
bridge group 2 protocol dec </pre>
<h3>Example # 3 : Bridging Over a Wide Area Network</h3>
<pre>
- -
| ----------S0 ---------- |
| E0| ROUTER |--- | ROUTER |E0 |
LAN1|---| A | / S0| B |---|LAN2
| | | ----| | |
| ---------- ---------- |
- -
</pre>
<p>In this example, the two LANs are connected by a T1 link. </p>
<pre>
Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 1 bridge-group 1</pre>
<pre> Interface serial 0 Interface serial 0
bridge-group 1 bridge-group 1 </pre>
<pre> bridge group 1 protocol ieee bridge group 1 protocol ieee </pre>
<h3>Example # 4 : Remote Transparent Bridging Over X.25</h3>
<p>This example uses the same topology as Example 3, but instead
of the lease line that connects the two routers, let's say that
Router A and Router B are connected through an X.25 cloud. </p>
<pre>
Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 1 bridge-group 1</pre>
<pre> Interface serial 0 Interface serial 0
encapsulation x25 encapsulation x25
x25 address 31370019027 x25 address 31370019134
x25 map bridge 31370019134broadcast x25 map bridge 31370019027 broadcast
bridge-group 1 bridge-group 1 </pre>
<pre> bridge group 1 protocol ieee bridge group 1 protocol ieee </pre>
<h3>Example # 5 : Remote Transparent Bridging Over Frame Relay
With No Multicast</h3>
<p>This example uses the same topology as Example 3, but instead
of the lease line that connects the two routers, let's say that
Router A and Router B are connected through a Public Frame Relay
network. The Frame Relay bridging software uses the same
spanning-tree algorithm as the other bridging functions, but it
allows packets to be encapsulated for transmission across a Frame
relay network. The commands specify Internet to DLCI address
mapping and maintain a table of both the Ethernet and DLCIs. </p>
<pre>
Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 1 bridge-group 1
</pre>
<pre> Interface serial 0 Interface serial 0
encapsulation frame-relay encapsulation frame-relay
frame-relay map bridge 25 broadcast frame-relay map bridge 30 broadcast
bridge-group 1 bridge-group 1 </pre>
<pre> bridge group 1 protocol dec bridge group 1 protocol dec </pre>
<h3>Example # 6 : Remote Transparent Bridging Over Frame Relay
With Multicast</h3>
<p>This example uses the same topology as Example 5, but here the
Frame Relay network supports a multicast facility. The multicast
facility learns about the other bridges on the network,
eliminating the need for the <b>frame-relay map</b> command. </p>
<pre>
Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 2 bridge-group 2</pre>
<pre> Interface serial 0 Interface serial 0
encapsulation frame-relay encapsulation frame-relay
bridge-group 2 bridge-group 2 </pre>
<pre> bridge group 2 protocol dec bridge group 2 protocol dec </pre>
<h3>Example # 7 : Remote Transparent Bridging Over Frame Relay
With multi- sub-interface</h3>
<p>To use a sub-interface, you must define <b>bridge-group</b>
statements on both the sub-interface and the main interface. </p>
<pre>
Router A Router B
-------- --------
interface ethernet 0 interface ethernet 0
bridge-group 2 bridge-group 2</pre>
<pre> interface serial 0 interface serial 0
encapsulation frame-relay encapsulation frame-relay
bridge-group 2 bridge-group 2
! !
interface Serial0.1 point-to-point interface Serial0.1 point-to-point
frame-relay interface-dlci 101 frame-relay interface-dlci 100
bridge-group 2 bridge-group 2
! !
interface Serial0.2 point-to-point interface Serial0.2 point-to-point
frame-relay interface-dlci 103 frame-relay interface-dlci 103
bridge-group 2 bridge-group 2 </pre>
<pre> bridge group 2 protocol dec bridge group 2 protocol dec </pre>
<h3>Example # 8 : Remote Transparent Bridging Over SMDS</h3>
<pre>
Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 2 bridge-group 2
</pre>
<pre> Interface Hssi0 Interface Hssi0
encapsulation smds encapsulation smds smds
address c449.1812.0013 smds address c448.1812.0014 s
mds multicast BRIDGE smds multicast BRIDGE
e449.1810.0040 e449.1810.0040
bridge-group 2 bridge-group 2 </pre>
<pre> bridge group 2 protocol dec bridge group 2 protocol dec </pre>
<h3>Example # 9 : Remote Transparent Bridging With Circuit Group</h3>
<p>In normal operation, parallel network segments can't all be
carrying traffic at the same time. This is necessary to prevent
frame looping. In the case of serial lines, however, you may want
to increase the available bandwidth by using multiple parallel
serial lines. Use the "circuit- group" option to do
this. </p>
<pre>
- -
| ----------S0 S0---------- |
| | |---/---| | |
| | ROUTER |S1 S1| ROUTER | |
| E0| |---/---| |E0 |
LAN1|---| A |S2 S2| B |---|LAN2
| | |---/---| | |
| ---------- ---------- |
- -
</pre>
<pre>Router A Router B
-------- --------
Interface ethernet 0 Interface ethernet 0
bridge-group 2 bridge-group 2 </pre>
<pre>Interface serial0 Interface serial0
bridge-group 2 bridge-group 2
bridge-group 2 circuit-group 1 bridge-group 2 circuit-group 1 </pre>
<pre>Interface serial1 Interface serial1
bridge-group 2 bridge-group 2
bridge-group 2 circuit-group 1 bridge-group 2 circuit-group 1 </pre>
<pre>Interface serial2 Interface serial2
bridge-group 2 bridge-group 2
bridge-group 2 circuit-group 1 bridge-group 2 circuit-group 1 </pre>
<pre>bridge group 2 protocol dec bridge group 2 protocol dec </pre>
<hr>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -