This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:switch:cisco_4948 [2014/02/15 15:38] gcooper |
networking:switch:cisco_4948 [2022/08/11 10:07] (current) gcooper |
||
---|---|---|---|
Line 33: | Line 33: | ||
interface FastEthernet1 | interface FastEthernet1 | ||
+ | ip vrf mgmtVrf | ||
ip vrf forwarding mgmtVrf | ip vrf forwarding mgmtVrf | ||
- | ip address 10.10.1.11 255.255.255.0 | + | ip address 10.0.4.11 255.255.255.0 |
speed auto | speed auto | ||
duplex auto | duplex auto | ||
Line 40: | Line 41: | ||
no shutdown | no shutdown | ||
- | ip route vrf mgmtVrf 0.0.0.0 0.0.0.0 10.10.1.1 | + | ip route vrf mgmtVrf 0.0.0.0 0.0.0.0 10.0.4.1 |
- | ip default-gateway 10.10.1.1 | + | ip default-gateway 10.0.4.1 |
ip http server | ip http server | ||
ip ftp source-interface fa1 | ip ftp source-interface fa1 | ||
Line 70: | Line 71: | ||
Example MGMT addresses: | Example MGMT addresses: | ||
- | VLAN 10 - network 10.10.10.0/24 | + | VLAN 10 - network 10.0.10.0/24 |
- | Switch 1: IP 10.10.10.2/24 | + | Switch 1: IP 10.0.10.2/24 |
- | Switch 2: IP 10.10.10.3/24 | + | Switch 2: IP 10.0.10.3/24 |
- | Switch 3: IP 10.10.10.4/24 | + | Switch 3: IP 10.0.10.4/24 |
... | ... | ||
Line 249: | Line 250: | ||
! | ! | ||
! | ! | ||
- | !--- Configure the last for ports as two SFP trunks: | + | !--- Configure the last four ports as two SFP trunks: |
! | ! | ||
!interface GigabitEthernet 1/45 | !interface GigabitEthernet 1/45 | ||
Line 290: | Line 291: | ||
===== General Troubleshooting ===== | ===== General Troubleshooting ===== | ||
+ | |||
+ | :!: Enable ' | ||
< | < | ||
Line 296: | Line 299: | ||
show interfaces | include output err | show interfaces | include output err | ||
show interfaces status | include connected | show interfaces status | include connected | ||
+ | show run | b username | ||
show standby brief | show standby brief | ||
show etherchannel summary | show etherchannel summary | ||
+ | </ | ||
+ | |||
+ | ==== Reset Interface to Default ==== | ||
+ | |||
+ | Here we reset a single port ' | ||
+ | |||
+ | < | ||
+ | conf t | ||
+ | |||
+ | default interface gi1/13 | ||
+ | interface gi1/13 | ||
+ | switchport mode access | ||
+ | exit | ||
+ | exit | ||
+ | </ | ||
+ | |||
+ | This is for a range of ports: | ||
+ | |||
+ | < | ||
+ | conf t | ||
+ | |||
+ | default int range gi1/ | ||
+ | int range gi1/ | ||
+ | switchport mode access | ||
+ | exit | ||
+ | exit | ||
+ | </ | ||
+ | |||
+ | ===== LACP Port Bonding ===== | ||
+ | |||
+ | Configure the channel group (channel group 1 example shown here): | ||
+ | |||
+ | < | ||
+ | Router> enable | ||
+ | Router# configure terminal | ||
+ | Router(config)# | ||
+ | Router(config-if)# | ||
+ | Router(config-if)# | ||
+ | Router(config-if)# | ||
+ | Router(config-if)# | ||
+ | </ | ||
+ | |||
+ | Configure the ports (gigabit ports 33 and 34 in this example): | ||
+ | |||
+ | < | ||
+ | Router(config)# | ||
+ | Router(config-if-range)# | ||
+ | Router(config-if-range)# | ||
+ | Router(config-if-range)# | ||
+ | Router(config-if)# | ||
+ | Router# show lacp internal | ||
</ | </ | ||
Line 321: | Line 375: | ||
==== Trunk Ports ==== | ==== Trunk Ports ==== | ||
- | :!: Cisco calls bonded Ethernet links **EtherChannel*. | + | https:// |
+ | http:// | ||
- | :!: **Access Ports** only pass traffic for one VLAN and all others are dropped. | + | :!: Cisco calls bonded Ethernet links **EtherChannel**. |
+ | :!: **Access Ports** only pass traffic for one VLAN and all others are dropped. | ||
:!: By default, Cisco **Trunk Ports** carry multiple VLANs and will accept all VLANs, until they are removed. | :!: By default, Cisco **Trunk Ports** carry multiple VLANs and will accept all VLANs, until they are removed. | ||
+ | :!: Limit the VLANs a trunk will carry with '' | ||
:!: With encapsulation set to '' | :!: With encapsulation set to '' | ||
Line 334: | Line 391: | ||
< | < | ||
conf t | conf t | ||
- | interface range gigabitEthernet 1/22, gigabitEthernet 1/16, gigabitEthernet 1/18, gigabitEthernet 1/20 | + | interface range gi1/22, gi1/16, gi1/18, gi1/20 |
switchport trunk encapsulation dot1q | switchport trunk encapsulation dot1q | ||
switchport mode dynamic desirable | switchport mode dynamic desirable | ||
Line 382: | Line 439: | ||
</ | </ | ||
+ | ===== Backup and Restore ===== | ||
+ | https:// |