default コマンド

2008年5月21日 CCIE
sw1#sh running-config interface fastEthernet 0/2
Building configuration...

Current configuration : 275 bytes
!
interface FastEthernet0/2
switchport access vlan 666
switchport mode access
switchport port-security
switchport port-security aging time 15
switchport port-security aging type inactivity
macro description Access
dot1x port-control auto
spanning-tree portfast
end

sw1#
Interface FastEthernet0/2 set to default configuration
05:06:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/2, changed state to down
sw1(config)#default interface fastEthernet 0/2
Interface FastEthernet0/2 set to default configuration
05:06:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
sw1(config)#do
05:06:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upshow run int fast 0/2
Building configuration...

Current configuration : 68 bytes
!
interface FastEthernet0/2
switchport mode dynamic desirable
end

sw1(config)#


便利かも。

sw1(config)#default interface range fastEthernet 0/1 - 24  
なんてのも出来る。

コメント

最新の日記 一覧

<<  2025年6月  >>
1234567
891011121314
15161718192021
22232425262728
293012345

お気に入り日記の更新

この日記について

日記内を検索