User Tools

Site Tools


networking:switch:cisco_4948

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:switch:cisco_4948 [2014/03/04 08:53]
gcooper
networking:switch:cisco_4948 [2022/08/11 10:07] (current)
gcooper
Line 35: Line 35:
 ip vrf mgmtVrf ip vrf mgmtVrf
 ip vrf forwarding mgmtVrf ip vrf forwarding mgmtVrf
-ip address 10.10.4.11 255.255.255.0+ip address 10.0.4.11 255.255.255.0
 speed auto speed auto
 duplex auto duplex auto
Line 41: Line 41:
 no shutdown no shutdown
  
-ip route vrf mgmtVrf 0.0.0.0 0.0.0.0 10.10.4.1 +ip route vrf mgmtVrf 0.0.0.0 0.0.0.0 10.0.4.1 
-ip default-gateway 10.10.4.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 71: 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 250: 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 291: Line 291:
  
 ===== General Troubleshooting ===== ===== General Troubleshooting =====
 +
 +:!: Enable 'portfast' for PCs connected to access ports.  This brings up the port much quicker for PXE booting and such.
  
 <file> <file>
Line 297: 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
Line 304: Line 306:
 ==== Reset Interface to Default ==== ==== Reset Interface to Default ====
  
-Here we reset gi1/13 back to defaults and set it as an access port:+Here we reset a single port 'gigabitEthernet 1/13back to defaults and set it as an access port:
  
 <file> <file>
 conf t conf t
  
-default interface gigabitEthernet 1/13 +default interface gi1/13 
-interface gigabitEthernet 1/13+interface gi1/13
 switchport mode access switchport mode access
 exit exit
 exit exit
 +</file>
 +
 +This is for a range of ports:
 +
 +<file>
 +conf t
 +
 +default int range gi1/13,gi1/15,gi1/17,gi1/19,gi1/21
 +int range gi1/13,gi1/15,gi1/17,gi1/19,gi1/21        
 +switchport mode access
 +exit
 +exit
 +</file>
 +
 +===== LACP Port Bonding =====
 +
 +Configure the channel group (channel group 1 example shown here):
 +
 +<file>
 +Router> enable 
 +Router# configure terminal
 +Router(config)# interface port-channel 1
 +Router(config-if)#description your_bond
 +Router(config-if)#switchport
 +Router(config-if)#switchport mode access
 +Router(config-if)#exit
 +</file> 
 +
 +Configure the ports (gigabit ports 33 and 34 in this example):
 +
 +<file>
 +Router(config)# interface range gi1/33-34
 +Router(config-if-range)#channel-protocol lacp
 +Router(config-if-range)#channel-group 1 mode active 
 +Router(config-if-range)#exit
 +Router(config-if)# exit
 +Router# show lacp internal
 </file> </file>
  
Line 345: Line 384:
  
 :!: 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 ''switchport trunk allowed vlan 100,200''.
  
 :!: With encapsulation set to ''dot1q'', all traffic is tagged and untagged frames are dropped. :!: With encapsulation set to ''dot1q'', all traffic is tagged and untagged frames are dropped.
Line 350: Line 391:
 <file> <file>
 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 398: Line 439:
 </file> </file>
  
 +===== Backup and Restore =====
  
 +https://www.petenetlive.com/KB/Article/0000538
networking/switch/cisco_4948.1393948415.txt.gz · Last modified: 2014/03/04 08:53 by gcooper