VLAN-to-VLAN Local Switching
R3:
!
interface FastEthernet0/0.345
encapsulation dot1Q 345
ip address 192.168.1.3 255.255.255.0
!
R1:
!
FastEthernet0/0.345
encapsulation dot1Q 345
ip address 192.168.1.1 255.255.255.
!
R2:
!
interface FastEthernet0/0.345
encapsulation dot1Q 345
!
FastEthernet0/0.123
encapsulation dot1Q 123
!
connect ethvl-to-ethvl FastEthernet0/0.123 FastEthernet0/0.345
!
R2#show connection
ID Name Segment 1 Segment 2 State
================================================================================
1 ethvl-to-ethvl Fa0/0.123 Fa0/0.345 UP
R2#show connection id 1
Connection: 1 - ethvl-to-ethvl
Current State: UP
Segment 1: FastEthernet0/0.123 up
Segment 2: FastEthernet0/0.345 up
CDP is not disabled:
R2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
R3 Fas 0/0 171 R 7206VXR Fas 0/0
R1 Fas 0/0 130 R 7206VXR Fas 0/0
R2#
!
interface FastEthernet0/0.345
encapsulation dot1Q 345
ip address 192.168.1.3 255.255.255.0
!
R1:
!
FastEthernet0/0.345
encapsulation dot1Q 345
ip address 192.168.1.1 255.255.255.
!
R2:
!
interface FastEthernet0/0.345
encapsulation dot1Q 345
!
FastEthernet0/0.123
encapsulation dot1Q 123
!
connect ethvl-to-ethvl FastEthernet0/0.123 FastEthernet0/0.345
!
R2#show connection
ID Name Segment 1 Segment 2 State
================================================================================
1 ethvl-to-ethvl Fa0/0.123 Fa0/0.345 UP
R2#show connection id 1
Connection: 1 - ethvl-to-ethvl
Current State: UP
Segment 1: FastEthernet0/0.123 up
Segment 2: FastEthernet0/0.345 up
CDP is not disabled:
R2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
R3 Fas 0/0 171 R 7206VXR Fas 0/0
R1 Fas 0/0 130 R 7206VXR Fas 0/0
R2#