Creates a virtual bridge to connect multiple ports and devices.
No bridges are defined.
vShell prompt
(vsh)
A bridge forwards all traffic received by one port to all other entities connected to the bridge.
To connect as many entities as required to the bridge, use the link bridge command.
To log into vShell and run this command, enter the
user@ubuntu:~$ vsh create bridge
command.
To delete a bridge, use the delete bridge command.
The following example shows how to create a bridge.
(vsh) create bridge bridge_01
The following example shows how to create a bridge, link two routers and a host through the bridge, display the links, and display the bridge summary.
(vsh) create bridge BR1 (vsh) create link -bridge BR1 RT1 4/10 (vsh) create link -bridge BR1 RT2 5/12 (vsh) create link -bridge BR1 host1 0/1 (vsh) show link Name Port Name Port State ..................................................................... RT1 4/10 <--> BR1 [bridge] Up RT2 5/12 <--> BR1 [bridge] Up host1 0/1 <--> BR1 [bridge] Up (vsh) show bridge Name No.connections .................................... BR1 3