Show the Port Status of Router's
---------------------------------
Assign the IP Address of Subinterface of FastEthernet 0/0.1
------------------------------------------------------------
Router(config)#interface fastEthernet 0/0.1
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#ex
Assign the IP Address of Subinterface of FastEthernet 0/0.2
------------------------------------------------------------
Router(config)#interface fastEthernet 0/0.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 192.168.2.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#ex
Assign the IP Address of Subinterface of FastEthernet 0/0.3
------------------------------------------------------------
Router(config)#interface fastEthernet 0/0.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 192.168.3.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#ex
Assign the IP Address of Subinterface of FastEthernet 0/0.4
------------------------------------------------------------
Router(config)#interface fastEthernet 0/0.4
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip address 192.168.4.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#ex
Assign the IP Address of Subinterface of FastEthernet 0/0.5
------------------------------------------------------------
Router(config)#interface fastEthernet 0/0.5
Router(config-subif)#encapsulation dot1Q 5
Router(config-subif)#ip address 192.168.5.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#ex
Show the Port Status of Router's (SubInterface Port Down Till Now)
-------------------------------------------------------------------
Activate all SubInterface Port of Router's
-------------------------------------------
Router(config-if)#no shutdown
Show the Port Status of Router's After Activate
------------------------------------------------
Trunk Configuration on Switch Port of F0/1
-------------------------------------------
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport mode trunk
VLAN Configuration on Switch Port of F0/2
-------------------------------------------
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 1
Switch(config-if)#ex
VLAN Configuration on Switch Port of F0/3
------------------------------------------
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#ex
VLAN Configuration on Switch Port of F0/4
------------------------------------------
Switch(config)#interface fastEthernet 0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#ex
VLAN Configuration on Switch Port of F0/5
------------------------------------------
Switch(config)#interface fastEthernet 0/5
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
Switch(config-if)#ex
VLAN Configuration on Switch Port of F0/6
------------------------------------------
Switch(config)#interface fastEthernet 0/6
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 5
Switch(config-if)#ex
No comments:
Post a Comment