bridge address
Use this command to add a static forwarding table entry for the bridge.
Use the no parameter with this command to remove the entry for the bridge
Note: The bridge <1-32> address XXXX.XXXX.XXXX (forward|discard) IFNAME CLI is applicable to the customer and provider bridges and not to provider-edge bridge.
Command Syntax
bridge <1-32> address XXXX.XXXX.XXXX (forward|discard) IFNAME
bridge <1-32> address XXXX.XXXX.XXXX (forward|discard) IFNAME vlan <2-4094>
bridge <1-32> address XXXX.XXXX.XXXX (forward|discard) IFNAME vlan <2-4094> svlan <2-4094>
no bridge <1-32> address XXXX.XXXX.XXXX
no bridge <1-32> address XXXX.XXXX.XXXX vlan <2-4094>
no bridge <1-32> address XXXX.XXXX.XXXX vlan <2-4094> svlan <2-4094>
Parameters
<1-32>
Bridge identifier
XXXX.XXXX.XXXX
Media Access Control (MAC) address in HHHH.HHHH.HHHH format.
forward
Forward matching frames.
discard
Discard matching frames.
IFNAME
Interface on which the frame comes out.
vlan
Identity of the VLAN in the range of <2-4094>.
svlan
Identity of the SVLAN in the range of <2-4094>.
Default
By default, bridge address is disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#bridge 1 address 0000.000a.0021 forward eth0
(config)#no bridge 1 address 0000.000a.0021
(config)#bridge 1 address 0011.2222.3333 forward xe5 vlan 23
(config)#no bridge 1 address 0011.2222.3333 vlan 23
(config)#bridge 1 address 0011.2222.3333 forward xe5 vlan 11 svlan 21
(config)#no bridge 1 address 0011.2222.3333 vlan 11 svlan 21
(config)#bridge 1 address 0011.2222.3334 discard xe6 vlan 12 svlan 22
(config)#no bridge 1 address 0011.2222.3334 vlan 12 svlan 22
Last modified date: 10/12/2023