Difference between revisions of "3-tier design/routerIPs"
From Teknologisk videncenter
m (Created page with "{{Source cli}}") |
m |
||
| Line 1: | Line 1: | ||
| + | <source lang=cli> | ||
| + | HQFW01(config)#<input>interface fa 0/0</input> | ||
| + | HQFW01(config-if)#<input>no shutdown</input> | ||
| + | |||
| + | HQFW01(config-if)# | ||
| + | <notice>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up</notice> | ||
| + | |||
| + | HQFW01(config-if)#<input>ip add</input> | ||
| + | HQFW01(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input> | ||
| + | HQFW01(config-if)#<input>end</input> | ||
| + | HQFW01# | ||
| + | %SYS-5-CONFIG_I: Configured from console by console | ||
| + | |||
| + | HQFW01#<input>show ip int brie</input> | ||
| + | Interface IP-Address OK? Method Status Protocol | ||
| + | |||
| + | <notice>FastEthernet0/0 10.0.0.1 YES manual up</notice> down | ||
| + | |||
| + | FastEthernet0/1 unassigned YES unset administratively down down | ||
| + | |||
| + | Vlan1 unassigned YES unset administratively down down | ||
| + | HQFW01# | ||
| + | </source> | ||
| + | |||
{{Source cli}} | {{Source cli}} | ||
Revision as of 08:09, 12 November 2014
HQFW01(config)#<input>interface fa 0/0</input>
HQFW01(config-if)#<input>no shutdown</input>
HQFW01(config-if)#
<notice>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up</notice>
HQFW01(config-if)#<input>ip add</input>
HQFW01(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input>
HQFW01(config-if)#<input>end</input>
HQFW01#
%SYS-5-CONFIG_I: Configured from console by console
HQFW01#<input>show ip int brie</input>
Interface IP-Address OK? Method Status Protocol
<notice>FastEthernet0/0 10.0.0.1 YES manual up</notice> down
FastEthernet0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
HQFW01#