dsw2#sh int status mod ?
0-0 Module number
dsw2#sh int status mod 0
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected routed a-full a-100 10/100BaseTX
Fa0/2 connected routed a-full a-100 10/100BaseTX
Fa0/3 ---->dsw1 connected trunk a-full a-100 10/100BaseTX
Fa0/4 ---->dsw2 connected trunk a-full a-100 10/100BaseTX
Fa0/5 connected routed full 100 10/100BaseTX
Fa0/6 notconnect 1 full 100 10/100BaseTX
now i've turned vlans administratively down...
dsw2(config-if-range)#do sh ip int brie
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.102 YES manual administratively down down
Vlan10 10.2.1.2 YES manual administratively down down
Vlan20 10.2.2.1 YES manual administratively down down
Vlan100 100.0.0.2 YES manual administratively down down
FastEthernet0/1 unassigned YES unset up up
and i want to get them back by range... determine your last used vlan (or the command will complain)
and...
dsw2(config)#int range vlan 1 - 100
dsw2(config-if-range)#no shut
dsw2(config-if-range)#do sh ip int brie
Interface IP-Address OK? Method Status Protocol
Vlan1 192.168.1.102 YES manual up up
Vlan10 10.2.1.2 YES manual up up
Vlan20 10.2.2.1 YES manual up up
Vlan100 100.0.0.2 YES manual up up
No comments:
Post a Comment