Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco Switching Black Book - Sean Odom, Hanson Nottingham.pdf
Скачиваний:
87
Добавлен:
24.05.2014
Размер:
2.89 Mб
Скачать

10.We now want to bind the IP address of our SNMP management station to the trap community string. To do this, enter the new community string, and select [1]. Then select [A] to enter the IP address. The following will appear on your screen:

Enter Trap Manager community string (32 characters max):

Current setting ===>

New setting ===> Techtraps

Catalyst 1900 − Network Management (SNMP) TRAP Configuration

——————————————————————— Settings ——————————————————

[1] First TRAP community string

Techtraps

[A] First TRAP manager name or IP address

 

[2] Second TRAP community string

 

[B] Second TRAP manager name or IP address

 

[3] Third TRAP community string

 

[C] Third TRAP manager name or IP address

 

[4] Fourth TRAP community string

 

[D] Fourth TRAP manager name or IP address

 

[U] Authentication trap generation

Enabled

[L] LinkUp/LinkDown trap generation

Enabled

[X] Exit to previous menu

 

Enter Selection: A

 

SNMP Trap Manager is the management station to which the switch will send any SNMP traps (alerts). The types of traps the switch can send are authentication traps, linkUp/linkDown traps, among others. From the Management Console, up to 4 Trap management stations can be defined.

If no trap managers are defined, the switch will not send any traps.

Enter First Trap Manager server name or IP address:

Current setting ===>

New setting ===> 63.78.39.84

11.Notice that that IP address is the previously configured SNMP management station. Once this has been completed, you have successfully enabled SNMP on a Catalyst 1900 switch.

Related solution:

Found on page:

Enabling SNMP Contact

58

Configuring Port Monitoring on the Standard Edition IOS

To configure port monitoring, start from the Main Menu and do the following:

1.Select option [M] to begin to configure port monitoring.

2.To capture information you will need to add ports to monitor. In the following example, we will select all ports and enable capturing:

Catalyst 1900 − Monitoring Configuration

——————————— Settings ——————————————————————————————————

[C]

Capturing frames to the Monitor

Disabled

[M]

Monitor port assignment

None

Current capture list: No ports in list

 

303

——————————— Actions ———————————————————————————————————

[A] Add ports to capture list

[D]Delete ports from capture list

[X]Exit to Main Menu

Enter Selection: A

This command adds ports to the capture list. Actual monitoring takes place only if all of the following information has been properly configured: 1) the capturing status, 2) the identity of a port to which monitored frames are sent, and 3) a non−empty capture list.

Port numbers should be separated by commas or spaces. A port number range may also be sp

Enter port numbers: ALL

This command enables or disables the monitoring (capturing) of frames from ports that ha 1) the capturing status, 2) the identity of a port to which monitored frames are sent, a

Capturing frames to the Monitor may be [E]nabled or [D]isabled:

Current setting ===> Disabled

New setting ===> Enabled

3.At this point, we want to send the captured information to a specific port. To do so, select [A]. In this example, we have selected trunk port B:

Identify Port: 1 to 12[1−12], [AUI], [A], [B], or [N]one:

Select [1 − 12, AUI, A, B, N]: A

Current setting ===> None

New setting ===> B

4.Now you want to select option [C] and enable “Capturing frames to monitor” to successfully complete the Port Monitoring configuration.

Configuring VLANs on the Standard Edition IOS

To configure VLANs on the Standard Edition IOS, do the following, starting at the Main Menu:

1. Select option [V] to open the Virtual LAN Configuration menu:

Catalyst 1900 − Virtual LAN Configuration

—————————————————————— Information ————————————————————————————————————————————

VTP version: 1 Configuration revision: 0

Maximum VLANs supported locally: 1005 Number of existing VLANs: 5

Configuration last modified by: 63.78.39.164 at 00−00−0000 00:00:00

—————————————————————— Settings ———————————————————————————————————————————————

[N] Domain name

VTPDomain1

[V] VTP mode control

Server

[F]

VTP pruning mode

Enabled

[O]

VTP traps

Enabled

—————————————————————— Actions ————————————————————————————————————————————————

[L] List

VLANs

[A] Add VLAN

[M] Modify VLAN

[D] Delete VLAN

[E]

VLAN

Membership

[S] VLAN Membership Servers

[T]

Trunk Configuration

[W] VTP password

304

[P] VTP Statistics

[X] Exit to Main Menu

2.Select [V], and accept the default setting of Server. Because the change we want to make is to add a server, we will take the defaults:

VTP mode may be set to [C]lient, [S]erver or [T]ransparent:

Current setting ===> Server

New setting ===> Server

3. Select [A] to add an Ethernet VLAN to the switch. You’ll see the following:

The following VLAN types can be added:

[1]Ethernet, [2]FDDI, [3]Token−Ring, [4]FDDI−Net, or [5]Token−Ring−Net

Select a VLAN type [1−5]: 1

4.Now we need to specify a name for the newly created VLAN. To change the name to “Techs” we need to select option [V], as shown in the following output:

Enter Selection: V

This command selects the unique name of a VLAN.

Configuration change only takes effect when the VLAN SAVE command is executed.

A string of up to 32 characters may be specified to name a VLAN. Example: Engineering, Manufacturing, Blue

Enter VLAN name (32 characters max):

Current setting ===> VLAN0002

New setting ===> Techs

5.Now you need to save the VLAN configuration. To do so, select option [S]. Save and exit.

6.To view information about your newly created VLAN, from the Virtual LAN Configuration menu, choose [M].

7.Next, select the VLAN you want information on. In this case, it’s VLAN 2. Enter “2” and you should see the following:

Catalyst 1900 − Modify Ethernet VLAN

—————————————————————— Information ————————————————————————————————————————

Current member ports: Type: Ethernet

VLAN Number: 2

—————————————————————— Settings ———————————————————————————————————————————

[V] VLAN Name

Techs

[I] 802.10 SAID

100002

[M] MTU Size

1500

[L] Translational Bridge 1

0

[J] Translational Bridge 2

0

[T] VLAN State

Enabled

—————————————————————— Related Menus ———————————————————————————————————————————

[S]

Save and Exit

[X]

Cancel

and

Exit

[N]

Cancel and goto Next VLAN

[G]

Cancel

and

goto VLAN

[P]Cancel and goto Previous VLAN

8.To exit from this screen, select option [X].

9.To configure your trunk ports (Ax and/or Bx) to pass the VLAN information to neighboring switches, you must enable at least one of the trunk ports. From the Virtual LAN Configuration menu select option [T].

10.Now you need to enter a trunk port. We will be configuring port A:

Select a trunk port [A, B] : A

305

11.You should now see the Trunk A Configuration menu The next step is to enable trunking. To do so, select [T] from the menu, as shown here:

Catalyst 1900 − Trunk A Configuration Menu

Trunking status: Off

Encapsulation type: Unknown

——————————————————————

Information ———————————————————————————————————————————

Transmit

Flood traffic to VLANs

N/A

Receive Flood traffic

from VLANs

N/A

Allowed VLANs

 

 

 

1−1005

Pruning Eligible VLANs

 

 

2−1001

——————————————————————

Settings ———————————————————————————————————————————

[T] Trunking

 

 

 

Off

——————————————————————

Actions ———————————————————————————————————————————

[S] List

VLANs that Transmit Flood traffic

[R] List

VLANs that Receive Flood traffic

[V] List

Allowed VLANs

 

 

 

[F] List

Pruning Eligible VLANs

 

[A] Add Allowed VLAN(s)

[E] Add Pruning Eligible VLAN(s)

[D] Delete Allowed VLAN(s)

[C] Delete Pruning Eligible VLAN(s)

[N] Next

Trunk

[P]

Previous Trunk

[X] Exit to Vlan Menu

Enter Selection: T

This command configures the state of this trunk.

[1]on − dictates that the port will always be a trunk.

[2]off − allows an operator to specify that the specified port is never to be trunk, regardless of any dynamic mechanisms to the contrary.

[3]desirable is used to indicate that it is desirable for the

port to become a trunk. The device will initiate any negotiation

necessary to become a trunk but will not become a trunk unless it receives confirmati

[4]auto − is used to indicate that the port is capable and willing to become a trunk but will not initiate trunking negotiations.

Other participants on the link are required to either start negotiations or start sen

[5]no−negotiate − dictates that the port will always be a trunk,

like the on(1) state. However, The port will neither generate DISL frames nor process received DISL frames.

Trunking control state may be [1]On, [2]Off, [3] Desirable, [4]Auto, [5]No−negotiate:

Current setting ===> Off

New setting ===> On

12.Now you want to pass the information through the specified trunk. You need to grant access to the VLANs so they know which trunk to send their information through. We are allowing the default VLAN (the management VLAN) and the newly created VLAN 2. To do so, select A from the Trunk A Configuration menu and enter “1−2”:

This command adds one or more VLANs to the allowed VLAN list for this trunk.

VLAN numbers should be separated by commas or spaces. A VLAN number range may also be specified Example: 1, 2, 10−20

Enter VLAN numbers [1−1005] : 1−2

That’s it. You completed the configuration.

Related solutions:

Found on page:

Configuring a Static VLAN on a Catalyst 5000 Series

154

Switch

 

Configuring Multiple VLANs on a Catalyst 5000

154

Series Switch

 

Creating VLANs on a Catalyst 1900EN Series

155

306

Соседние файлы в предмете Программирование