Catalsty 4908G-L3 inter-VLAN routing and bridging

Source: Internet
Author: User

Required knowledge:
First, we should understand Catalsty 4908G-L3. In fact, it is a vro that uses the cisco ios configuration interface completely. By default, all interfaces are routable interfaces. Catalsty 4908G-L3 does not support L2 protocol, VLAN trunk protocol, dynamic trunk protocol, and port aggregation protocol.

Catalsty 4908 does not support the following types: IOS 12.07-based
1. Access Control List.
2 802.1q
3 apple talk routing
4 port snooping
Catalsty 4908 swtich-router running Cisco IOS 12.0 (7) W5 (15D)
Three Catalsty 3512xl switch running cisco iso 12.0 (5) xu
Configure the Catalsty 4908 switch for two purposes.
Run five VLANs 1 10 20 30 40 on a L2 Switch.
Communication between different VLANs
Two Catalsty 3512xl switches are connected to 4908G-L3 using a gibit Ethernet link, and the other one is connected using a single gibit link.
To support internal VLAN routing, integrated routing and bridging. All end users and servers are connected to Catalsty 3512XL. If a device in a VLAN wants to connect to a device in another VLAN, the data will be sent to 4908G-L3, it routes data to a virtual bridge interface.
The following configuration should be applied to the vswitch:
Basic start-up configuration
The IP address and the default gateway should be allocated to the vswitch for management.
The VTP mode should be set to transparent mode, so that VLAN can be configured on the 3512XL switch.
The gibit Ethernet channels are on the 4908G-L3 and 3512XL01 3512XL02
The route of the bridge and Virtual Interface, IP address and IPX should be configured on 4908
Isl trunks should be configured on 4908G-L3 and 3512XL bridging should be configured on the TRUNK Sub-interface
Vlan IP subnet IPX NETWORK
1 10.10.1.0/24 N/
10 10.10.10.0/24 1000
20 10.10.20.0/24 2000
30 10.10.30.0/24 3000
4000 10.10.40.0/24
On Catalsty3512xl, configure an IP address and the default gateway to manage the switch. The default gateway address is the address of the bridge Virtual Interface on Catalsty 4908G-L3.
Switch # configure terminal
Switch (config) # hostname 3512xl-switch01
3512xl-switch01 (config) # interface vlan 1
3512xl-switch01 (config-if) # ip address 10.10.1.10 255.255.255.0
3512xl-switch01 (config-if) # management
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # ip default-gateway 10.10.1.1
3512xl-switch01 (config) # end
3512xl-switch01 #
3512xl-switch02 (config) # interface vlan 1
3512xl-switch02 (config-if) # ip address 10.10.1.20 255.255.255.0
3512xl-switch02 (config-if) # management
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # ip default-gateway 10.10.1.1
3512xl-switch02 (config) # end
3512xl-switch02 #
3512xl-switch03 (config) # interface vlan 1
3512xl-switch03 (config-if) # ip address 10.10.1.30 255.255.255.0
3512xl-switch03 (config-if) # management
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # ip default-gateway 10.10.1.1
3512xl-switch03 (config) # end
3512xl-switch03 #
Because Catalsty 4908G-L3 does not support VTP, Catalsty 3512xl is configured in transparent mode,
3512xl-switch01 # vlan database
3512xl-switch01 (vlan) # vtp transparent
3512xl-switch01 (vlan) # vlan 10 name vlan10
3512xl-switch01 (vlan) # vlan 20 name vlan20
3512xl-switch01 (vlan) # vlan 30 name vlan30
3512xl-switch01 (vlan) # vlan 40 name vlan40
Configure an Ethernet Channel
Connect GIG0/1 and GIG0/2 on 3512XL-01 to GIG1 and GIG2 on 4908G-L3, and connect GIG0/1 and GIG0/2 on 3512XL-02 to GIG3 and GIG4 on 4908G-L3 respectively.
4908G-L3 # configure terminal
4908G-L3 (config) # interface port-channel 1
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig1
4908G-L3 (config-if) # no shutdown
4908G-L3 (config-if) # channel-group 1
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig2
4908G-L3 (config-if) # no shutdown
4908G-L3 (config-if) # channel-group 1
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface port-channel 2
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig3
4908G-L3 (config-if) # no shutdown
4908G-L3 (config-if) # channel-group 2
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig4
4908G-L3 (config-if) # no shutdown
4908G-L3 (config-if) # channel-group 2
On Catalsty 3512xl-02
3512xl-switch01 # configure terminal
3512xl-switch01 (config) # interface gig0/1
3512xl-switch01 (config-if) # port-group 2
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface gig0/2
3512xl-switch01 (config-if) # port-group 2
3512xl-switch01 (config-if) # end
3512xl-switch01 #
Check the Ethernet Channel group configuration using show port group
Configure CAT4908 to use the bridging and routing functions. For inter-VLAN routing, use bridge ibr to start the routing and bridging functions. ISL is configured between switches. The VLAN sub-interfaces are added to the corresponding bridging group to create a separate layer-2 domain in the isl trunk.
On Catalsty 4908G-l3
4908G-L3 # configure terminal
4908G-L3 (config) # ipx routing
4908G-L3 (config) # bridge ibr
4908G-L3 (config) # bridge 1 protocol ieee
4908G-L3 (config) # bridge 1 route ip
4908G-L3 (config) # bridge 10 protocol ieee
4908G-L3 (config) # bridge 10 route ip
4908G-L3 (config) # bridge 10 route ipx
4908G-L3 (config) # bridge 20 protocol ieee
4908G-L3 (config) # bridge 20 route ip
4908G-L3 (config) # bridge 20 route ipx
4908G-L3 (config) # bridge 30 protocol ieee
4908G-L3 (config) # bridge 30 route ip
4908G-L3 (config) # bridge 30 route ipx
4908G-L3 (config) # bridge 40 protocol ieee
4908G-L3 (config) # bridge 40 route ip
4908G-L3 (config) # bridge 40 route ipx
4908G-L3 (config) # interface bvi 1
4908G-L3 (config-if) # ip address 10.1.1 255.255.255.0
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface bvi 10
4908G-L3 (config-if) # ip address 10.10.1 255.255.255.0
4908G-L3 (config-if) # ipx network 1000
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface bvi 20
4908G-L3 (config-if) # ip address 10.20.1 255.255.255.0
4908G-L3 (config-if) # ipx network 2000
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface bvi 30
4908G-L3 (config-if) # ip address 10.30.1 255.255.255.0
4908G-L3 (config-if) # ipx network 3000
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface bvi 40
4908G-L3 (config-if) # ip address 10.40.1 255.255.255.0
4908G-L3 (config-if) # ipx network 4000
Ipx routing starts IPX routing on 4908G-L3
Bridge IBR is integrated with the routing and bridging functions. And allow communication in the bridge group.
Bridge number protocol ieee creates a spanning tree that runs on the IEEE protocol with the bridging function.
Configure isl trunk on the vswitch
To configure isl trunk on Catalsty 4908G-L3, you must configure sub-interfaces under the master interface. Each sub-interface transmits data to each other in each VLAN, and the two trunks are configured on the logical PORT-CHANNEL interface, the third TRUNK is configured on the physical interface.
4908G-L3 # configure terminal
4908G-L3 (config) # interface port-channel 1
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface port-channel 1.1
4908G-L3 (config-if) # encapsulation isl 1
4908G-L3 (config-if) # bridge-group 1
4908G-L3 (config) # interface port-channel 1.10
4908G-L3 (config-if) # encapsulation isl 10
4908G-L3 (config-if) # bridge-group 10
4908G-L3 (config) # interface port-channel 1.20
4908G-L3 (config-if) # encapsulation isl 20
4908G-L3 (config-if) # bridge-group 20
4908G-L3 (config) # interface port-channel 1.30
4908G-L3 (config-if) # encapsulation isl 30
4908G-L3 (config-if) # bridge-group 30
4908G-L3 (config) # interface port-channel 1.40
4908G-L3 (config-if) # encapsulation isl 40
4908G-L3 (config-if) # bridge-group 40
4908G-L3 (config) # interface port-channel 2.1
4908G-L3 (config-if) # encapsulation isl 1
4908G-L3 (config-if) # bridge-group 1
4908G-L3 (config) # interface port-channel 2.10
4908G-L3 (config-if) # encapsulation isl 10
4908G-L3 (config-if) # bridge-group 10
4908G-L3 (config) # interface port-channel 2.20
4908G-L3 (config-if) # encapsulation isl 20
4908G-L3 (config-if) # bridge-group 20
4908G-L3 (config) # interface port-channel 2.30
4908G-L3 (config-if) # encapsulation isl 30
4908G-L3 (config-if) # bridge-group 30
4908G-L3 (config) # interface port-channel 2.40
4908G-L3 (config-if) # encapsulation isl 40
4908G-L3 (config-if) # bridge-group 40
4908G-L3 (config) # interface gig 5
4908G-L3 (config-if) # no shutdown
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig 5.1
4908G-L3 (config-if) # encapsulation isl 1
4908G-L3 (config-if) # bridge-group 1
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig 5.20
4908G-L3 (config-if) # encapsulation isl 20
4908G-L3 (config-if) # bridge-group 20
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig 5.30
4908G-L3 (config-if) # encapsulation isl 30
4908G-L3 (config-if) # bridge-group 30
4908G-L3 (config-if) # exit
4908G-L3 (config) # interface gig 5.40
4908G-L3 (config-if) # encapsulation isl 40
4908G-L3 (config-if) # bridge-group 40
Encapsulation isl vlan command receives VLAN
3512xl-switch01 # configure terminal
3512xl-switch01 (config) # interface gig 0/1
3512xl-switch01 (config-if) # switchport mode trunk
3512xl-switch01 # configure terminal
3512xl-switch01 (config) # interface fastethernet0/1
3512xl-switch01 (config-if) # switchport access vlan 10
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/2
3512xl-switch01 (config-if) # switchport access vlan 10
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/3
3512xl-switch01 (config) # switchport access vlan 10
3512xl-switch01 (config) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/4
3512xl-switch01 (config-if) # switchport access vlan 20
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/5
3512xl-switch01 (config-if) # switchport access vlan 20
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/6
3512xl-switch01 (config-if) # switchport access vlan 20
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/7
3512xl-switch01 (config-if) # switchport access vlan 30
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/8
3512xl-switch01 (config-if) # switchport access vlan 30
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/9
3512xl-switch01 (config-if) # switchport access vlan 30
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/10
3512xl-switch01 (config-if) # switchport access vlan 40
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/11
3512xl-switch01 (config-if) # switchport access vlan 40
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface fastethernet0/12
3512xl-switch01 (config-if) # switchport access vlan 40
3512xl-switch01 (config-if) # spanning-tree portfast
3512xl-switch01 (config-if) # exit
3512xl-switch01 (config) # interface gig 0/2
3512xl-switch01 (config-if) # switchport mode trunk
3512xl-switch01 # configure terminal
3512xl-switch02 (config) # interface gig 0/1
3512xl-switch02 (config-if) # switchport mode trunk
3512xl-switch02 # configure terminal
3512xl-switch02 (config) # interface fastethernet0/1
3512xl-switch02 (config-if) # switchport access vlan 10
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/2
3512xl-switch02 (config-if) # switchport access vlan 10
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/3
3512xl-switch02 (config) # switchport access vlan 10
3512xl-switch02 (config) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/4
3512xl-switch02 (config-if) # switchport access vlan 20
3512xl-switch02config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/5
3512xl-switch02 (config-if) # switchport access vlan 20
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/6
3512xl-switch02 (config-if) # switchport access vlan 20
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/7
3512xl-switch02 (config-if) # switchport access vlan 30
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/8
3512xl-switch02 (config-if) # switchport access vlan 30
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/9
3512xl-switch02 (config-if) # switchport access vlan 30
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/10
3512xl-switch02 (config-if) # switchport access vlan 40
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/11
3512xl-switch02 (config-if) # switchport access vlan 40
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface fastethernet0/12
3512xl-switch02 (config-if) # switchport access vlan 40
3512xl-switch02 (config-if) # spanning-tree portfast
3512xl-switch02 (config-if) # exit
3512xl-switch02 (config) # interface gig 0/2
3512xl-switch02 (config-if) # switchport mode trunk
3512xl-switch03 # configure terminal
3512xl-switch03 (config) # interface gig 0/1
3512xl-switch03 (config-if) # switchport mode trunk
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/2
3512xl-switch03 (config-if) # switchport access vlan 10
3512xl-switch03config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/3
3512xl-switch03 (config) # switchport access vlan 10
3512xl-switch03 (config) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/4
3512xl-switch03 (config-if) # switchport access vlan 20
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/5
3512xl-switch03 (config-if) # switchport access vlan 20
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/6
3512xl-switch03 (config-if) # switchport access vlan 20
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/7
3512xl-switch03 (config-if) # switchport access vlan 30
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/8
3512xl-switch03 (config-if) # switchport access vlan 30
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/9
3512xl-switch03 (config-if) # switchport access vlan 30
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/10
3512xl-switch03 (config-if) # switchport access vlan 40
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/11
3512xl-switch03 (config-if) # switchport access vlan 40
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit
3512xl-switch03 (config) # interface fastethernet0/12
3512xl-switch03 (config-if) # switchport access vlan 40
3512xl-switch03 (config-if) # spanning-tree portfast
3512xl-switch03 (config-if) # exit


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.