bridgetable¶
The following operations can be performed on "bridgetable":
unset| show| clear| add| set| rm|
unset bridgetable¶
Use this command to remove bridgetable settings.Refer to the set bridgetable command for meanings of the arguments.
Synopsis¶
unset bridgetable
show bridgetable¶
Displays the bridge table entries and the configured time-out values for these entries.
Synopsis¶
show bridgetable
Arguments¶
Output¶
bridgeAge Time-out value for the bridge table entries, in seconds. The new value applies only to the entries that are dynamically learned after the new value is set. Previously existing bridge table entries expire after the previously configured time-out value.
mac The MAC address of the target.
ifnum The interface on which the address was learned.
vlan The VLAN in which this MAC address resides.
vxlan The VXLAN in which this MAC address resides.
vtep The IP address of the destination VXLAN tunnel endpoint where the Ethernet MAC ADDRESS resides.
vni The VXLAN VNI Network Identifier (or VXLAN Segment ID) to use to connect to the remote VXLAN tunnel endpoint. If omitted the value specified as vxlan will be used.
deviceVlan The vlan on which to send multicast packets when the VXLAN tunnel endpoint is a muticast group address.
flags Display flags,
type Whether static or dynamic
channel The Tunnel through which bridge entry is learned.
controlPlane This bridge table entry is populated by a control plane protocol
devno count stateflag
Example¶
show bridgetable
clear bridgetable¶
Remove entries from bridge table
Synopsis¶
clear bridgetable [-vlan
Arguments¶
vlan VLAN whose entries are to be removed. Minimum value: 1 Maximum value: 4094
ifnum INTERFACE whose entries are to be removed.
vxlan VXLAN whose entries are to be removed. Minimum value: 1 Maximum value: 16777215
add bridgetable¶
Add static mac-vtep mappings per vxlan
Synopsis¶
add bridgetable -mac
Arguments¶
mac The MAC address of the target.
vxlan The VXLAN to which this address is associated. Minimum value: 1 Maximum value: 16777215
vtep The IP address of the destination VXLAN tunnel endpoint where the Ethernet MAC ADDRESS resides.
vni The VXLAN VNI Network Identifier (or VXLAN Segment ID) to use to connect to the remote VXLAN tunnel endpoint. If omitted the value specified as vxlan will be used. Minimum value: 1 Maximum value: 16777215
deviceVlan The vlan on which to send multicast packets when the VXLAN tunnel endpoint is a muticast group address. Minimum value: 1 Maximum value: 4094
Example¶
add bridgetable -mac 52:f2:46:e6:ed:67 -vxlan 100 -vtep 172.16.1.24 add bridgetable -mac c2:76:29:4a:fe:9e -vxlan 100 -vtep 192.168.7.1 -vni 200 add bridgetable -mac 00:00:00:00:00:00 -vxlan 100 -vtep 172.16.1.24 add bridgetable -mac 00:00:00:00:00:00 -vxlan 100 -vtep 239.0.0.1 -deviceVlan 23 add bridgetable -mac 00:00:00:00:00:00 -vxlan 100 -vtep 239.0.0.1 -deviceVlan 24
set bridgetable¶
Sets global parameters of bridge table entries. The bridgeAge attribute is deprecated. Use "set l2param -bridgeAgeTimeout" instead.
Synopsis¶
set bridgetable
Arguments¶
Example¶
set bridgetable -bridgeAge 200
rm bridgetable¶
Delete static mac-vtep mapping
Synopsis¶
rm bridgetable -mac
Arguments¶
mac The MAC address of the target.
vxlan The VXLAN to which this address is associated. Minimum value: 1 Maximum value: 16777215
vtep The IP address of the destination VXLAN tunnel endpoint where the Ethernet MAC ADDRESS resides.
deviceVlan The vlan on which to send multicast packets when the VXLAN tunnel endpoint is a muticast group address. Minimum value: 1 Maximum value: 4094
Example¶
rm bridgetable -mac 52:f2:46:e6:ed:67 -vxlan 100 rm bridgetable -mac 00:00:00:00:00:00 -vxlan 100 -vtep 172.16.1.24 rm bridgetable -mac 00:00:00:00:00:00 -vxlan 100 -vtep 239.0.0.1 -deviceVlan 23