| Author |
What difference between....?
|
|
|
| 1)Switch#vlan database
Switch(vlan)#vlan 2 name vlan2
Switch(vlan)#vlan 3 name vlan3
Switch(vlan)#exit
Switch#config t
Switch#(config)#interface e 0/5
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan2
2)Switch(config)#vtp transparent domain dummy
Switch(config)#vlan 2 name vlan2
Switch(config)#vlan 3 name vlan3
Switch(config)#interface e 0/5
Switch(config-if)#vlan-membership static 2 | |
|
| I'm not really sure of the question, but looks like one's in the SET based command and one is in IOS style command. | |
|
| If this were a Catalyst29xx switch, I'd say the example1 is correct, and 2 looks incorrect to me.
1)Switch#vlan database (enter config mode for VLANS)
Switch(vlan)#vlan 2 name vlan2 (create VLAN2)
Switch(vlan)#vlan 3 name vlan3 (create VLAN2)
Switch(vlan)#exit
Switch#config t (config the switch)
Switch#(config)#interface e 0/5
Switch(config-if)#switchport mode access (this will be an access-port, not a trunk port)
Switch(config-if)#switchport access vlan2 (the port will be in VLAN2)
Item2 I believe is incorrect
2)Switch(config)#vtp transparent domain dummy - (this is a vlan database config command, should be at the vlan prompt, etc)
Switch(config)#vlan 2 name vlan2
Switch(config)#vlan 3 name vlan3
Switch(config)#interface e 0/5
Switch(config-if)#vlan-membership static 2 | |
|
| Cryptogirl,
The first example is correct, I'm pretty sure of that. And is in the IOS-style command.
If the 2nd example was in the SET style command, the prompt should have been
Switch(enable)> | |
|
| Sorry Transylvanian, your right, I'm still waking up here..........too early for this stuff on a Sunday!!!! | |
|
| Number 1 looks like an XL (2900XL or 3500XL). The second one is a Catalyst 1900. Neither of these is set-based. | |
|
|
|
|