vlan vlan-id global config command—when the switchport access vlan interface subcom-
mand refers to a currently unconfigured VLAN. This example begins with SW1 not knowing
about VLAN 3. With the addition of the switchport access vlan 3 interface subcommand,
the switch realized that VLAN 3 did not exist, and as noted in the shaded message in the
example, the switch created VLAN 3, using a default name (VLAN0003). The engineer did
not need to type the vlan 3 global command to create VLAN 3; the switch did that automat-
ically. No other steps are required to create the VLAN. At the end of the process, VLAN 3
exists in the switch, and interfaces Fa0/15 and Fa0/16 are in VLAN 3, as noted in the shaded
part of the show vlan brief command output.
Do'stlaringiz bilan baham: |