SW2(config)#do sh int trunk
Port Mode Encapsulation Status Native vlan
Gi0/2 on 802.1q trunking 1
Gi0/3 on 802.1q trunking 1
Gi1/0 on 802.1q trunking 1
Gi1/3 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi0/2 1-4094
Gi0/3 1-4094
Gi1/0 1-4094
Gi1/3 1-4094
Port Vlans allowed and active in management domain
Gi0/2 1,10,20,30,40,50
Gi0/3 1,10,20,30,40,50
Gi1/0 1,10,20,30,40,50
Gi1/3 1,10,20,30,40,50
Port Vlans in spanning tree forwarding state and not pruned
Gi0/2 1,10,20,30,40,50
Gi0/3 none
Gi1/0 1,10,20,30,40,50
Port Vlans in spanning tree forwarding state and not pruned
Gi1/3 1,10,20,30,40,50
#########################################
SW1(config-if)#do sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2 Gig 0/1 166 R S I Gig 0/1
SW2 Gig 0/3 137 R S I Gig 0/3
SW3 Gig 0/2 155 R S I Gig 0/2
Total cdp entries displayed : 3
###############################################
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
passive interface fa/0 (default)
show ip ospf interface
Port Mode Encapsulation Status Native vlan
Gi0/2 on 802.1q trunking 1
Gi0/3 on 802.1q trunking 1
Gi1/0 on 802.1q trunking 1
Gi1/3 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi0/2 1-4094
Gi0/3 1-4094
Gi1/0 1-4094
Gi1/3 1-4094
Port Vlans allowed and active in management domain
Gi0/2 1,10,20,30,40,50
Gi0/3 1,10,20,30,40,50
Gi1/0 1,10,20,30,40,50
Gi1/3 1,10,20,30,40,50
Port Vlans in spanning tree forwarding state and not pruned
Gi0/2 1,10,20,30,40,50
Gi0/3 none
Gi1/0 1,10,20,30,40,50
Port Vlans in spanning tree forwarding state and not pruned
Gi1/3 1,10,20,30,40,50
#########################################
SW1(config-if)#do sh cdp ne
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2 Gig 0/1 166 R S I Gig 0/1
SW2 Gig 0/3 137 R S I Gig 0/3
SW3 Gig 0/2 155 R S I Gig 0/2
Total cdp entries displayed : 3
###############################################
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
passive interface fa/0 (default)
show ip ospf interface
No comments:
Post a Comment