Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trunking

Status
Not open for further replies.

24

Technical User
Joined
Aug 15, 2001
Messages
43
Guys,

I want to create a vlan on my cisco 4000 cat-os switch, and trunk it through my 7200 router so i can communicate between the 2 vlans, then put an access list on the trunk port to limit the ports which it can comunicate on.

I only have 1 connection from the switch to the router, can this be my trunk port and let the other traffic through as well. Can I create a sub -interface to put my ACL on???

Hope this makes sense.

Rob
 
sample config out of a 7206, Core on a stick i think is the term.


interface FastEthernet1/0
no ip address
ip route-cache flow
full-duplex
!
interface FastEthernet1/0.1
description VLAN1
encapsulation isl 1
ip address 10.x.xx.1 255.255.255.0
no ip redirects
!
interface FastEthernet1/0.2
description VLAN2
encapsulation isl 2
ip address 10.10.x.1 255.255.255.0 secondary
ip address 10.xx.x.1 255.255.255.0 secondary
ip address 10.xx.xx.1 255.255.255.0 secondary
ip address xxx.xx.x.x 255.255.255.0
no ip redirects
!
interface FastEthernet1/0.3
description VLAN3
encapsulation isl 3
ip address 10.xxx.xxx.xxx 255.255.252.0 secondary
ip address 10.xxx.xxx.xxx 255.255.255.0
ip access-group 2 in
no ip redirects
!
interface FastEthernet1/0.4
description VLAN4
encapsulation isl 4
ip address 10.xxx.xxx.xxx 255.255.255.0 secondary
ip address 10.xxx.xxx.xxx 255.255.240.0 secondary
ip address 10.xxx.xxx.xxx 255.255.255.0
no ip redirects
!
interface FastEthernet1/0.5
description VLAN5
encapsulation isl 5
ip address 10.xxx.xxx.xxx 255.255.240.0
no ip redirects
!
interface FastEthernet1/0.6
description VLAN6
encapsulation isl 6
ip address 10.xxx.xxx.xxx 255.255.240.0
no ip redirects
!
interface FastEthernet1/0.7
description VLAN7
encapsulation isl 7
ip address 10.xxx.xxx.xxx 255.255.252.0
no ip redirects
!
interface FastEthernet1/0.8
description VLAN8
encapsulation isl 8
ip address 10.xxx.xxx.xxx 255.255.240.0
no ip redirects
!
interface FastEthernet1/0.9
description VLAN9
encapsulation isl 9
ip address 10.xxx.xxx.xxx 255.255.255.224
no ip redirects
!
interface FastEthernet1/0.10
description VLAN10
encapsulation isl 10
ip address 10.xxx.xxx.xxx 255.255.255.0
no ip redirects
!
interface FastEthernet1/0.11
description VLAN11
encapsulation isl 11
ip address 10.xxx.xxx.xxx 255.255.255.224
no ip redirects
!
interface FastEthernet1/0.12
description VLAN12
encapsulation isl 12
ip address 10.xxx.xxx.xxx 255.255.252.0
no ip redirects
!
interface FastEthernet1/0.13
description VLAN13
encapsulation isl 13
ip address 10.xxx.xxx.xxx 255.255.255.224
no ip redirects
!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top