58
Catalyst 6000 Family Network Analysis Module Installation and Configuration Note
78-10406-05
Administering the NAM
Configuration Commands
The following commands are all performed in either global configuration mode or the interface
configuration mode:
•
Global Configuration Mode, page 58
•
Interface Configuration Mode, page 58
Global Configuration Mode
The following commands are all performed in global configuration mode:
Interface Configuration Mode
The following commands are configuration commands performed in interface configuration mode:
show interface trunk module slot_number
Displays current trunk settings for the interfaces.
clock set time date
Sets the current time and date.
clock update-calendar
Updates the calendar time to the clock time.
clock read-calendar
Updates clock time to the calendar time.
Command
Description
Command
Description
power enable module
slot_number
Turns the power on for the NAM if it is not already on.
no power enable module
slot_number
Shuts down the NAM and removes power.
clock timezone
zone
offset
Sets the timezone for the switch or NAM.
clock summer-time
zone
recurring
Sets the switch to use summertime settings.
clock calendar valid
Sets the current calendar time as the switch time on startup.
interface GigabitEthernet
slot number
/
port number
Begins configuration for each NAM port.
monitor session session {source {interface
interface
interface-number
| {
vlan
vlan-id
}} [ , | - |
rx
|
tx
|
both
]
Sets the sources for a SPAN session.
monitor session session {destination {interface
interface
interface-number
} [ , | -] {
vlan
vlan-id
}}
Sets the destination for a SPAN session.
Command
Description
switchport
Sets interface as a switchport.
switchport trunk encapsulation dot1q
Sets dot1q as the encapsulation type.
switchport trunk native vlan
vlan
Sets native VLAN for the trunk port.
switchport trunk allowed vlan
vlans
Sets allowed VLANs for a trunk.
switchport mode trunk
Sets the interface as a trunk port.
switchport capture
Sets the interface as a capture port.
switchport access vlan
vlan
Sets the access VLAN for the interface.
switchport mode access
Sets the interface as an access port.