I have flash:c2801-adventerprisek9-mz.124-17.bin and i can't configure int vlan, on fa0/0 i don't have switchport, switchport mode access.. etc I just don't have this options..
There is problem with ios version or something else ?
Other then ONE layer two port making no sense, yes you can:-)
These commands are not supported on router ports.
You can get equivalent functionality by bridging.
e.g.
bridge 1 protocol ieee
int fa0/0 no ip address bridge-group 1
int fa0/1 no ip address bridge-group 1
The above is equivalent to int fa 0/0 sw mode access
int fa 0/1 sw mode access
on a switch.
####
If you want an SVI equivalent (vlan interface) it looks like this.
bridge irb bridge 1 protocol ieee bridge 1 route ip ! if you get error messages with the above ! repeat the commands. they are order sensitive and I ! always forget the order.
int fa0/0 no ip address bridge-group 1
int fa0/1 no ip address bridge-group 1
int bvi 1 ip address x.x.x.x
! You will of course need some no shuts with the above.
You can also trunk with sub interfaces as indicated bu Uli Link.
interface Vlan5 description projekty zewn ip address 195.184.89.1 255.255.255.128 no ip redirects no ip unreachables no ip proxy-arp ip virtual-reassembly
interface FastEthernet0/0/3 switchport access vlan 5 no cdp enable
There is diffrenece between this routers in this subject?
Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.