June 30, 2006
Confidential
Document Number BDTM10001-A05 Standard
BelAir100 User Guide
Using Layer 2 Tunnels
Displaying Tunnel
Configuration and
Status
show tunnels
This command displays the current tunnel configuration and status.
Example
cd /system
/system# show tunnels
Tunnel server is running, IP address 10.1.1.33
Num Remote IP Name Stat
===== ================ ==================== ====
1 10.1.1.2 bridge2 UP
2 10.1.1.2 bridge1 UP
VLAN map: 1500
3 N/C
4 N/C
5 N/C
Starting and Stopping
Layer 2 Tunneling
tunnel start [interface-vlan <VLAN_ID>] mode [local|egress]
tunnel stop
The
tunnel start
command begins tunneling operation. If the VLAN interface is
not specified, the unit’s management IP address is used to identify the local
tunnel end point. IP addresses may be manually configured or obtained by
DHCP.
If a VLAN interface is specified, it must be previously configured. Refer to
“Using Virtual LANs” on page 83.
The
mode
parameter is used when the unit is connected to other units through
backhaul links. In this case, you may want the unit to act as an egress point and
put access traffic from itself and the other nodes into the tunnel. Use
local
mode when the BelAir unit puts only its own access traffic into the tunnel. Use
egress
mode when the BelAir unit puts its own access traffic and that of many
other units into the tunnel.
The
tunnel stop
command stops all tunnel forwarding.
Adding and Removing
Layer 2 Tunnels
tunnel add <index> ip <peer_IP_address> name <stn_name>
tunnel del <index>
The
tunnel add
command creates a new tunnel to be terminated at the
specified peer IP address, which is usually the network central router. You can