Reset interface (port) to default
1
2
3
4
|
Switch> en
Switch# conf t
Switch(config)# default interface Gi1/0/1
Switch(config)# exit
|
Apply vlans to ranges or interfaces (ports)
1
2
3
4
5
6
7
8
|
Switch> en
Switch# conf t
Switch(config)# interface range gigabitEthernet 1/0/1-47
Switch(if–range)# switchport access vlan 100
Switch(if–range)# exit
Switch(config)# interface gigabitEthernet 1/0/48
Switch(interface)# switchport access vlan 200
Switch(interface)# exit
|
In that example ports 1-47 had a default vlan applied and port 48 had a management vlan applied.