BC10 (***.***.***.***) | |
SNMP Information System:******* Uptime: ***** Hostname: *****-******-bc10 Location: ****** Contact:******* |
BC8 (***.***.***.***) SNMP Information SNMP error | |
BC10 (***.***.***.***) | |
SNMP Information System:******* Uptime: ***** Hostname: *****-******-bc10 Location: ****** Contact:******* |
BC8 (***.***.***.***) SNMP Information SNMP error | |
. Use “show” command to address which slot you want to disable/enable(in this case, we use slot 1 as example) slot 1;
> show
Shelf 1 ( standalone ):
Reqd Oper Slot Type
{ shelf-1 slot-1 0 } UP UP 8e1-card
{ shelf-1 slot-2 0 } UP UP 8e1-card
{ shelf-1 slot-3 0 } UP UP 8e1-card
{ shelf-1 slot-4 0 } UP UP ether3nd-card
{ shelf-1 slot-5 0 } UP UP madd2-card
……..
2. Get into the corresponding slot-admin profile
> dir slot-admin
15 09/09/2009 08:44:48 { shelf-1 slot-1 0 }
15 09/09/2009 08:44:48 { shelf-1 slot-2 0 }
15 09/09/2009 08:44:48 { shelf-1 slot-3 0 }
15 09/09/2009 08:44:48 { shelf-1 slot-4 0 }
……..
> read slot-admin {1 1 0}
SLOT-ADMIN/{ shelf-1 slot-1 0 } read
> list
[in SLOT-ADMIN/{ shelf-1 slot-1 0 }]
slot-address* = { shelf-1 slot-1 0 }
reqd-state = reqd-state-up
3. Change the state as you want:
> set reqd-stat ?
reqd-state:
The required operational state of the slot. Changing this value initiates a state change. The change is complete when the current state changes to match the reqd-state. this value is initialized from the administrative state of the slot at system startup.
Enumerated field, values:
reqd-state-down: The addressed device is required to be in the down, non-operational state.
reqd-state-up: The addressed device is required to be in a normal operating state.
reqd-state-maint: The addressed device is required to be in a non-operational maintenance state.
> set reqd-stat =reqd-state-down
> write
4. Use “show” to double-confirm whether the change is activated:
> show
Shelf 1 ( standalone ):
Reqd Oper Slot Type
{ shelf-1 slot-1 0 } DOWN RESET 8e1-card
{ shelf-1 slot-2 0 } UP UP 8e1-card
{ shelf-1 slot-3 0 } UP UP 8e1-card
{ shelf-1 slot-4 0 } UP UP ether3nd-card
{ shelf-1 slot-5 0 } UP UP madd2-card
labapx>show
Controller { right-controller } ( PRIMARY ):
Reqd Oper Slot Type
{ left-controller } UP UP ( SECONDARY )
{ shelf-1 slot-11 0 } UP UP 8e1-card
{ shelf-1 slot-12 0 } UP UP 8e1-card
{ shelf-1 slot-13 0 } UP UP 8e1-card
{ shelf-1 slot-14 0 } DOWN RESET madd2-card
{ shelf-1 slot-15 0 } UP UP madd2-card
{ shelf-1 slot-16 0 } UP UP madd2-card
{ shelf-1 slot-17 0 } UP UP madd2-card
{ shelf-1 slot-18 0 } UP UP madd2-card
{ shelf-1 slot-20 0 } UP UP ether3nd-card
{ shelf-1 slot-40 0 } UP UP ether3nd-card
cwam-t-006>open 20
Step 2, Find out the logic interface number for the physical ports
ether3nd-1/20> ifmgr -d
if slot:if u p ifname mac addr local-addr
----------------------------------------------------------------
000 0:00:000 * pb0 00:00:00:00:00:00 0.0.0.0/32
002 1:42:587 * ie1-20-2 00:d0:52:04:70:b1 203.22.111.20/25
003 1:42:588 * ie1-20-3 00:d0:52:04:70:b2 0.0.0.0/0
004 1:42:589 * ie1-20-4 00:d0:52:04:70:b3 192.168.201.8/24
009 1:20:009 * lo0 00:00:00:00:00:00 127.0.0.1/32
010 1:20:000 * rj0 00:00:00:00:00:00 127.0.0.2/32
011 1:20:000 * bh0 00:00:00:00:00:00 127.0.0.3/32
012 0:00:000 * local 00:00:00:00:00:00 127.0.0.1/32
Step 3, Check the stastics
ether3nd-1/20> ifstat 2
Octets Unicast Multicast Broadcast Discards Errors UnkProto
IF 2 : ie1-20-2
In: 5040460 82642 0 0 655 0 8
Out: 0 0 0 0 0 0