180
(QCT) (Config)#interface vlan 10
(QCT) (if-vlan10)#ip address 192.168.10.10 255.255.255.0
(QCT) (if-vlan10)#exit
5. Assign an IP address to VLAN 20.
(QCT) (Config)#interface vlan 20
(QCT) (if-vlan20)#ip address 192.168.20.20 255.255.255.0
(QCT) (if-vlan20)#exit
6. Assign an IP address to VLAN 50.
(QCT) (Config)#interface vlan 50
(QCT) (if-vlan50)#ip address 192.168.50.50 255.255.255.0
(QCT) (if-vlan50)#exit
7. Configure a static route to the network that VLAN 30 is in, using the IP address of the VLAN 20 interface
on Switch B as the next hop address.
(QCT) (Config)#ip route 192.168.30.0 255.255.255.0 192.168.20.25
8. Configure the backbone router interface as the default gateway.
(QCT) (Config)#ip route default 192.168.50.2
7.1.2.2. Configuring Switch B
To configure Switch B:
1. Create the VLANs.
(QCT) (Config)#vlan database
(QCT) (Vlan)#vlan 20,30
2. Configure the VLANs for routing.
(QCT) (Config)#interface vlan 20
Interface vlan 20 created for VLAN ID 20
(QCT) (if-vlan20)#interface vlan 30
Interface vlan 30 created for VLAN ID 30
(QCT) (if-vlan30)#exit
3. Enable routing on the switch.
(QCT) #configure
(QCT) (Config)#ip routing
4. Assign an IP address to VLAN 20. This command also enables IP routing on the VLAN.
(QCT) (Config)#interface vlan 20