Professional Documents
Culture Documents
WELCOME TO
BDCOM
Chapter 1
Chapter 2
Chapter 3
2005, BDCOM
Professional Network
Technology
Agenda
Chapter 1
2005, BDCOM
BDCOM Overview
Company name
Shanghai Baud Data Communication Co. Ltd.
Headquarters
Zhangjiang Hi-Tech Park, Pudong, Shanghai
Established June, 1994
Registered capital RMB 50 million (US $6m)
Employees 600
2005, BDCOM
Organisation Chart
Directorate
President
R&D
Manufacturing
2005, BDCOM
Marketing
Services
Administration
Human Resource
Manufacturing
15%
Administration
9%
2005, BDCOM
R&D
41%
Main Customers
2005, BDCOM
Products Lines
BDCOM router series
BDCOM switch series
BDCOM VoIP product series
BDCOM access product series
BDCOM Security firewall series
BDCOM EMS s/w series
2005, BDCOM
Business Relationships
Forms of cooperation
OEM / ODM
Distributorship
Technical cooperation
More than 300 domestic SI agencies are using BDCOM products
in their IT Projects
BDCOM brand name ranked among top 3 domestic middle/lowend router manufacturers.
Products sold to Europe, America, India, SE Asia, Middle East,
etc.
2005, BDCOM
Agenda
Chapter 2
2005, BDCOM
POP
Internet
VRRP
NMC
BAS
S5308
S6508
S6508
DNS
Server
Mail Server
S3224
Distribution
s2524
S2008 Access S2008
2005, BDCOM
100-M
link
S3224
Distribution
S2116 Access
Giga
link
Distribution
s2524
S2226
S2116
Reliability by VRRP
L3 load balancing and
router redundancy
Single IP/MAC address
for outside access
2005, BDCOM
2005, BDCOM
Campus: Characteristics
Student apartments require many access points
(switches) over a large area
Access switches need to support 802.1x
accounting/authentication
Must provide gateway to both CERNET and Internet
Must provide tight security through logical
separation of office and apartment networks
Large-scale, wide-spread, 3-layer networks with
redundant core devices
IPv6 test site as required by the Dept. of Education
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
BDCOM BroadDirector
manages all SNMP-enabled
devices
Monitors in real time the
status and topological
structure of networks
Node coloring shows
changes in network/device
status
2005, BDCOM
BDCOM S2524
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
Agenda
Chapter 3
2005, BDCOM
BDCOM
Switch Training
2005, BDCOM
2005, BDCOM
28
Overview
Transmitting Frames
MAC Address Table
Broadcast and Multicast frame
2005, BDCOM
Address learning
Forward/filter decision
Loop avoidance
2005, BDCOM
Transmitting Frames
Cut-Through
Switch checks destination
address and immediately
begins forwarding frame.
Fragment-Free
Switch checks the first 64 bytes,
then immediately
begins forwarding frame.
2005, BDCOM
2005, BDCOM
Learning Addresses
Filtering Frames
2005, BDCOM
38
Redundant Topology
Content
1.
2.
3.
4.
5.
2005, BDCOM
Redundant Topology
Broadcast Storms
Spanning-Tree Protocol
Overview
2005, BDCOM
44
Spanning-Tree Protocol
2005, BDCOM
Spanning-Tree Operation
One root bridge per network
One root port per nonroot bridge
One designated port per segment
Nondesignated ports are unused
2005, BDCOM
Spanning-Tree Protocol
Root Bridge Selection
2005, BDCOM
2005, BDCOM
2005, BDCOM
Spanning-Tree Example
2005, BDCOM
2005, BDCOM
52
OAM Overview
Ethernet OAM protocol for monitoring and
troubleshooting Metro Ethernet Networks which can
implement on any full-duplex point-to-point
2005, BDCOM
OAM Features
Discovery Identified the devices in the networks
Link Monitoring Detects and Indicates link fault
Remote Failure Indicates a loss of signal ( Link Fault )
and a loss of power ( Dying Gasp )
2005, BDCOM
2005, BDCOM
55
VLAN Operation
Content
1. Segmentation
2. VLAN Overview
3. 802.1Q VLAN Trunk
2005, BDCOM
2005, BDCOM
VLAN Overview
Segmentation
Flexibility
Security
VLAN Operation
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
64
BDCOM Switch
Content
1. Connect via Console use Hyper Terminal
2. Overview Switch mode.
3. Default Configuration
4. Configuration IP address, Gateway, Security
Command
5. Upgrade IOS via TFTP
2005, BDCOM
Console CLI
Console port
DB9 pin to
COM port
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
Port Names on
BDCOM S2524 Switches
Switch#sh run
Building configuration...
Current configuration:
!
version 2.0.1K
service timestamps log date
service timestamps debug date
!
!
spanning-tree mode rstp
!
!
interface GigaEthernet0/1
!
interface GigaEthernet0/2
!
interface GigaEthernet0/3
!
2005, BDCOM
Configuring the
Switch IP Address
BDCOM S2524
1. Setup interface VLAN-id
2. Setup ip address
3. Assign vlan-id at interface
Switch#conf
Switch_config#interface vlan 10
Switch_config_v10#ip address 192.168.1.1 255.255.255.0
Switch_config_v10#exit
Switch_config#int g0/1
Switch_config_g0/1#switchport pvid 10
Switch_config_g0/1#exit
Switch_config#exit
Switch#
2005, BDCOM
2005, BDCOM
2005, BDCOM
Configuring the
Switch Security Command
Configure username & password, enable password for console
and Telnet.
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
Basic Command
Basic Command
1.
2.
3.
4.
5.
2005, BDCOM
Description
Add description at port.
CAT-PATTAYA_config_g0/1#
CAT-PATTAYA_config_g0/1#description connect_DSLAM
CAT-PATTAYA_config_g0/1#
2005, BDCOM
Duplex Overview
Half Duplex (CSMA/CD)
Unidirectional data flow
Higher potential for collision
Hubs connectivity
Full Duplex
Point-to-point only
Attached to dedicated switched port
Requires full-duplex support on both ends
Collision-free
Collision detect circuit disabled
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
Ports
----g0/1
g0/2
g0/2
g0/2
g0/2
g0/2
g0/2
g0/1
g0/1
g0/1
g0/2
11
Saving Configurations
switch#
Switch#wr
Saving current configuration...
OK!
Switch#
2005, BDCOM
Clearing NVRAM
Switch#delete
this file will be erased,are you sure?(y/n)y
Switch#
2005, BDCOM
Advance Configure
2005, BDCOM
94
Advance Configure
Advance Configure
1.
2.
3.
4.
5.
2005, BDCOM
Advance Configure
Advance Confiugre
6. SNMP Configuration
7. LLDP Configuration
8. Port Aggregation Configure
9. 802.3ah Configure
10. Password Recovery
2005, BDCOM
Switch#conf
Switch_config#int g0/1
Switch_config_g0/1#switchport port-security mode static
accept -- Accept mode
reject -- Reject mode
2005, BDCOM
interface GigaEthernet0/4
switchport port-security static mac-address 0022.b061.917d
switchport port-security mode static reject
2005, BDCOM
2005, BDCOM
Adding a VLAN
BDCOM S2524
Switch#config
Switch_config_#vlan 9
Switch_config_vlan9#name vlan9
2005, BDCOM
Example
Switch#conf
Switch_config#int g 0/1
Switch_config_g0/1#switchport pvid 9
2005, BDCOM
Verifying a VLAN
The show vlan command
Switch_config#show vlan
VLAN Status Name
Ports
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
2005, BDCOM
Configuration
Spanning Tree Protocol
Switch_config#spanning-tree mode ?
sstp -- Setup spanning-tree protocol sstp mode
rstp -- Setup rapid spanning-tree protocol mode
Example
Switch#conf
Switch_config#spanning-tree mode rstp
Switch_config#spanning-tree rstp priority 32768
2005, BDCOM
Bridge ID
Intf
Name
------G0/1
G0/2
G0/22
G0/24
Priority
Address
Cost
Hello/MaxAge/FwdDly
0
00E0.0F8B.4487
200019
4/20/15 (s)
Priority
Address
Hello/MaxAge/FwdDly
32768
00E0.0F92.36C8
4/20/15 (s)
Port ID
Pri.Nbr
------128.1
128.2
128.22
128.24
2005, BDCOM
Designated
Role Sts Cost
Bridge ID
---- --- --------- -------------------Desg FWD 200000
32768 00E0.0F92.36C8
Root FWD 200000
32768 00E0.0F2C.315B
Desg FWD 200000
32768 00E0.0F92.36C8
Desg FWD 200000
32768 00E0.0F92.36C8
Port ID
Pri.Nbr
------128.1
128.8
128.22
128.24
Cost
-------200019
19
200019
200019
CAR Configure
CAR Commit Access Rate
Limit bandwidth of switch port.
Switch#conf
Switch#int g0/1
Switch_config_g0/1#switchport rate-limit ?
<1-31>
-- Configure Bandwidth(unit:128kbps)
2005, BDCOM
CAR Configure
Example
Limit bandwidth 128Kbps
Switch#conf
Switch#int g0/1
Switch_config_g0/1#switchport rate-limit 1 ingress
Switch_config_g0/1#switchport rate-limit 1 egress
2005, BDCOM
MTU Configure
MTU Maximum Transfer Unit
Configure MTU more than 1500 bytes
Switch#conf
Switch_config#system mtu ?
<1500-12270> MTU size in bytes
2005, BDCOM
MTU Configure
MTU Configure
Configure MTU 1530 bytes
Switch#conf
Switch_config#system mtu 1530
Switch_config#
2005, BDCOM
SNMP Configure
SNMP Simple Network Management Protocol
Configure SNMP community for use with SNMP software
such as BroadDirector.
Switch#conf
Switch_config#snmp-server community ?
WORD
-- SNMP community string
2005, BDCOM
SNMP Configure
SNMP Simple Network Management Protocol
Configure SNMP community public and private
Switch#conf
Switch_config#snmp-server community public rw
Switch_config#snmp-server community public ro
2005, BDCOM
LLDP Configure
LLDP Link Layer Discover Protocol
Update information between switch.
Switch#conf
Switch_config#lldp ?
holdtime
-- Specify the holdtime (in sec) to be sent in packets
reinit
-- Delay (in sec) for LLDP initialization on any interface
run
-- Enable PTOPO discovery protocol to run
timer
-- Specify the interval at which packets are sent
tlv-select -- Selection of LLDP TLVs to send
2005, BDCOM
LLDP Configure
Local-Intf
Giga0/4
2005, BDCOM
Hldtme
141
Port-ID
Giga0/8
Platform
Capability
BDCOM S2524, RISC S
LLDP Configure
Show lldp neighbors detail
Switch#sh lldp neighbor detail
Device ID: Switch
Entry address(es): IP address: 192.168.2.51
Platform: BDCOM S2524, RISC processor, Capabilities: Switch
Interface: GigaEthernet0/4, Port ID(outgoing port): GigaEthernet0/8
Holdtime : 142 sec
Version :
BDCOM(tm) S2524 Software, Version 2.0.1L
Serial: S24001986, System Address: 00E00F2C315B
Copyright by Shanghai Baud Data Communication CO. LTD.
Compiled: 2006-3-6 14:7:40 by TAN-WORK
advertisement version:2
Native VLAN: 1
Duplex: full(01)
2005, BDCOM
Switch#conf
Switch_config#int port-aggregator ?
<1-12>
-- Port-aggregator interface number
Switch_config#int g0/1
Switch_config_g0/1#aggregator-group ?
<1-12>
-- aggregator group number
2005, BDCOM
2005, BDCOM
802.3ah Configure
1. Discovery
2005, BDCOM
802.3ah Configure
2. Link- Monitor
2005, BDCOM
802.3ah Configure
3. Remote - Failure
2005, BDCOM
Password Recovery
Password Recovery
Go to monitor mode for check your username & password.
Reboot and pressing ctrl-p make switches go to monitor mode
System Bootstrap, Version 0.2.5, Serial No:S27060621
Copyright (c) 1994-2005 by Shanghai Baud Data Communication Co., Ltd.
BDCOM-S2524B RISC processor
Current time: 1970-1-1 0:00:00
SDRAM Fast Test...............................PASS!
Flash Fast Test...............................PASS!
RTC Test......................................PASS!
Switch Internal Loopback Test.................PASS!
Welcome to
monitor#
2005, BDCOM
S2524B
Ethernet Switch
Password Recovery
monitor#show configuration
version 2.0.1N
service timestamps log date
service timestamps debug date
!
!
spanning-tree mode rstp
!
!
!
aaa authentication login default local
aaa authentication enable default enable
!
username admin password 0 admin
enable password 0 admin level 15
2005, BDCOM
Password Recovery
monitor#show configuration
version 2.0.1N
service timestamps log date
service timestamps debug date
!
!
spanning-tree mode rstp
!
!
!
aaa authentication login default local
aaa authentication enable default enable
!
username admin password 7 101b433d384f
enable password 7 101B433D384F level 15
2005, BDCOM
Password Recovery
2005, BDCOM
Password Recovery
2005, BDCOM
Password Recovery
show configuration.
2005, BDCOM
Password Recovery
2005, BDCOM
Password Recovery
2005, BDCOM
2005, BDCOM