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 [2013/10/13 12:18]
gcooper
networking:switch:cisco_4948 [2022/08/11 10:07] (current)
gcooper
Line 23: Line 23:
 ==== Physical Management Port ==== ==== Physical Management Port ====
  
-:!: Some of 4948s might have ip routing enabled while others not, which causes some to work with the ''ip default-gateway'' command and others needing ''ip route 0.0.0.0''.+:!: Some of 4948s might have IP routing enabled while others not, which causes some to work with the ''ip default-gateway'' command and others needing ''ip route 0.0.0.0''.
  
 <file> <file>
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 'portfast' for PCs connected to access ports.  This brings up the port much quicker for PXE booting and such.
  
 <file> <file>
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
 +</file>
 +
 +==== Reset Interface to Default ====
 +
 +Here we reset a single port 'gigabitEthernet 1/13' back to defaults and set it as an access port:
 +
 +<file>
 +conf t
 +
 +default interface gi1/13
 +interface gi1/13
 +switchport mode access
 +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 304: Line 358:
  
 **VLAN = Broadcast Domain** **VLAN = Broadcast Domain**
 +
 +==== Define VLANs ====
 +
 +<file>
 +conf t
 +
 +vlan 3
 +   name vl-office
 +
 +interface range gigabitEthernet 1/47-48
 +   switchport access vlan 3
 +
 +exit
 +</file>
  
 ==== Trunk Ports ==== ==== Trunk Ports ====
  
-:!: Cisco calls bonded Ethernet links **EtherChannel*.+https://supportforums.cisco.com/docs/DOC-2218 
 + 
 +http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/CLIConfigurationGuide/AccessTrunk.html 
 + 
 +:!: Cisco calls bonded Ethernet links **EtherChannel**.
  
 :!: **Access Ports** only pass traffic for one VLAN and all others are dropped. :!: **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 ''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 317: 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 333: Line 407:
 ==== EtherChannel and VLAN Trunking ==== ==== EtherChannel and VLAN Trunking ====
  
-http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/EtherChannel.html#wp1243128 +http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/EtherChannel.html
- +
-http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/EtherChannel.html#wp1157069+
  
   * Bond up to eight Ethernet links into a single EtherChannel   * Bond up to eight Ethernet links into a single EtherChannel
Line 367: Line 439:
 </file> </file>
  
 +===== Backup and Restore =====
  
 +https://www.petenetlive.com/KB/Article/0000538
networking/switch/cisco_4948.1381688290.txt.gz · Last modified: 2013/10/13 12:18 by gcooper