- 论坛徽章:
- 0
|
3550-48的问题
Command Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Enter interface configuration mode and the port to be added to the VLAN.
Step 3
switchport trunk allowed vlan {add | except | none | remove} vlan-list
(Optional) Configure the list of VLANs allowed on the trunk.
For explanations about using the add, except, none, and remove keywords, refer to Catalyst 3550 Multilayer Switch Command Reference for this release.
The vlan-list parameter is either a single VLAN number from 1 to 1005 or a range of VLANs described by two VLAN numbers, the lesser one first, separated by a hyphen. Do not enter any spaces between comma-separated VLAN parameters or in hyphen-specified ranges.
All VLANs are allowed by default. You cannot remove any of the default VLANs from a trunk.
Step 4
end
Return to privileged EXEC.
Step 5
show interfaces interface-id switchport
Verify your entries in the Trunking VLANs Enabled field of the display.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file |
|