| 2 | |
| 3 | {{{ |
| 4 | 5520-48T-PWR> enable |
| 5 | 5520-48T-PWR# boot default |
| 6 | The switch should reboot with a default configuration. Let’s proceed with the configuration; |
| 7 | |
| 8 | 5520-48T-PWR> enable |
| 9 | 5520-48T-PWR# configure terminal |
| 10 | Let’s set the local read-only and read-write passwords; |
| 11 | |
| 12 | 5520-48T-PWR (config)#cli password read-only readpass |
| 13 | 5520-48T-PWR (config)#cli password read-write writepass |
| 14 | 5520-48T-PWR (config)#cli password serial local |
| 15 | 5520-48T-PWR (config)#cli password telnet local |
| 16 | Let’s disable the user interface button (UI button); |
| 17 | |
| 18 | 5520-48T-PWR (config)# no ui-button enable |
| 19 | Enable AUTOPVID; |
| 20 | |
| 21 | 5520-48T-PWR (config)# vlan configcontrol autopvid |
| 22 | We’ll be up linking this switch using a MultiLink trunk on ports 47 and 48 so we’ll enable tagging on the fiber uplinks; |
| 23 | |
| 24 | 5520-48T-PWR (config)# vlan ports 47,48 tagging enable |
| 25 | Let’s create the data VLAN (VID 100) and management VLAN (VID 200) on the switch; |
| 26 | |
| 27 | 5520-48T-PWR (config)# vlan members remove 1 ALL |
| 28 | 5520-48T-PWR (config)# vlan create 200 name "10-1-200-0/24" type port |
| 29 | 5520-48T-PWR (config)# vlan members add 200 47,48 |
| 30 | 5520-48T-PWR (config)# vlan create 100 name "10-1-100-0/24" type port |
| 31 | 5520-48T-PWR (config)# vlan members add 100 1-48 |
| 32 | 5520-48T-PWR (config)# vlan port 1-46 pvid 100 |
| 33 | 5520-48T-PWR (config)# vlan port 47,48 pvid 200 |
| 34 | Let’s make VLAN 200 the management VLAN and assign the IP address; |
| 35 | |
| 36 | 5520-48T-PWR (config)# vlan mgmt 200 |
| 37 | 5520-48T-PWR (config)# ip address switch 10.1.200.10 netmask 255.255.255.0 default-gateway 10.1.200.1 |
| 38 | Let’s setup Simple Network Management Protocol (SNMP); |
| 39 | |
| 40 | 5520-48T-PWR (config)# snmp-server authentication-trap disable |
| 41 | 5520-48T-PWR (config)# snmp-server community ro |
| 42 | 5520-48T-PWR (config)# snmp-server community rw |
| 43 | 5520-48T-PWR (config)# snmp-server host |
| 44 | Let’s configure the logging so it will overwrite the oldest events; |
| 45 | |
| 46 | 5520-48T-PWR (config)# logging volatile overwrite |
| 47 | 5520-48T-PWR (config)# logging enable |
| 48 | Let’s setup Simple Network Time Protocol (SNTP); |
| 49 | |
| 50 | 5520-48T-PWR (config)# sntp server primary address |
| 51 | 5520-48T-PWR (config)# sntp server secondary address |
| 52 | 5520-48T-PWR (config)# sntp enable |
| 53 | Depending on the version of switch software your running you may be able to configure Daylight Saving Time; |
| 54 | |
| 55 | 5520-48T-PWR (config)#clock time-zone EST -5 |
| 56 | 5520-48T-PWR (config)#clock summer-time EDT date 9 Mar 2009 2:00 2 Nov 2009 2:00 +60 |
| 57 | Let’s setup the MultiLink trunk that will connect the switch back to the backbone; |
| 58 | |
| 59 | 5520-48T-PWR (config)# mlt 1 disable |
| 60 | 5520-48T-PWR (config)# mlt 1 name "MLT-8600" |
| 61 | 5520-48T-PWR (config)# mlt 1 learning disable |
| 62 | 5520-48T-PWR (config)# mlt 1 member 47,48 |
| 63 | 5520-48T-PWR (config)# mlt 1 enable |
| 64 | Let’s setup ADAC (Automatic Detection and Automatic Configuration) for our i2002/i2004 phones. We’ll using VLAN 50 as our voice VLAN and we’ll use port 48 as our uplink (the switch will add 47 automatically because of the MLT configuration). There is a new command to clear the ADAC MAC address table that may be missing from earlier versions, “no adac mac-range-table”. I’ve also updated the list of entries that I use. |
| 65 | |
| 66 | 5520-48T-PWR (config)# adac voice-vlan 50 |
| 67 | 5520-48T-PWR (config)# adac op-mode tagged-frames |
| 68 | 5520-48T-PWR (config)# adac uplink-port 48 |
| 69 | 5520-48T-PWR (config)# no adac mac-range-table |
| 70 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:0a:e4:75:00:00 high-end 00:0a:e4:75:ff:ff |
| 71 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:13:65:00:00:00 high-end 00:13:65:ff:ff:ff |
| 72 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:14:c2:00:00:00 high-end 00:14:c2:ff:ff:ff |
| 73 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:16:ca:00:00:00 high-end 00:16:ca:ff:ff:ff |
| 74 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:17:65:00:00:00 high-end 00:17:65:ff:ff:ff |
| 75 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:18:b0:00:00:00 high-end 00:18:b0:ff:ff:ff |
| 76 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:19:69:00:00:00 high-end 00:19:69:ff:ff:ff |
| 77 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:19:e1:00:00:00 high-end 00:19:e1:ff:ff:ff |
| 78 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:1b:ba:00:00:00 high-end 00:1b:ba:ff:ff:ff |
| 79 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:1e:ca:00:00:00 high-end 00:1e:ca:ff:ff:ff |
| 80 | 5520-48T-PWR (config)# adac mac-range-table low-end 00:22:67:00:00:00 high-end 00:22:67:ff:ff:ff |
| 81 | 5520-48T-PWR (config)# adac enable |
| 82 | We need to strip the 802.1q tag from any packets in the PVID VLAN from going to the phone. In this design we’re expecting to connect IP phones to ports 1 – 46. |
| 83 | |
| 84 | 5520-48T-PWR (config)# vlan port 1-46 tagging untagpvidOnly |
| 85 | Let’s configure LLDP for the ports we expect to connect IP phones (1 – 46); |
| 86 | |
| 87 | 5520-48T-PWR (config)# interface fastEthernet 1-46 |
| 88 | 5520-48T-PWR (config-if)# vlan ports 1-46 filter-unregistered-frames disable |
| 89 | 5520-48T-PWR (config-if)# lldp tx-tlv port-desc sys-cap sys-desc sys-name |
| 90 | 5520-48T-PWR (config-if)# lldp status txAndRx config-notification |
| 91 | 5520-48T-PWR (config-if)# lldp tx-tlv med extendedPSE med-capabilities network-policy |
| 92 | 5520-48T-PWR (config-if)# poe poe-priority high |
| 93 | 5520-48T-PWR (config-if)# spanning-tree learning fast |
| 94 | 5520-48T-PWR (config-if)# adac enable |
| 95 | 5520-48T-PWR (config-if)# exit |
| 96 | The option in RED above was added after an issue was discovered when trying to upgrade the firmware on the IP phones. The filter-unregistered-frames is enabled by default and should be disabled to avoid and issues with upgrading the firmware on the IP phones. We are attempting to investigate further with Nortel and our voice vendor Shared Technologies. |
| 97 | |
| 98 | Let’s disable the two remaining ports that share the GBIC interfaces incase we need those in the future; |
| 99 | |
| 100 | 5520-48T-PWR (config)# interface fastEthernet 45-46 |
| 101 | 5520-48T-PWR (config-if)# shutdown |
| 102 | 5520-48T-PWR (config-if)# exit |
| 103 | Let’s setup a QoS interface group to trust all traffic that will ingress on the fiber uplinks. By default the ERS 5520 switch will strip all QoS tags on all ports. Thankfully ADAC will take care of the QoS settings for all VoIP traffic. |
| 104 | |
| 105 | 5520-48T-PWR (config)# qos if-group name allUpLinks class trusted |
| 106 | 5520-48T-PWR (config)# interface fastEthernet 47,48 |
| 107 | 5520-48T-PWR (config)# qos if-assign port 47,48 name allUpLinks |
| 108 | 5520-48T-PWR (config)# exit |
| 109 | Let’s set the SNMP information; |
| 110 | |
| 111 | 5520-48T-PWR (config)# snmp-server name "sw-icr1-1east.sub.domain.org" |
| 112 | 5520-48T-PWR (config)# snmp-server location "Acme Internet Phone Company (ICR1)" |
| 113 | 5520-48T-PWR (config)# snmp-server contact "Network Infrastructure Team" |
| 114 | Let’s enable rate limiting for all broadcast and multicast traffic to 10% of the link; |
| 115 | |
| 116 | 5520-48T-PWR (config)# interface fastEthernet ALL |
| 117 | 5520-48T-PWR (config-if)# rate-limit both 5 |
| 118 | 5520-48T-PWR (config-if)# exit |
| 119 | Let’s setup VLACP (Virtual Link Aggregation Protocol) on the uplinks to the core; |
| 120 | |
| 121 | 5520-48T-PWR (config)# interface fastEthernet 47,48 |
| 122 | 5520-48T-PWR (config-if)# vlacp port 47,48 timeout short |
| 123 | 5520-48T-PWR (config-if)# vlacp port 47,48 timeout-scale 5 |
| 124 | 5520-48T-PWR (config-if)# vlacp port 47,48 enable |
| 125 | 5520-48T-PWR (config-if)# exit |
| 126 | 5520-48T-PWR (config)# vlacp enable |
| 127 | That’s it your done! Well hopefully your done. |
| 128 | }}} |
| 129 | |