
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
17
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
!
interface GigabitEthernet0/1/2
switchport mode trunk
end
router#
router#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Gi0/1/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi0/1/2 1-4094
Port Vlans allowed and active in management domain
Gi0/1/2 1,10,30
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1/2 1,10,30
router#
Configuring a GE Interface as Layer 2 Access
Beginning in global configuration mode, follow these steps to configure a GE interface as Layer 2
access.
SUMMARY STEPS
1. interface gigabitethernet 0/slot/port
2. shutdown
3. switchport mode access
4. switchport access vlan vlan_num
5. no shutdown
6. end
DETAILED STEPS
Command Purpose
Step 1
interface gigabitethernet 0/slot/port
Example:
Router(config)#interface gigabitethernet
0/1/2
Selects the interface to configure.
Step 2
shutdown
Example:
Router(config-if)#shutdown
(Optional) Shuts down the interface to prevent traffic flow until
configuration is complete.
Komentarze do niniejszej Instrukcji