Operation Manual

VLAN Commands
Mobility System Software Command Reference Guide
Version 7.3
6 – 72
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
You cannot add a multicast or broadcast address as a permanent or static FDB entry.
Examples
The following command adds a permanent entry for MAC address 00:11:22:aa:bb:cc on
ports 3 and 5 in VLAN blue:
MX# set fdb perm 00:11:22:aa:bb:cc port 3,5 vlan blue
success: change accepted.
The following command adds a static entry for MAC address 00:2b:3c:4d:5e:6f on port 1 in the
default VLAN:
MX# set fdb static 00:2b:3c:4d:5e:6f port 1 vlan default
success: change accepted.
See Also
clear fdb on page 6-67
show fdb on page 6-76
set fdb agingtime
Changes the aging timeout period for dynamic entries in the forwarding database.
Syntax
set fdb agingtime vlan-id age seconds
Defaults
The aging timeout period is 300 seconds (5 minutes).
Access
Enabled.
History
Introduced in MSS Version 1.0.
Examples
The following command changes the aging timeout period to 600 seconds for entries
that match VLAN orange:
MX# set fdb agingtime orange age 600
success: change accepted.
See Also
show fdb agingtime on page 6-77
set security l2-restrict
Restricts Layer 2 forwarding between clients in the same VLAN. When you restrict Layer 2
forwarding in a VLAN, MSS allows Layer 2 forwarding only between a client and a set of MAC
addresses, generally the VLAN default routers. Clients within the VLAN are not permitted to
vlan vlan-id
Name or number of a VLAN of which the port is a member. The entry is added only for
the specified VLAN.
tag tag-value VLAN tag value that identifies a virtual port. You can specify a number from 1
through 4093. If you do not specify a tag value, an entry is created for an untagged
interface only. If you specify a tag value, an entry is created only for the specified
tagged interface.
vlan-id VLAN name or number. The timeout period change applies only to entries that
match the specified VLAN.
age
seconds
Value for the timeout period, in seconds. You can specify a value from 0 through
1,000,000. If you change the timeout period to 0, aging is disabled.