sh mac-address-table
sh mac-address-table dynamic
sh mac-address-table aging-time(this is the time to forget dynamically learned
addresses,by default it is 300 sec or 5 min)
aging-time 0 disables this
to create a basic vlan
go to interface you want to put in a apecific vlan(by defaul it is on vlan1)
int fa 0/1
switchport access vlan 24(it will put this port and the connected device on
this port on vlan 24)
switchport mode access
sh vlan
sh vlan brief
in GNS3 in a 3650 series router acting as a switch the command will be
sh vlan-switch
sh vlan-switch brief
No comments:
Post a Comment